/home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/geo/include/RAT/BWVetGenericChamber.hh Source File

Ratpac-two: /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/geo/include/RAT/BWVetGenericChamber.hh Source File
Ratpac-two
BWVetGenericChamber.hh
1 //
2 // $Id: BWVetGenericChamber.hh,v 1.1 2005/09/28 05:04:23 sekula Exp $
3 // --------------------------------------------------------------
4 //
5 #ifndef __RAT_BWVetGenericChamber__
6 #define __RAT_BWVetGenericChamber__
7 
8 #include <G4VSensitiveDetector.hh>
9 #include <RAT/BWVetGenericChamberHit.hh>
10 
11 class G4Step;
12 class G4HCofThisEvent;
13 class G4TouchableHistory;
14 
15 namespace RAT {
16 
17 class BWVetGenericChamber : public G4VSensitiveDetector //, public GLG4Configurable
18 {
19  public:
20  BWVetGenericChamber(G4String name);
21  virtual ~BWVetGenericChamber();
22 
23  virtual void Initialize(G4HCofThisEvent *HCE);
24  virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist);
25  virtual void EndOfEvent(G4HCofThisEvent *HCE);
26 
27  // Data members which are publicly accessible and can be
28  // written out to the RAT event tree
29 
30  std::vector<double> _hit_x;
32  std::vector<double> _hit_y;
34  std::vector<double> _hit_z;
36  std::vector<double> _hit_E;
38  std::vector<double> _hit_time;
40  std::vector<int> _hit_uid;
42  std::vector<int> _hit_pdg;
44  std::vector<std::string> _hit_volume;
47  private:
48  int fLastEventID;
49  int fLastTrackID;
50 
51  BWVetGenericChamberHitsCollection *_hitsCollection;
52  G4int HCID;
53  G4HCofThisEvent *_HCE;
54 };
55 
56 } // namespace RAT
57 
58 #endif
Definition: BWVetGenericChamber.hh:18
std::vector< double > _hit_time
Definition: BWVetGenericChamber.hh:38
std::vector< double > _hit_y
Definition: BWVetGenericChamber.hh:32
std::vector< std::string > _hit_volume
Definition: BWVetGenericChamber.hh:44
std::vector< int > _hit_uid
Definition: BWVetGenericChamber.hh:40
std::vector< int > _hit_pdg
Definition: BWVetGenericChamber.hh:42
std::vector< double > _hit_z
Definition: BWVetGenericChamber.hh:34
std::vector< double > _hit_E
Definition: BWVetGenericChamber.hh:36
Definition: CCCrossSecMessenger.hh:29