10#ifndef CBMMCEVENTINFO_H
11#define CBMMCEVENTINFO_H 1
41 CbmMCEventInfo(int32_t fileId = -1, int32_t eventId = -1,
double time = 0.);
Allows to access an MC event in the source file.
CbmLink GetCbmLink() const
Event file and event indices as CbmLink @value Event time [ns].
virtual ~CbmMCEventInfo()
Destructor.
double GetTime() const
Event time @value Event time [ns].
ClassDef(CbmMCEventInfo, 1)
std::string ToString() const
CbmMCEventInfo(int32_t fileId=-1, int32_t eventId=-1, double time=0.)
Constructor.
int32_t GetFileId() const
File index @value File index.
int32_t GetEventId() const
Event index @value Event index.
bool operator<(const CbmMCEventInfo &other) const
Comparison operator.