LCFIVertex  0.7.2
Public Member Functions | List of all members
vertex_lcfi::TwoTrackPid Class Reference

Simple two track PID for gamma and Ks. More...

#include <twotrackpid.h>

Inheritance diagram for vertex_lcfi::TwoTrackPid:
Inheritance graph
[legend]
Collaboration diagram for vertex_lcfi::TwoTrackPid:
Collaboration graph
[legend]

Public Member Functions

string name () const
 Name. More...
 
std::vector< string > parameterNames () const
 Parameter Names. More...
 
std::vector< string > parameterValues () const
 Parameter Values. More...
 
void setStringParameter (const string &Parameter, const string &Value)
 Set String Parameter. More...
 
void setDoubleParameter (const string &Parameter, const double Value)
 Set Double Parameter. More...
 
void setPointerParameter (const string &Parameter, void *Value)
 Set Pointer Parameter. More...
 
std::map< PidCutType,
std::vector< Track * > > 
calculateFor (Jet *MyJet) const
 Run the algorithm on a Jet. More...
 
string name () const
 Name. More...
 
std::vector< string > parameterNames () const
 Parameter Names. More...
 
std::vector< string > parameterValues () const
 Parameter Values. More...
 
void setStringParameter (const string &Parameter, const string &Value)
 Set String Parameter. More...
 
void setDoubleParameter (const string &Parameter, const double Value)
 Set Double Parameter. More...
 
void setPointerParameter (const string &Parameter, void *Value)
 Set Pointer Parameter. More...
 
std::map< PidCutType,
std::vector< Track * > > 
calculateFor (Jet *MyJet) const
 Run the algorithm on a Jet. More...
 

Additional Inherited Members

- Public Types inherited from vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >
typedef std::map< PidCutType,
std::vector
< vertex_lcfi::Track * > > 
OutType
 
typedef std::map< PidCutType,
std::vector
< vertex_lcfi::Track * > > 
OutType
 
typedef JetInType
 
typedef JetInType
 
- Protected Member Functions inherited from vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >
void badParameter (std::string Parameter)
 
void badParameter (std::string Parameter)
 

Detailed Description

Simple two track PID for gamma and Ks.

This algorithm calulates the mass of all combinations of Track pairs with opposite charges. If the tracks mass is consistent with the processes gamma ->ee or Ks -> pi+pi- the tracks are flagged and a pointer is inserted into the map under the correct key (either gamma or Ks) The parameters of this algorithm are:

Parameters
MaxGammaMassupper limit on the photon mass
MinKsMasslower limit on the Ks mass
MaxKsMassupper limit on the Ks mass
Chi2Cutcut on the Chi squared for the two tracks beinig in the same vertex.
RPhiCutcut on the maximum RPhi of the vertex that the tracks form.
SignificanceCutcut on the minimum rphi significance of the tracks with respect to the IP.
Author
Erik Devetak (e.dev.nosp@m.etak.nosp@m.1@phy.nosp@m.sics.nosp@m..ox.a.nosp@m.c.uk)

Definition at line 37 of file include/vertex_lcfi/algo/inc/twotrackpid.h.

Member Function Documentation

std::map< PidCutType, std::vector< Track * > > vertex_lcfi::TwoTrackPid::calculateFor ( Jet MyJet) const
virtual

Run the algorithm on a Jet.

Calculates whether two tracks are consistent with the hypothesis of gamma-> ee or with the hypothesis gamma->pi pi . In case the tracks are consisten with either of these hypothesis the algorithm puts a pointer to these tracks into the correct key of the resulting map.

Parameters
JetPointer to Jet to be analysed
Returns
map containing two keys Gamma and Ks which hold the tracks that satisfy these criteria.

Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.

Definition at line 103 of file twotrackpid.cpp.

References vertex_lcfi::Jet::tracks().

std::map<PidCutType, std::vector<Track*> > vertex_lcfi::TwoTrackPid::calculateFor ( Jet MyJet) const
virtual

Run the algorithm on a Jet.

Calculates whether two tracks are consistent with the hypothesis of gamma-> ee or with the hypothesis gamma->pi pi . In case the tracks are consisten with either of these hypothesis the algorithm puts a pointer to these tracks into the correct key of the resulting map.

Parameters
JetPointer to Jet to be analysed
Returns
map containing two keys Gamma and Ks which hold the tracks that satisfy these criteria.

Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.

string vertex_lcfi::TwoTrackPid::name ( ) const
virtual

Name.

String name of the algorithm

Returns
String name

Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.

string vertex_lcfi::TwoTrackPid::name ( ) const
virtual

Name.

String name of the algorithm

Returns
String name

Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.

Definition at line 36 of file twotrackpid.cpp.

std::vector< string > vertex_lcfi::TwoTrackPid::parameterNames ( ) const
virtual

Parameter Names.

A vector of the names of the algorithms parameters

Returns
vector of string names

Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.

Definition at line 41 of file twotrackpid.cpp.

std::vector<string> vertex_lcfi::TwoTrackPid::parameterNames ( ) const
virtual

Parameter Names.

A vector of the names of the algorithms parameters

Returns
vector of string names

Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.

std::vector<string> vertex_lcfi::TwoTrackPid::parameterValues ( ) const
virtual

Parameter Values.

A vector of the values of the algorithms parameters, in the same order as parameter names

Returns
vector of string values

Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.

std::vector< string > vertex_lcfi::TwoTrackPid::parameterValues ( ) const
virtual

Parameter Values.

A vector of the values of the algorithms parameters, in the same order as parameter names

Returns
vector of string values

Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.

Definition at line 46 of file twotrackpid.cpp.

void vertex_lcfi::TwoTrackPid::setDoubleParameter ( const string &  Parameter,
const double  Value 
)
virtual

Set Double Parameter.

Set a double parameter

Parameters
ParameterString of parameter name
Valuedouble of parameter value

Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.

Definition at line 63 of file twotrackpid.cpp.

void vertex_lcfi::TwoTrackPid::setDoubleParameter ( const string &  Parameter,
const double  Value 
)
virtual

Set Double Parameter.

Set a double parameter

Parameters
ParameterString of parameter name
Valuedouble of parameter value

Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.

void vertex_lcfi::TwoTrackPid::setPointerParameter ( const string &  Parameter,
void *  Value 
)
virtual

Set Pointer Parameter.

Set a pointer parameter

Parameters
ParameterString of parameter name
Valuepointer to void

Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.

Definition at line 98 of file twotrackpid.cpp.

void vertex_lcfi::TwoTrackPid::setPointerParameter ( const string &  Parameter,
void *  Value 
)
virtual

Set Pointer Parameter.

Set a pointer parameter

Parameters
ParameterString of parameter name
Valuepointer to void

Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.

void vertex_lcfi::TwoTrackPid::setStringParameter ( const string &  Parameter,
const string &  Value 
)
virtual

Set String Parameter.

Set a string parameter

Parameters
ParameterString of parameter name
ValueString of parameter value

Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.

Definition at line 58 of file twotrackpid.cpp.

void vertex_lcfi::TwoTrackPid::setStringParameter ( const string &  Parameter,
const string &  Value 
)
virtual

Set String Parameter.

Set a string parameter

Parameters
ParameterString of parameter name
ValueString of parameter value

Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.


The documentation for this class was generated from the following files: