 |
Belle II Software
release-05-01-25
|
24 class ExporterTcInfo {
38 void addHit(std::pair<double, std::string> hit) {
m_hits.push_back(hit); }
50 std::vector<std::pair<double, std::string>>*
getHits() {
return &
m_hits; }
84 std::vector<std::pair<double, std::string>>
m_hits;
std::vector< int > m_hitIDs
Stores the hitIDs of the hits attached to this TC, can be treated independently of hits themselves.
~ExporterTcInfo()
Destructor.
std::vector< std::pair< double, std::string > > m_hits
Contains already formatted hit information.
std::string getInfo()
returns info about tc in formatted without having the last piece of the Information
int m_pdgCode
pdgCode of tc in the tc-file. TODO: implement a check which proves that suggested and real fileIndex ...
int m_motherID
Index of the mother particle in the simulation.
int getPdgCode()
returns pdgCode of tc in the tc-file
void addHit(std::pair< double, std::string > hit)
adds already formatted hit information.
void addInfo(const std::string &info)
Adds Info about the tc itself.
Abstract base class for different kinds of events.
std::vector< int > * getHitIDs()
returns hitIDs of the hits attached to this TC (in no particular order!)
int getMotherID()
returns index of the mother particle in the simulation
std::vector< std::pair< double, std::string > > * getHits()
returns the hits added one by one using addHit
void addHitIDs(const std::vector< int > &ids)
adds IDs of hits for unique identification
ExporterTcInfo(int pdg, int motherID)
Standard constructor.
int getNHits()
returns number of Hits attached to this tc
std::string m_tcInfo
contains Info about the tc itself.