4 #ifndef _TRACK_INFO_SD_H_
5 #define _TRACK_INFO_SD_H_
7 #include "G4VSensitiveDetector.hh"
15 class G4HCofThisEvent;
24 const G4String& a_hitsCollectionName,
30 virtual void Initialize(G4HCofThisEvent* hitCollection);
31 virtual G4bool
ProcessHits(G4Step* step, G4TouchableHistory* history);
32 virtual void EndOfEvent(G4HCofThisEvent* hitCollection);
37 std::map<std::string , std::map<int , TrackInfo > >
m_tracks;
Run action class used to push events into root trees.
Definition: NSDG4RunAction.h:21
Definition: TrackInfoSD.h:21
void setRunAction(RunAction *a_runAction)
Definition: TrackInfoSD.cpp:96
virtual G4bool ProcessHits(G4Step *step, G4TouchableHistory *history)
Definition: TrackInfoSD.cpp:48
std::map< std::string, std::map< int, TrackInfo > > m_tracks
Definition: TrackInfoSD.h:37
std::string m_name
Definition: TrackInfoSD.h:39
virtual void Initialize(G4HCofThisEvent *hitCollection)
Definition: TrackInfoSD.cpp:35
virtual ~TrackInfoSD()
Definition: TrackInfoSD.cpp:31
virtual void EndOfEvent(G4HCofThisEvent *hitCollection)
Definition: TrackInfoSD.cpp:76
RunAction * m_runAction
Definition: TrackInfoSD.h:38
TrackInfoSD(const G4String &a_name, const G4String &a_hitsCollectionName, int a_copyDepth=0)
Definition: TrackInfoSD.cpp:17
int m_copyDepth
Definition: TrackInfoSD.h:34