19#include <TMatrixFSymfwd.h>
45 CbmEvent(int32_t number,
double startTime = 0.,
double endTime = 0.)
195 void SetVertex(
double x,
double y,
double z,
double chi2, int32_t ndf, int32_t nTracks,
const TMatrixFSym& covMat);
225 std::map<ECbmDataType, std::vector<uint32_t>>
fIndexMap;
Class characterising one event by a collection of links (indices) to data objects,...
CbmEvent(int32_t number, double startTime=0., double endTime=0.)
void SetMatch(CbmMatch *match)
std::map< ECbmDataType, std::vector< uint32_t > > fIndexMap
size_t GetNofData() const
CbmMatch * fMatch
Match object to MCEvent.
int32_t GetStsTrackIndex(int32_t iTrack)
void SetVertex(double x, double y, double z, double chi2, int32_t ndf, int32_t nTracks, const TMatrixFSym &covMat)
void SetNumber(int32_t number)
double fTimeStart
Event start time [ns].
int32_t fNumber
Event number.
int32_t GetNumber() const
double GetStartTime() const
CbmEvent(CbmEvent &&)=default
void SetTzero(double tZero)
double GetEndTime() const
int32_t GetNofStsTracks() const
void SetStartTime(double startTime)
CbmVertex fVertex
Primary Vertex.
double fTimeEnd
Event end time [ns].
CbmMatch * GetMatch() const
uint32_t GetIndex(ECbmDataType type, uint32_t iData)
double fTzero
Bmon of event for TOF PID [ns].
void ClearData(ECbmDataType type)
void AddData(ECbmDataType type, uint32_t index)
void SetEndTime(double endTime)
CbmEvent & operator=(const CbmEvent &)
void SetStsTracks(std::vector< uint32_t > &indexVector)
Sets the index array for STS tracks. Old content will be overwritten.
void AddStsTrack(uint32_t index)
std::string ToString() const