LCFIVertex
0.7.2
|
Simple two track PID for gamma and Ks. More...
#include <twotrackpid.h>
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 | |
![]() | |
typedef std::map< PidCutType, std::vector < vertex_lcfi::Track * > > | OutType |
typedef std::map< PidCutType, std::vector < vertex_lcfi::Track * > > | OutType |
typedef Jet * | InType |
typedef Jet * | InType |
![]() | |
void | badParameter (std::string Parameter) |
void | badParameter (std::string Parameter) |
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:
MaxGammaMass | upper limit on the photon mass |
MinKsMass | lower limit on the Ks mass |
MaxKsMass | upper limit on the Ks mass |
Chi2Cut | cut on the Chi squared for the two tracks beinig in the same vertex. |
RPhiCut | cut on the maximum RPhi of the vertex that the tracks form. |
SignificanceCut | cut on the minimum rphi significance of the tracks with respect to the IP. |
Definition at line 37 of file include/vertex_lcfi/algo/inc/twotrackpid.h.
|
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.
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().
|
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.
Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.
|
virtual |
Name.
String name of the algorithm
Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.
|
virtual |
Name.
String name of the algorithm
Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.
Definition at line 36 of file twotrackpid.cpp.
|
virtual |
Parameter Names.
A vector of the names of the algorithms parameters
Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.
Definition at line 41 of file twotrackpid.cpp.
|
virtual |
Parameter Names.
A vector of the names of the algorithms parameters
Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.
|
virtual |
Parameter Values.
A vector of the values of the algorithms parameters, in the same order as parameter names
Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.
|
virtual |
Parameter Values.
A vector of the values of the algorithms parameters, in the same order as parameter names
Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.
Definition at line 46 of file twotrackpid.cpp.
|
virtual |
Set Double Parameter.
Set a double parameter
Parameter | String of parameter name |
Value | double of parameter value |
Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.
Definition at line 63 of file twotrackpid.cpp.
|
virtual |
Set Double Parameter.
Set a double parameter
Parameter | String of parameter name |
Value | double of parameter value |
Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.
|
virtual |
Set Pointer Parameter.
Set a pointer parameter
Parameter | String of parameter name |
Value | pointer to void |
Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.
Definition at line 98 of file twotrackpid.cpp.
|
virtual |
Set Pointer Parameter.
Set a pointer parameter
Parameter | String of parameter name |
Value | pointer to void |
Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.
|
virtual |
Set String Parameter.
Set a string parameter
Parameter | String of parameter name |
Value | String of parameter value |
Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.
Definition at line 58 of file twotrackpid.cpp.
|
virtual |
Set String Parameter.
Set a string parameter
Parameter | String of parameter name |
Value | String of parameter value |
Implements vertex_lcfi::Algo< Jet *, std::map< PidCutType, std::vector< vertex_lcfi::Track * > > >.