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

Calculation of the charge of the vertex. More...

#include <vertexcharge.h>

Inheritance diagram for vertex_lcfi::VertexCharge:
Inheritance graph
[legend]
Collaboration diagram for vertex_lcfi::VertexCharge:
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 the charge of the vertex.

Simple Jet algorithm used to calculate the charge of the 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/vertexcharge.h.

Member Function Documentation

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

Run the algorithm on a jet.

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

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

Definition at line 43 of file vertexcharge.cpp.

References vertex_lcfi::DecayChain::allTracks().

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

Run the algorithm on a jet.

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

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

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

Name.

String name of the algorithm

Returns
String name

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

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

Name.

String name of the algorithm

Returns
String name

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

Definition at line 13 of file vertexcharge.cpp.

std::vector< string > vertex_lcfi::VertexCharge::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 18 of file vertexcharge.cpp.

std::vector<string> vertex_lcfi::VertexCharge::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::VertexCharge::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::VertexCharge::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 23 of file vertexcharge.cpp.

void vertex_lcfi::VertexCharge::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 33 of file vertexcharge.cpp.

void vertex_lcfi::VertexCharge::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::VertexCharge::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 38 of file vertexcharge.cpp.

void vertex_lcfi::VertexCharge::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::VertexCharge::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 28 of file vertexcharge.cpp.

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