1#ifndef __TOOLS_MULTIPLICITY__
2#define __TOOLS_MULTIPLICITY__
21 for (
auto& t : event.
mc_trks ) {
26 out <<
"get_multiplicity(): The following event does not correspond to a muon bundle:" << endl;
28 throw Exception(
static_cast<ostringstream&
>(out).str());
int get_multiplicity(const Evt &event)
Retrieve bundle multiplicity of given event.
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.
std::vector< Trk > mc_trks
MC: list of MC truth tracks.
static const int TRK_ST_MUONBUNDLE
initial state muon bundle (mupage)