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
NewTrackAction::NewTrackAction
NewTrackAction()
Definition: NewTrackAction.cc:12
NewTrackAction::addUserInfoToPrimary
void addUserInfoToPrimary(G4Track *aTrack) const
Definition: NewTrackAction.cc:34
NewTrackAction::addUserInfoToSecondary
void addUserInfoToSecondary(G4Track *aTrack, const TrackInformation &motherInfo, int) const
Definition: NewTrackAction.cc:44
NewTrackAction::secondary
void secondary(const G4Track *aSecondary, const G4Track &mother, int) const
Definition: NewTrackAction.cc:18
TrackInformation
Definition: TrackInformation.h:8
NewTrackAction
Definition: NewTrackAction.h:14
NewTrackAction::primary
void primary(const G4Track *aSecondary) const
Definition: NewTrackAction.cc:14