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

Calculation of Decay Significance. More...

#include <decaysignificance.h>

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

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
< DecaySignificanceType,
double > 
calculateFor (DecayChain *MyDecayChain) 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
< DecaySignificanceType,
double > 
calculateFor (DecayChain *MyDecayChain) const
 Run the algorithm on a Jet. More...
 

Additional Inherited Members

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

Detailed Description

Calculation of Decay Significance.

Jet flavour tagging parameter algorithm that calculates the most significant decay length between vertices present in the inputted DecayChain. The algorithm calculates the distance between all consecutive vertices (i.e. with respect to the previous Vertex) in the Jet and the error of the distance. The significance is defined as the distance divided by the error. The algorithm then outputs the significance and the length of the most significant decay length. The class does not have any input parameters.

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 28 of file include/vertex_lcfi/algo/inc/decaysignificance.h.

Member Function Documentation

std::map< DecaySignificanceType,double > vertex_lcfi::VertexDecaySignificance::calculateFor ( DecayChain MyDecayChain) const
virtual

Run the algorithm on a Jet.

Calculate the most significant decay length of the decay chain

Parameters
JetPointer to the DecayChain to be analysed
Returns
map containing the following keys: "Significance", "Distance"

Implements vertex_lcfi::Algo< DecayChain *, std::map< DecaySignificanceType, double > >.

Definition at line 44 of file decaysignificance.cpp.

References vertex_lcfi::Vertex::distanceToVertex(), vertex_lcfi::Jet::event(), vertex_lcfi::Event::ipVertex(), vertex_lcfi::DecayChain::jet(), and vertex_lcfi::DecayChain::vertices().

std::map<DecaySignificanceType, double> vertex_lcfi::VertexDecaySignificance::calculateFor ( DecayChain MyDecayChain) const
virtual

Run the algorithm on a Jet.

Calculate the most significant decay length of the decay chain

Parameters
JetPointer to the DecayChain to be analysed
Returns
map containing the following keys: "Significance", "Distance"

Implements vertex_lcfi::Algo< DecayChain *, std::map< DecaySignificanceType, double > >.

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

Name.

String name of the algorithm

Returns
String name

Implements vertex_lcfi::Algo< DecayChain *, std::map< DecaySignificanceType, double > >.

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

Name.

String name of the algorithm

Returns
String name

Implements vertex_lcfi::Algo< DecayChain *, std::map< DecaySignificanceType, double > >.

Definition at line 14 of file decaysignificance.cpp.

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

Parameter Names.

A vector of the names of the algorithms parameters

Returns
vector of string names

Implements vertex_lcfi::Algo< DecayChain *, std::map< DecaySignificanceType, double > >.

Definition at line 19 of file decaysignificance.cpp.

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

Parameter Names.

A vector of the names of the algorithms parameters

Returns
vector of string names

Implements vertex_lcfi::Algo< DecayChain *, std::map< DecaySignificanceType, double > >.

std::vector<string> vertex_lcfi::VertexDecaySignificance::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 *, std::map< DecaySignificanceType, double > >.

std::vector< string > vertex_lcfi::VertexDecaySignificance::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 *, std::map< DecaySignificanceType, double > >.

Definition at line 24 of file decaysignificance.cpp.

void vertex_lcfi::VertexDecaySignificance::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 *, std::map< DecaySignificanceType, double > >.

Definition at line 34 of file decaysignificance.cpp.

void vertex_lcfi::VertexDecaySignificance::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 *, std::map< DecaySignificanceType, double > >.

void vertex_lcfi::VertexDecaySignificance::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 *, std::map< DecaySignificanceType, double > >.

Definition at line 39 of file decaysignificance.cpp.

void vertex_lcfi::VertexDecaySignificance::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 *, std::map< DecaySignificanceType, double > >.

void vertex_lcfi::VertexDecaySignificance::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 *, std::map< DecaySignificanceType, double > >.

Definition at line 29 of file decaysignificance.cpp.

void vertex_lcfi::VertexDecaySignificance::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 *, std::map< DecaySignificanceType, double > >.


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