Bundles information for a single track candidate to be stored by EventInfo (needed for HitExporter, which is needed by NonRootDataExportModule)
More...
#include <ExporterTcInfo.h>
|
| ExporterTcInfo (int pdg, int motherID) |
| Standard constructor.
|
|
| ~ExporterTcInfo () |
| Destructor.
|
|
void | addHit (std::pair< double, std::string > hit) |
| adds already formatted hit information.
|
|
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.
|
|
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
|
|
|
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.
|
|
std::vector< int > | m_hitIDs |
| Stores the hitIDs of the hits attached to this TC, can be treated independently of hits themselves.
|
|
std::string | m_tcInfo |
| contains Info about the tc itself.
|
|
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.
◆ ExporterTcInfo()
Standard constructor.
Definition at line 25 of file ExporterTcInfo.h.
25 :
int m_motherID
Index of the mother particle in the simulation.
int m_pdgCode
pdgCode of tc in the tc-file. TODO: implement a check which proves that suggested and real fileIndex ...
◆ ~ExporterTcInfo()
◆ addHit()
void addHit |
( |
std::pair< double, std::string > |
hit | ) |
|
|
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.
std::vector< std::pair< double, std::string > > m_hits
Contains already formatted hit information.
◆ addHitIDs()
void addHitIDs |
( |
const std::vector< int > & |
ids | ) |
|
|
inline |
adds IDs of hits for unique identification
Definition at line 40 of file ExporterTcInfo.h.
std::vector< int > m_hitIDs
Stores the hitIDs of the hits attached to this TC, can be treated independently of hits themselves.
◆ addInfo()
void addInfo |
( |
const std::string & |
info | ) |
|
|
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.
std::string m_tcInfo
contains Info about the tc itself.
◆ getHitIDs()
std::vector< int > * getHitIDs |
( |
| ) |
|
|
inline |
returns hitIDs of the hits attached to this TC (in no particular order!)
Definition at line 52 of file ExporterTcInfo.h.
◆ getHits()
std::vector< std::pair< double, std::string > > * getHits |
( |
| ) |
|
|
inline |
returns the hits added one by one using addHit
Definition at line 48 of file ExporterTcInfo.h.
◆ getInfo()
returns info about tc in formatted without having the last piece of the Information
Definition at line 62 of file ExporterTcInfo.h.
◆ getMotherID()
returns index of the mother particle in the simulation
Definition at line 70 of file ExporterTcInfo.h.
◆ getNHits()
returns number of Hits attached to this tc
Definition at line 44 of file ExporterTcInfo.h.
◆ getPdgCode()
◆ m_hitIDs
std::vector<int> m_hitIDs |
|
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.
◆ m_hits
std::vector<std::pair<double, std::string> > m_hits |
|
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.
◆ m_motherID
Index of the mother particle in the simulation.
Definition at line 78 of file ExporterTcInfo.h.
◆ m_pdgCode
pdgCode of tc in the tc-file. TODO: implement a check which proves that suggested and real fileIndex are the same!
Definition at line 75 of file ExporterTcInfo.h.
◆ m_tcInfo
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.
The documentation for this class was generated from the following file: