LCFIVertex
0.7.2
|
Track attachment algorithm. Calculates the seed vertex and the Tracks attached to it. More...
#include <trackattach.h>
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... | |
DecayChain * | 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... | |
DecayChain * | calculateFor (DecayChain *MyDecayChain) const |
Run the algorithm on a jet. More... | |
Additional Inherited Members | |
![]() | |
typedef DecayChain * | OutType |
typedef DecayChain * | OutType |
typedef DecayChain * | InType |
typedef DecayChain * | InType |
![]() | |
void | badParameter (std::string Parameter) |
void | badParameter (std::string Parameter) |
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:
AddAllTracksFromSecondary | determines whether to include or exclude inner vertices. |
LoDCutmin | cut on the minimum L/D of the track to be attached to the seed vertex |
LoDCutmax | cut on the maximum L/D of the track to be attached to the seed vertex |
CloseapproachCut | cut on the maximum of the distance of closest approach of a Track wrt the seed axis |
Definition at line 30 of file include/vertex_lcfi/algo/inc/trackattach.h.
|
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).
Pointer | to the DecayChain to be analysed |
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().
|
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).
Pointer | to the DecayChain to be analysed |
Implements vertex_lcfi::Algo< DecayChain *, DecayChain * >.
|
virtual |
Name.
String name of the algorithm
Implements vertex_lcfi::Algo< DecayChain *, DecayChain * >.
|
virtual |
Name.
String name of the algorithm
Implements vertex_lcfi::Algo< DecayChain *, DecayChain * >.
Definition at line 37 of file trackattach.cpp.
|
virtual |
Parameter Names.
A vector of the names of the algorithms parameters
Implements vertex_lcfi::Algo< DecayChain *, DecayChain * >.
Definition at line 42 of file trackattach.cpp.
|
virtual |
Parameter Names.
A vector of the names of the algorithms parameters
Implements vertex_lcfi::Algo< DecayChain *, DecayChain * >.
|
virtual |
Parameter Values.
A vector of the values of the algorithms parameters, in the same order as parameter names
Implements vertex_lcfi::Algo< DecayChain *, DecayChain * >.
|
virtual |
Parameter Values.
A vector of the values of the algorithms parameters, in the same order as parameter names
Implements vertex_lcfi::Algo< DecayChain *, DecayChain * >.
Definition at line 47 of file trackattach.cpp.
|
virtual |
Set Double Parameter.
Set a double parameter
Parameter | String of parameter name |
Value | double of parameter value |
Implements vertex_lcfi::Algo< DecayChain *, DecayChain * >.
Definition at line 62 of file trackattach.cpp.
|
virtual |
Set Double Parameter.
Set a double parameter
Parameter | String of parameter name |
Value | double of parameter value |
Implements vertex_lcfi::Algo< DecayChain *, DecayChain * >.
|
virtual |
Set Pointer Parameter.
Set a pointer parameter
Parameter | String of parameter name |
Value | pointer to void |
Implements vertex_lcfi::Algo< DecayChain *, DecayChain * >.
Definition at line 87 of file trackattach.cpp.
|
virtual |
Set Pointer Parameter.
Set a pointer parameter
Parameter | String of parameter name |
Value | pointer to void |
Implements vertex_lcfi::Algo< DecayChain *, DecayChain * >.
|
virtual |
Set String Parameter.
Set a string parameter
Parameter | String of parameter name |
Value | String of parameter value |
Implements vertex_lcfi::Algo< DecayChain *, DecayChain * >.
Definition at line 57 of file trackattach.cpp.
|
virtual |
Set String Parameter.
Set a string parameter
Parameter | String of parameter name |
Value | String of parameter value |
Implements vertex_lcfi::Algo< DecayChain *, DecayChain * >.