FragmRecUtils.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \namespace genie::utils::fragmrec
5 
6 \brief Simple utilities for the Fragmentation Event Record.
7 
8  The Fragmentation event record is a TClonesArray of GHepParticle's -
9  equivalent to PYTHIA's PYJETS.
10 
11 \author Costas Andreopoulos <costas.andreopoulos \at stfc.ac.uk>
12  University of Liverpool & STFC Rutherford Appleton Lab
13 
14 \created November 26, 2004
15 
16 \cpright Copyright (c) 2003-2019, The GENIE Collaboration
17  For the full text of the license visit http://copyright.genie-mc.org
18  or see $GENIE/LICENSE
19 */
20 //____________________________________________________________________________
21 
22 #ifndef _FRAGM_REC_UTILS_H_
23 #define _FRAGM_REC_UTILS_H_
24 
25 #include <TClonesArray.h>
26 
28 
29 namespace genie {
30 namespace utils {
31 
32 namespace fragmrec
33 {
34  int NParticles(int pdg_code, const TClonesArray * const particle_list);
35  int NParticles(int pdg_code, GHepStatus_t status, const TClonesArray * const particle_list);
36  int NPositives(const TClonesArray * const particle_list);
37  int NNegatives(const TClonesArray * const particle_list);
38 
39  void Print(const TClonesArray * const part_list);
40 
41 } // fragmrec namespace
42 } // utils namespace
43 } // genie namespace
44 
45 #endif // _FRAGM_REC_UTILS_H_
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:26
enum genie::EGHepStatus GHepStatus_t
int NNegatives(const TClonesArray *const particle_list)
Definition: utils.py:1
void Print(const TClonesArray *const part_list)
int NPositives(const TClonesArray *const particle_list)
int NParticles(int pdg_code, const TClonesArray *const particle_list)