1#ifndef __TOOLS_MULTIPLICITY__
2#define __TOOLS_MULTIPLICITY__
19 for (
auto& t : event.
mc_trks ) {
24 out <<
"get_multiplicity(): The following event does not correspond to a muon bundle:" << endl;
26 throw Exception(
static_cast<ostringstream&
>(out).str());
static std::ostream & getOstream()
Get output stream for conversion of exception.
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)