Go to the source code of this file.
◆ get_multiplicity()
  
  
      
        
          | int get_multiplicity  | 
          ( | 
          const Evt & |           event | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Retrieve bundle multiplicity of given event. 
- Parameters
 - 
  
  
 
Definition at line 13 of file multiplicity.hh.
   14{
   16 
   17  
   18    
   19  for ( 
auto& t : event.
mc_trks ) {
 
   21  }
   22    
   24  out << "get_multiplicity(): The following event does not correspond to a muon bundle:" << endl;
   25  event.print(out);
   26  throw Exception(
static_cast<ostringstream&
>(out).str());
 
   27}
static std::ostream & getOstream()
Get output stream for conversion of exception.
 
std::vector< Trk > mc_trks
MC: list of MC truth tracks.
 
static const int TRK_ST_MUONBUNDLE
initial state muon bundle (mupage)