test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
16 public:
18  void primary(const G4Track * aSecondary) const;
19  void primary(G4Track * aSecondary) const;
20  void secondary(const G4Track * aSecondary,const G4Track & mother, int) const;
21  void secondary(G4Track * aSecondary,const G4Track & mother, int) const;
22 private:
23  void addUserInfoToPrimary(G4Track * aTrack) const;
24  void addUserInfoToSecondary(G4Track * aTrack,
25  const TrackInformation & motherInfo, int) const;
26 };
27 
28 #endif
void primary(const G4Track *aSecondary) const
void addUserInfoToPrimary(G4Track *aTrack) const
void secondary(const G4Track *aSecondary, const G4Track &mother, int) const
void addUserInfoToSecondary(G4Track *aTrack, const TrackInformation &motherInfo, int) const