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

Calculation of Vertex Momentum. More...

#include <vertexmomentum.h>

Inheritance diagram for vertex_lcfi::VertexMomentum:
Inheritance graph
[legend]
Collaboration diagram for vertex_lcfi::VertexMomentum:
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 decay chain. 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 decay chain. 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 Vertex Momentum.

Jet flavour tagging parameter algorithm that returns the momentum of the seed vertex. 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 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 24 of file include/vertex_lcfi/algo/inc/vertexmomentum.h.

Member Function Documentation

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

Run the algorithm on a decay chain.

Calculate the momentum of the Seed Secondary 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 the momentum of the seed secondary vertex with all attached tracks.

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

Definition at line 44 of file vertexmomentum.cpp.

References vertex_lcfi::DecayChain::allTracks().

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

Run the algorithm on a decay chain.

Calculate the momentum of the Seed Secondary 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 the momentum of the seed secondary vertex with all attached tracks.

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

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

Name.

String name of the algorithm

Returns
String name

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

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

Name.

String name of the algorithm

Returns
String name

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

Definition at line 14 of file vertexmomentum.cpp.

std::vector< string > vertex_lcfi::VertexMomentum::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 19 of file vertexmomentum.cpp.

std::vector<string> vertex_lcfi::VertexMomentum::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::VertexMomentum::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::VertexMomentum::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 24 of file vertexmomentum.cpp.

void vertex_lcfi::VertexMomentum::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 34 of file vertexmomentum.cpp.

void vertex_lcfi::VertexMomentum::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::VertexMomentum::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 39 of file vertexmomentum.cpp.

void vertex_lcfi::VertexMomentum::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::VertexMomentum::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 29 of file vertexmomentum.cpp.

void vertex_lcfi::VertexMomentum::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: