AuxDetSD.h
Go to the documentation of this file.
1 //=============================================================================
2 // AuxDetSD.h: Class representing a sensitive for a thin CRT detector
3 // Author: Hans Wenzel (Fermilab)
4 //=============================================================================
5 #ifndef AuxDetSD_h
6 #define AuxDetSD_h 1
10 #include "Geant4/G4VSensitiveDetector.hh"
11 
12 #if defined __clang__
13  #pragma clang diagnostic push
14  #pragma clang diagnostic ignored "-Wunused-private-field"
15 #endif
16 
17 class G4Step;
18 class G4HCofThisEvent;
20 
21 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
22 namespace larg4 {
23 
24  class AuxDetSD : public G4VSensitiveDetector {
25  public:
26  AuxDetSD(G4String name );
27  virtual ~AuxDetSD();
28  void Initialize(G4HCofThisEvent*);
29  void EndOfEvent(G4HCofThisEvent*);
30  G4bool ProcessHits(G4Step*, G4TouchableHistory*);
31  const sim::AuxDetHitCollection& GetHits() const { return hitCollection; }
32 
33  private:
36  };
37 } // namespace larg4
38 #if defined __clang__
39  #pragma clang diagnostic pop
40 #endif
41 
42 #endif
43 
G4bool ProcessHits(G4Step *, G4TouchableHistory *)
Definition: AuxDetSD.cc:50
static QCString name
Definition: declinfo.cpp:673
sim::AuxDetHitCollection hitCollection
Definition: AuxDetSD.h:35
std::vector< TempHit > TempHitCollection
Definition: TempHit.h:230
Geant4 interface.
art framework interface to geometry description
AuxDetSD(G4String name)
Definition: AuxDetSD.cc:33
virtual ~AuxDetSD()
Definition: AuxDetSD.cc:41
TempHitCollection temphitCollection
Definition: AuxDetSD.h:34
std::vector< AuxDetHit > AuxDetHitCollection
Definition: AuxDetHit.h:183
void EndOfEvent(G4HCofThisEvent *)
Definition: AuxDetSD.cc:99
const sim::AuxDetHitCollection & GetHits() const
Definition: AuxDetSD.h:31
void Initialize(G4HCofThisEvent *)
Definition: AuxDetSD.cc:45