Belle II Software
release-08-01-10
|
Bundles information for a single track candidate to be stored by EventInfo (needed for HitExporter, which is needed by NonRootDataExportModule) More...
#include <ExporterTcInfo.h>
Public Member Functions | |
ExporterTcInfo (int pdg, int motherID) | |
Standard constructor. | |
~ExporterTcInfo () | |
Destructor. | |
void | addHit (std::pair< double, std::string > hit) |
adds already formatted hit information. More... | |
void | addHitIDs (const std::vector< int > &ids) |
adds IDs of hits for unique identification | |
int | getNHits () |
returns number of Hits attached to this tc | |
std::vector< std::pair< double, std::string > > * | getHits () |
returns the hits added one by one using addHit | |
std::vector< int > * | getHitIDs () |
returns hitIDs of the hits attached to this TC (in no particular order!) | |
void | addInfo (const std::string &info) |
Adds Info about the tc itself. More... | |
std::string | getInfo () |
returns info about tc in formatted without having the last piece of the Information | |
int | getPdgCode () |
returns pdgCode of tc in the tc-file | |
int | getMotherID () |
returns index of the mother particle in the simulation | |
Protected Attributes | |
int | m_pdgCode |
pdgCode of tc in the tc-file. TODO: implement a check which proves that suggested and real fileIndex are the same! | |
int | m_motherID |
Index of the mother particle in the simulation. | |
std::vector< std::pair< double, std::string > > | m_hits |
Contains already formatted hit information. More... | |
std::vector< int > | m_hitIDs |
Stores the hitIDs of the hits attached to this TC, can be treated independently of hits themselves. More... | |
std::string | m_tcInfo |
contains Info about the tc itself. More... | |
Bundles information for a single track candidate to be stored by EventInfo (needed for HitExporter, which is needed by NonRootDataExportModule)
Definition at line 22 of file ExporterTcInfo.h.
|
inline |
adds already formatted hit information.
The .first value of the pair is the radius of the hit, so the vector can be sorted using it
Definition at line 36 of file ExporterTcInfo.h.
|
inline |
Adds Info about the tc itself.
It is already formatted but lacks of the last information needed, the index of the first McPoint
Definition at line 58 of file ExporterTcInfo.h.
|
protected |
Stores the hitIDs of the hits attached to this TC, can be treated independently of hits themselves.
It's only important to know, which tc had which hits.
Definition at line 86 of file ExporterTcInfo.h.
|
protected |
Contains already formatted hit information.
The .first value of the pair is the radius of the hit, so the vector can be sorted using it.
Definition at line 82 of file ExporterTcInfo.h.
|
protected |
contains Info about the tc itself.
It is already formatted but lacks of the last information needed, the index of the first McPoint.
Definition at line 90 of file ExporterTcInfo.h.