LCFIVertex
0.7.2
|
Calculation of the Pt corrected mass vertex flavour tag input. More...
#include <vertexmass.h>
Public Member Functions | |
VertexMass () | |
Default Constructor. | |
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... | |
double | calculateFor (DecayChain *MyDecayChain) const |
Run the algorithm on a jet. More... | |
VertexMass () | |
Default Constructor. | |
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... | |
double | calculateFor (DecayChain *MyDecayChain) const |
Run the algorithm on a jet. More... | |
Static Public Member Functions | |
static double | Ptcalc (Vertex *, Vertex *, Vector3 *, float) |
Calculate vertex-constrained Pt correction. | |
static double | Ptcalc (Vertex *, Vertex *, Vector3 *, float) |
Calculate vertex-constrained Pt correction. | |
Additional Inherited Members | |
![]() | |
typedef double | OutType |
typedef double | OutType |
typedef DecayChain * | InType |
typedef DecayChain * | InType |
![]() | |
void | badParameter (std::string Parameter) |
void | badParameter (std::string Parameter) |
Calculation of the Pt corrected mass vertex flavour tag input.
This class calculates the Pt corrected mass flavour tag input. The input is a DecayChain. This DecayChain is expected to be the output of vertex_lcfi::TrackAttach algorithm. In this algorithm all the tracks are either added (attached) to the seed vertex or removed from the DecayChain. The first step of the algorithm is to search the DecayChain for the seed vertex, defined as vertex furthest from the IP. The routine then assumes that there is only one vertex in this DecayChain and that all the tracks in the DecayChain are attached to this vertex. The algorithm attempts to calculate the mass of this vertex. For this calculation we use the assumption that each track in the vertex has the mass of a charged pion. Additionally a kinematic correction is applied in order to minimise the transverse momentum of the tracks attached to the vertex. This accounts for the fact that some tracks might be neutral particles. There is however a limit on the maximum number of sigmas (based on error matrices) within which the the vertex axis can move. We then use this transverse momentum to calculate the pt corected vertex mass.
MaxMomentumAngle | maximum value of p^2 (1- cos^2(theta)), where theta is the angle between the vertex axis and the total momentum of the tracks attached to the vertex. |
MaxKinematicCorrectionSigma | maximum number of sigmas (based on error matrices) within which the the vertex axis can move. |
MaxMomentumCorrection | Maximum factor, by which vertex mass can be corrected (if this value is 2 the maximum mass returned will be twice the mass calculated without kinematic corrections. |
Definition at line 39 of file include/vertex_lcfi/algo/inc/vertexmass.h.
|
virtual |
Run the algorithm on a jet.
Calculate the Momentum Corrected mass of the seed vertex.
DecayChain | Pointer to the decay chain to be analysed. This decay chain is an output from the track attach algorithm in which case it is composed only of one vertex and attached tracks. |
Implements vertex_lcfi::Algo< DecayChain *, double >.
Definition at line 96 of file vertexmass.cpp.
References vertex_lcfi::DecayChain::allTracks(), Ptcalc(), and vertex_lcfi::DecayChain::vertices().
|
virtual |
Run the algorithm on a jet.
Calculate the Momentum Corrected mass of the seed vertex.
DecayChain | Pointer to the decay chain to be analysed. This decay chain is an output from the track attach algorithm in which case it is composed only of one vertex and attached tracks. |
Implements vertex_lcfi::Algo< DecayChain *, double >.
|
virtual |
Name.
String name of the algorithm
Implements vertex_lcfi::Algo< DecayChain *, double >.
|
virtual |
Name.
String name of the algorithm
Implements vertex_lcfi::Algo< DecayChain *, double >.
Definition at line 33 of file vertexmass.cpp.
|
virtual |
Parameter Names.
A vector of the names of the algorithms parameters
Implements vertex_lcfi::Algo< DecayChain *, double >.
Definition at line 38 of file vertexmass.cpp.
|
virtual |
Parameter Names.
A vector of the names of the algorithms parameters
Implements vertex_lcfi::Algo< DecayChain *, double >.
|
virtual |
Parameter Values.
A vector of the values of the algorithms parameters, in the same order as parameter names
Implements vertex_lcfi::Algo< DecayChain *, double >.
|
virtual |
Parameter Values.
A vector of the values of the algorithms parameters, in the same order as parameter names
Implements vertex_lcfi::Algo< DecayChain *, double >.
Definition at line 43 of file vertexmass.cpp.
|
virtual |
Set Double Parameter.
Set a double parameter
Parameter | String of parameter name |
Value | double of parameter value |
Implements vertex_lcfi::Algo< DecayChain *, double >.
Definition at line 57 of file vertexmass.cpp.
|
virtual |
Set Double Parameter.
Set a double parameter
Parameter | String of parameter name |
Value | double of parameter value |
Implements vertex_lcfi::Algo< DecayChain *, double >.
|
virtual |
Set Pointer Parameter.
Set a pointer parameter
Parameter | String of parameter name |
Value | pointer to void |
Implements vertex_lcfi::Algo< DecayChain *, double >.
|
virtual |
Set Pointer Parameter.
Set a pointer parameter
Parameter | String of parameter name |
Value | pointer to void |
Implements vertex_lcfi::Algo< DecayChain *, double >.
Definition at line 77 of file vertexmass.cpp.
|
virtual |
Set String Parameter.
Set a string parameter
Parameter | String of parameter name |
Value | String of parameter value |
Implements vertex_lcfi::Algo< DecayChain *, double >.
|
virtual |
Set String Parameter.
Set a string parameter
Parameter | String of parameter name |
Value | String of parameter value |
Implements vertex_lcfi::Algo< DecayChain *, double >.
Definition at line 52 of file vertexmass.cpp.