Class Reference for E1039 Core & Analysis Software
GenericSD.hh
Go to the documentation of this file.
1 #ifndef GenericSD_h
2 #define GenericSD_h 1
3 
4 #include "MCHit.hh"
5 
6 #include <G4VSensitiveDetector.hh>
7 #include <G4HCofThisEvent.hh>
8 #include <G4Step.hh>
9 #include <G4ThreeVector.hh>
10 #include <G4SDManager.hh>
11 #include <G4ios.hh>
12 
13 class G4Step;
14 class G4HCofThisEvent;
15 
16 class GenericSD : public G4VSensitiveDetector
17 {
18  public:
19  GenericSD(G4String);
20  ~GenericSD();
21 
22  void Initialize(G4HCofThisEvent*);
23  G4bool ProcessHits(G4Step*, G4TouchableHistory*);
24  void EndOfEvent(G4HCofThisEvent*);
25 
26  private:
27  MCHitsCollection* staHitsCollection;
28 
29 };
30 
31 #endif
G4THitsCollection< MCHit > MCHitsCollection
Definition: MCHit.hh:79
G4bool ProcessHits(G4Step *, G4TouchableHistory *)
Definition: GenericSD.cc:24
~GenericSD()
Definition: GenericSD.cc:11
GenericSD(G4String)
Definition: GenericSD.cc:5
void EndOfEvent(G4HCofThisEvent *)
Definition: GenericSD.cc:58
void Initialize(G4HCofThisEvent *)
Definition: GenericSD.cc:15