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

Track attachment algorithm. Calculates the seed vertex and the Tracks attached to it. More...

#include <trackattach.h>

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

Additional Inherited Members

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

Detailed Description

Track attachment algorithm. Calculates the seed vertex and the Tracks attached to it.

The algorithm firstly chooses the seed vertex, defined as the secondary vertex furthest from the IP and then decides which Tracks to attach to this vertex. This algorithm was originally devised to recover tracks from 1-prong decays that are not assigned to any ZVRES vertex, but may contribute to variables one wishes to reconstruct, such as the mass of the decaying heavy flavour particle in a jet. The algorithm returns a vertex_lcfi::DecayChain with Tracks attached to the seed vertex and all other Tracks removed. The algorithm has the following input parameters:

Parameters
AddAllTracksFromSecondarydetermines whether to include or exclude inner vertices.
LoDCutmincut on the minimum L/D of the track to be attached to the seed vertex
LoDCutmaxcut on the maximum L/D of the track to be attached to the seed vertex
CloseapproachCutcut on the maximum of the distance of closest approach of a Track wrt the seed axis
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 30 of file include/vertex_lcfi/algo/inc/trackattach.h.

Member Function Documentation

DecayChain * vertex_lcfi::TrackAttach::calculateFor ( DecayChain MyDecayChain) const
virtual

Run the algorithm on a jet.

Calculate the Seed vertex with its attached Tracks. It puts these into a Decay Chain object which is then readable to other lcfi classes. This decay chain does not hold any other Tracks but the ones in the seed vertex (including the attached tracks).

Parameters
Pointerto the DecayChain to be analysed
Returns
Pointer to DecayChain of algorithm result

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

Definition at line 93 of file trackattach.cpp.

References vertex_lcfi::DecayChain::addTrack(), vertex_lcfi::MemoryManager< T >::Event(), vertex_lcfi::DecayChain::hasTrack(), vertex_lcfi::DecayChain::jet(), vertex_lcfi::Track::makeState(), vertex_lcfi::TrackState::position(), vertex_lcfi::DecayChain::removeTrack(), vertex_lcfi::TrackState::swimToStateNearest(), vertex_lcfi::Jet::tracks(), and vertex_lcfi::DecayChain::vertices().

DecayChain* vertex_lcfi::TrackAttach::calculateFor ( DecayChain MyDecayChain) const
virtual

Run the algorithm on a jet.

Calculate the Seed vertex with its attached Tracks. It puts these into a Decay Chain object which is then readable to other lcfi classes. This decay chain does not hold any other Tracks but the ones in the seed vertex (including the attached tracks).

Parameters
Pointerto the DecayChain to be analysed
Returns
Pointer to DecayChain of algorithm result

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

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

Name.

String name of the algorithm

Returns
String name

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

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

Name.

String name of the algorithm

Returns
String name

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

Definition at line 37 of file trackattach.cpp.

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

Parameter Names.

A vector of the names of the algorithms parameters

Returns
vector of string names

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

Definition at line 42 of file trackattach.cpp.

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

Parameter Names.

A vector of the names of the algorithms parameters

Returns
vector of string names

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

std::vector<string> vertex_lcfi::TrackAttach::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 *, DecayChain * >.

std::vector< string > vertex_lcfi::TrackAttach::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 *, DecayChain * >.

Definition at line 47 of file trackattach.cpp.

void vertex_lcfi::TrackAttach::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 *, DecayChain * >.

Definition at line 62 of file trackattach.cpp.

void vertex_lcfi::TrackAttach::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 *, DecayChain * >.

void vertex_lcfi::TrackAttach::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 *, DecayChain * >.

Definition at line 87 of file trackattach.cpp.

void vertex_lcfi::TrackAttach::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 *, DecayChain * >.

void vertex_lcfi::TrackAttach::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 *, DecayChain * >.

Definition at line 57 of file trackattach.cpp.

void vertex_lcfi::TrackAttach::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 *, DecayChain * >.


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