CMS 3D CMS Logo

MCTruthUtil.h
Go to the documentation of this file.
1 #ifndef SimG4Core_MCTruthUtil_H
2 #define SimG4Core_MCTruthUtil_H
3 
4 class G4Track;
5 
6 /*
7  * Creation and filling initial MC truth information for
8  * primary and secondary G4Track objects, addition to G4Track
9  * an extra CMS container TrackInformation.
10  * Currently is used in StackingAction.
11  */
12 
13 class MCTruthUtil {
14 public:
15  static void primary(G4Track* aPrimary);
16  static void secondary(G4Track* aSecondary, const G4Track& mother, int);
17  static bool isInBTL(const G4Track*);
18 };
19 
20 #endif
static void secondary(G4Track *aSecondary, const G4Track &mother, int)
Definition: MCTruthUtil.cc:18
static bool isInBTL(const G4Track *)
Definition: MCTruthUtil.cc:73
static void primary(G4Track *aPrimary)
Definition: MCTruthUtil.cc:8