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

Calculation of Secondary Vertex Probability. More...

#include <secondvertexprob.h>

Inheritance diagram for vertex_lcfi::SecVertexProb:
Inheritance graph
[legend]
Collaboration diagram for vertex_lcfi::SecVertexProb:
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...
 
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...
 
double calculateFor (DecayChain *MyDecayChain) const
 Run the algorithm on a Jet. More...
 

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 Secondary Vertex Probability.

Algorithm to calculate input for jet flavour tagging. The algorithm returns the probability that all tracks in the seeded vertex are consistent with being generated at the same vertex. The input 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 algorithm has the following input parameters:

Parameters
Chisquarecut- cut on the chi squared of the seed Vertex.
Ntrackscut- cut on the minimum number of tracks in the seed Vertex.
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 29 of file include/vertex_lcfi/algo/inc/secondvertexprob.h.

Member Function Documentation

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

Run the algorithm on a Jet.

Calculate the momentum of the Seeded Secondary Vertex.

Parameters
DecayChainPointer to the DecayChain to be analysed. This DecayChain is an output from the track attach algorithm in which case it is composed only of one vertex and attached tracks.
Returns
double the probability that a secondary vertex is present in the Jet.

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

Definition at line 79 of file secondvertexprob.cpp.

References vertex_lcfi::DecayChain::allTracks(), and vertex_lcfi::util::prob().

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

Run the algorithm on a Jet.

Calculate the momentum of the Seeded Secondary Vertex.

Parameters
DecayChainPointer to the DecayChain to be analysed. This DecayChain is an output from the track attach algorithm in which case it is composed only of one vertex and attached tracks.
Returns
double the probability that a secondary vertex is present in the Jet.

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

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

Name.

String name of the algorithm

Returns
String name

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

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

Name.

String name of the algorithm

Returns
String name

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

Definition at line 35 of file secondvertexprob.cpp.

std::vector< string > vertex_lcfi::SecVertexProb::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 40 of file secondvertexprob.cpp.

std::vector<string> vertex_lcfi::SecVertexProb::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::SecVertexProb::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::SecVertexProb::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 45 of file secondvertexprob.cpp.

void vertex_lcfi::SecVertexProb::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 58 of file secondvertexprob.cpp.

void vertex_lcfi::SecVertexProb::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::SecVertexProb::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 74 of file secondvertexprob.cpp.

void vertex_lcfi::SecVertexProb::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::SecVertexProb::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 53 of file secondvertexprob.cpp.

void vertex_lcfi::SecVertexProb::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 >.


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