QwGeant4
QweakSimPMTOnly_DetectorSD.hh
Go to the documentation of this file.
1 
2 // QweakSimPMTOnly_DetectorSD.hh
3 // Martin McHugh
4 // 2013-07-20
5 
6 /////// --------------------------------------------------------------------
7 
8 #ifndef QweakSimPMTOnly_DetectorSD_h
9 #define QweakSimPMTOnly_DetectorSD_h
10 
11 //--- user includes
14 
15 
16 
17 /////// --------------------------------------------------------------------
18 
19 class QweakSimPMTOnly_DetectorSD : public G4VSensitiveDetector
20 {
21 
22 public:
23  QweakSimPMTOnly_DetectorSD(G4String name);
25 
26  void Initialize(G4HCofThisEvent* HCE);
27  G4bool ProcessHits(G4Step* aStep, G4TouchableHistory* ROhist);
28  void EndOfEvent(G4HCofThisEvent* HCE);
29 
30 private:
31 
34 
35 };
36 
37 
38 
39 /////// --------------------------------------------------------------------
40 
41 #endif
42 
43 /////// --------------------------------------------------------------------
void Initialize(G4HCofThisEvent *HCE)
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist)
QweakSimPMTOnly_DetectorHitsCollection * PMTOnly_DetectorHitsCollection
void EndOfEvent(G4HCofThisEvent *HCE)
G4THitsCollection< QweakSimPMTOnly_DetectorHit > QweakSimPMTOnly_DetectorHitsCollection