CMS 3D CMS Logo

NewTrackAction.h
Go to the documentation of this file.
1 #ifndef SimG4Core_NewTrackAction_H
2 #define SimG4Core_NewTrackAction_H
3 
4 class G4Track;
5 class TrackInformation;
6 
15 public:
17  void primary(const G4Track* aSecondary) const;
18  void primary(G4Track* aSecondary) const;
19  void secondary(const G4Track* aSecondary, const G4Track& mother, int) const;
20  void secondary(G4Track* aSecondary, const G4Track& mother, int) const;
21 
22 private:
23  void addUserInfoToPrimary(G4Track* aTrack) const;
24  void addUserInfoToSecondary(G4Track* aTrack, const TrackInformation& motherInfo, int) const;
25 };
26 
27 #endif
void addUserInfoToSecondary(G4Track *aTrack, const TrackInformation &motherInfo, int) const
void addUserInfoToPrimary(G4Track *aTrack) const
void secondary(const G4Track *aSecondary, const G4Track &mother, int) const
void primary(const G4Track *aSecondary) const