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

Calculation of the Pt corrected mass vertex flavour tag input. More...

#include <vertexmass.h>

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

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

- Public Types inherited from vertex_lcfi::Algo< DecayChain *, double >
typedef double OutType
 
typedef double OutType
 
typedef DecayChainInType
 
typedef DecayChainInType
 
- Protected Member Functions inherited from vertex_lcfi::Algo< DecayChain *, double >
void badParameter (std::string Parameter)
 
void badParameter (std::string Parameter)
 

Detailed Description

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.

Parameters
MaxMomentumAnglemaximum 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.
MaxKinematicCorrectionSigmamaximum number of sigmas (based on error matrices) within which the the vertex axis can move.
MaxMomentumCorrectionMaximum 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.
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 39 of file include/vertex_lcfi/algo/inc/vertexmass.h.

Member Function Documentation

double vertex_lcfi::VertexMass::calculateFor ( DecayChain MyDecayChain) const
virtual

Run the algorithm on a jet.

Calculate the Momentum Corrected mass of the seed vertex.

Parameters
DecayChainPointer 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.
Returns
double: Momentum corrected mass

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().

double vertex_lcfi::VertexMass::calculateFor ( DecayChain MyDecayChain) const
virtual

Run the algorithm on a jet.

Calculate the Momentum Corrected mass of the seed vertex.

Parameters
DecayChainPointer 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.
Returns
double: Momentum corrected mass

Implements vertex_lcfi::Algo< DecayChain *, double >.

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

Name.

String name of the algorithm

Returns
String name

Implements vertex_lcfi::Algo< DecayChain *, double >.

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

Name.

String name of the algorithm

Returns
String name

Implements vertex_lcfi::Algo< DecayChain *, double >.

Definition at line 33 of file vertexmass.cpp.

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

Parameter Names.

A vector of the names of the algorithms parameters

Returns
vector of string names

Implements vertex_lcfi::Algo< DecayChain *, double >.

Definition at line 38 of file vertexmass.cpp.

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

Parameter Names.

A vector of the names of the algorithms parameters

Returns
vector of string names

Implements vertex_lcfi::Algo< DecayChain *, double >.

std::vector<string> vertex_lcfi::VertexMass::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< DecayChain *, double >.

std::vector< string > vertex_lcfi::VertexMass::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< DecayChain *, double >.

Definition at line 43 of file vertexmass.cpp.

void vertex_lcfi::VertexMass::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< DecayChain *, double >.

Definition at line 57 of file vertexmass.cpp.

void vertex_lcfi::VertexMass::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< DecayChain *, double >.

void vertex_lcfi::VertexMass::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< DecayChain *, double >.

void vertex_lcfi::VertexMass::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< DecayChain *, double >.

Definition at line 77 of file vertexmass.cpp.

void vertex_lcfi::VertexMass::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< DecayChain *, double >.

void vertex_lcfi::VertexMass::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< DecayChain *, double >.

Definition at line 52 of file vertexmass.cpp.


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