Last change
on this file since 286 was
286,
checked in by campagne, 17 years ago
|
ELYSE sauvegarde provisoire (JEC)
|
File size:
727 bytes
|
Line | |
---|
1 | #ifndef ELYSETrappingVolume_h |
---|
2 | #define ELYSETrappingVolume_h 1 |
---|
3 | |
---|
4 | //Geant4 |
---|
5 | #include "G4VSensitiveDetector.hh" |
---|
6 | |
---|
7 | //ELYSE |
---|
8 | #include "ELYSE/TrappVolHit.hh" |
---|
9 | |
---|
10 | class G4Step; |
---|
11 | class G4HCofThisEvent; |
---|
12 | |
---|
13 | namespace ELYSE { |
---|
14 | |
---|
15 | class DetectorConstruction; |
---|
16 | |
---|
17 | |
---|
18 | class TrappingVolume : public G4VSensitiveDetector { |
---|
19 | public: |
---|
20 | TrappingVolume(G4String, DetectorConstruction*); //JEC 25/1/06 |
---|
21 | virtual ~TrappingVolume(); |
---|
22 | |
---|
23 | void Initialize(G4HCofThisEvent*); |
---|
24 | G4bool ProcessHits(G4Step*, G4TouchableHistory*); |
---|
25 | G4bool ProcessHits_constStep(const G4Step*, G4TouchableHistory*); |
---|
26 | void EndOfEvent(G4HCofThisEvent*); |
---|
27 | |
---|
28 | private: |
---|
29 | |
---|
30 | TrappVolHitsCollection* hitsCollection; |
---|
31 | G4int HCID; |
---|
32 | |
---|
33 | DetectorConstruction* ELYSEDetConstruction; |
---|
34 | |
---|
35 | }; |
---|
36 | |
---|
37 | } |
---|
38 | #endif |
---|
39 | |
---|
Note: See
TracBrowser
for help on using the repository browser.