00001 #ifndef IG_G4_DEMO_IG_G4DEMO_SD_H
00002 # define IG_G4_DEMO_IG_G4DEMO_SD_H
00003
00004
00005
00006 # include "VisExamples/VisG4ExN02/src/VisG4ExampleHit.h"
00007 # include <G4VSensitiveDetector.hh>
00008
00009
00010
00011
00012
00013
00014
00015
00016 class IG_G4_DEMO_API VisG4ExampleSD : public G4VSensitiveDetector
00017 {
00018 public:
00019 VisG4ExampleSD (const std::string &name);
00020
00021
00022
00023
00024 virtual void Initialize (G4HCofThisEvent *HCE);
00025 virtual bool ProcessHits (G4Step *step, G4TouchableHistory *);
00026
00027 private:
00028 VisG4ExampleHitsCollection *m_hits;
00029 };
00030
00031
00032
00033
00034 #endif // IG_G4_DEMO_IG_G4DEMO_SD_H