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

Calculation of a series of flavour tag inputs. More...

#include <paramsignificance.h>

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

Public Member Functions

 ParameterSignificance ()
 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< SignificanceType,
double > 
calculateFor (Jet *MyJet) const
 Run the algorithm on a jet. More...
 
 ParameterSignificance ()
 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< SignificanceType,
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< SignificanceType, double > >
typedef std::map
< SignificanceType, double > 
OutType
 
typedef std::map
< SignificanceType, double > 
OutType
 
typedef JetInType
 
typedef JetInType
 
- Protected Member Functions inherited from vertex_lcfi::Algo< Jet *, std::map< SignificanceType, double > >
void badParameter (std::string Parameter)
 
void badParameter (std::string Parameter)
 

Detailed Description

Calculation of a series of flavour tag inputs.

This class finds the two most significant tracks in the RPhi plane. It then outputs the momentum, z significance and RPhi significance of these two tracks. The class has the following parameters:

Parameters
LayersHitwe will be setting minimum momentum cuts on tracks that will hit Layershit minus one and LayersHit or more layers of the vertex detector.
AllbutOneLayersMomentumCutminimum momentum of particles that have been detected in LayersHit minus one layers of the vertex detector
AllLayersMomentumCutminimum momentum of particles that have been detected at least in LayersHit layers of the vertex detector
TwoTrackPidCutthis is a pointer parameter. This should point to the map outputted by the algorithm TwoTrackPid . This pointer is used to cut out the tracks that have been flagged as deriving from a gamma or a Ks.
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/paramsignificance.h.

Member Function Documentation

std::map< SignificanceType,double > vertex_lcfi::ParameterSignificance::calculateFor ( Jet MyJet) const
virtual

Run the algorithm on a jet.

Calculate the two tracks with the highest RPhi significance and output their RPhi significance, Z significance and momentum.

Parameters
JetPointer to jet to be analysed
Returns
map containing the following keys:"D0SigTrack1", <D0SigTrack2","Z0SigTrack1", "Z0SigTrack2","MomentumTrack1","MomentumTrack2".

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

Definition at line 90 of file paramsignificance.cpp.

References vertex_lcfi::Jet::tracks().

std::map<SignificanceType, double> vertex_lcfi::ParameterSignificance::calculateFor ( Jet MyJet) const
virtual

Run the algorithm on a jet.

Calculate the two tracks with the highest RPhi significance and output their RPhi significance, Z significance and momentum.

Parameters
JetPointer to jet to be analysed
Returns
map containing the following keys:"D0SigTrack1", <D0SigTrack2","Z0SigTrack1", "Z0SigTrack2","MomentumTrack1","MomentumTrack2".

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

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

Name.

String name of the algorithm

Returns
String name

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

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

Name.

String name of the algorithm

Returns
String name

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

Definition at line 35 of file paramsignificance.cpp.

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

Definition at line 40 of file paramsignificance.cpp.

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

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

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

Definition at line 45 of file paramsignificance.cpp.

void vertex_lcfi::ParameterSignificance::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< SignificanceType, double > >.

Definition at line 60 of file paramsignificance.cpp.

void vertex_lcfi::ParameterSignificance::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< SignificanceType, double > >.

void vertex_lcfi::ParameterSignificance::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< SignificanceType, double > >.

Definition at line 81 of file paramsignificance.cpp.

void vertex_lcfi::ParameterSignificance::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< SignificanceType, double > >.

void vertex_lcfi::ParameterSignificance::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< SignificanceType, double > >.

Definition at line 55 of file paramsignificance.cpp.

void vertex_lcfi::ParameterSignificance::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< SignificanceType, double > >.


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