21 , fNumber(rhs.fNumber)
22 , fTimeStart(rhs.fTimeStart)
23 , fTimeEnd(rhs.fTimeEnd)
24 , fVertex(rhs.fVertex)
26 , fIndexMap(rhs.fIndexMap)
48 const auto& indices = it->second;
49 if (indices.size() <= iData) {
52 return indices[iData];
62 result += entry.second.size();
82 const TMatrixFSym& covMat)
103 std::stringstream ss;
105 <<
", data objects: " <<
GetNofData() << (
nullptr !=
fMatch ?
", with matches" :
", without matches") <<
"\n";
107 ss <<
" -- Data type " << it->first <<
", number of data " << it->second.size() <<
"\n";
117 std::sort(it->second.begin(), it->second.end());
ClassImp(CbmConverterManager)
Class characterising one event by a collection of links (indices) to data objects,...
std::map< ECbmDataType, std::vector< uint32_t > > fIndexMap
size_t GetNofData() const
CbmMatch * fMatch
Match object to MCEvent.
void SetVertex(double x, double y, double z, double chi2, int32_t ndf, int32_t nTracks, const TMatrixFSym &covMat)
double fTimeStart
Event start time [ns].
int32_t fNumber
Event number.
uint32_t GetIndex(ECbmDataType type, uint32_t iData) const
CbmVertex fVertex
Primary Vertex.
double fTimeEnd
Event end time [ns].
void ClearData(ECbmDataType type)
void AddData(ECbmDataType type, uint32_t index)
std::string ToString() const
void SetVertex(double x, double y, double z, double chi2, int32_t ndf, int32_t nTracks, const TMatrixFSym &covMat)