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

Calculation of the Joint probability flavour tag inputs. More...

#include <jointprob.h>

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

Public Member Functions

 JointProb ()
 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...
 
std::map< Projection, double > calculateFor (Jet *MyJet) const
 Run the algorithm on a jet. More...
 
 JointProb ()
 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...
 
std::map< Projection, double > calculateFor (Jet *MyJet) const
 Run the algorithm on a jet. More...
 

Additional Inherited Members

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

Detailed Description

Calculation of the Joint probability flavour tag inputs.

This class calculates the joint probability flavour tag input. This is the probability that all the tracks of a Jet come from the primary vertex. The calculation is done by using the information on the impact parameters of each Track. The class outputs three values : the calculation of joint probability in the RPhi plane, in the Z direction and in 3 dimensions. Please note that while the first two have been extensively tested the third has not since it is not used as a flavour tagging inputs parameter.

Parameters
MaxD0SignificanceMaximum d0 significance. All more significant Tracks get cut.
MaxD0andZ0Maximum value of d0 and of z0.
ResolutionParameterRphiThis is a Pointer parameter. It must point to a vector containing 5 double elements. These are the standard deviations of the impact parameter significances of the distribution of tracks coming from the primary vertex. These values can be obtained from a fit to the impact parameter distribution of tracks behind the interaction point, i.e. with negative impact parameter, where the direction of reference is the Jet direction. Please note that ideally these parameters should be calculated whenever the boundary conditions change in a way that affects the impact parameter distributions, by running a separate processor beforehand. This at the moment is not done and the values are inserted as parameters. The default values have been inherited from previous studies.
ResolutionParameterZSimilar as ResolutionParameterRphi, but for the Z direction.
ResolutionParameter3DSimilar as before but for the 3-D calculation
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 35 of file include/vertex_lcfi/algo/inc/jointprob.h.

Member Function Documentation

std::map< Projection,double > vertex_lcfi::JointProb::calculateFor ( Jet MyJet) const
virtual

Run the algorithm on a jet.

Calculate the jet joint probability flavour tagging parameter for the jet and output the joint probability for RPhi, Z and ThreeD

Parameters
JetPointer to jet to be analysed
Returns
Map containing the following keys: RPhi, Z and ThreeD

Implements vertex_lcfi::Algo< Jet *, std::map< Projection, double > >.

Definition at line 129 of file jointprob.cpp.

References vertex_lcfi::Jet::tracks().

std::map<Projection, double> vertex_lcfi::JointProb::calculateFor ( Jet MyJet) const
virtual

Run the algorithm on a jet.

Calculate the jet joint probability flavour tagging parameter for the jet and output the joint probability for RPhi, Z and ThreeD

Parameters
JetPointer to jet to be analysed
Returns
Map containing the following keys: RPhi, Z and ThreeD

Implements vertex_lcfi::Algo< Jet *, std::map< Projection, double > >.

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

Name.

String name of the algorithm

Returns
String name

Implements vertex_lcfi::Algo< Jet *, std::map< Projection, double > >.

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

Name.

String name of the algorithm

Returns
String name

Implements vertex_lcfi::Algo< Jet *, std::map< Projection, double > >.

Definition at line 60 of file jointprob.cpp.

std::vector< string > vertex_lcfi::JointProb::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< Projection, double > >.

Definition at line 65 of file jointprob.cpp.

std::vector<string> vertex_lcfi::JointProb::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< Projection, double > >.

std::vector<string> vertex_lcfi::JointProb::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< Projection, double > >.

std::vector< string > vertex_lcfi::JointProb::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< Projection, double > >.

Definition at line 70 of file jointprob.cpp.

void vertex_lcfi::JointProb::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< Projection, double > >.

Definition at line 94 of file jointprob.cpp.

void vertex_lcfi::JointProb::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< Projection, double > >.

void vertex_lcfi::JointProb::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< Projection, double > >.

Definition at line 109 of file jointprob.cpp.

void vertex_lcfi::JointProb::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< Projection, double > >.

void vertex_lcfi::JointProb::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< Projection, double > >.

Definition at line 89 of file jointprob.cpp.

void vertex_lcfi::JointProb::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< Projection, double > >.


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