LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 // Include guard
6 #ifndef AuxDetSD_h
7 #define AuxDetSD_h 1
8 
9 #include "Geant4/G4VSensitiveDetector.hh"
12 #include "larg4/Services/TempHit.h"
13 
14 #if defined __clang__
15 #pragma clang diagnostic push
16 #pragma clang diagnostic ignored "-Wunused-private-field"
17 #endif
18 
19 class G4Step;
20 class G4HCofThisEvent;
22 
23 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
24 namespace larg4 {
25 
26  class AuxDetSD : public G4VSensitiveDetector {
27  public:
28  AuxDetSD(G4String name);
29  virtual ~AuxDetSD();
32  G4bool ProcessHits(G4Step*, G4TouchableHistory*);
33  const sim::AuxDetHitCollection& GetHits() const { return hitCollection; }
34 
35  private:
38  };
39 } // namespace larg4
40 #if defined __clang__
41 #pragma clang diagnostic pop
42 #endif
43 
44 #endif // AuxDetSD_h
G4bool ProcessHits(G4Step *, G4TouchableHistory *)
Definition: AuxDetSD.cc:48
sim::AuxDetHitCollection hitCollection
Definition: AuxDetSD.h:37
std::vector< TempHit > TempHitCollection
Definition: TempHit.h:172
Geant4 interface.
AuxDetSD(G4String name)
Definition: AuxDetSD.cc:33
virtual ~AuxDetSD()
Definition: AuxDetSD.cc:40
TempHitCollection temphitCollection
Definition: AuxDetSD.h:36
std::vector< AuxDetHit > AuxDetHitCollection
Definition: AuxDetHit.h:126
void EndOfEvent(G4HCofThisEvent *)
Definition: AuxDetSD.cc:95
const sim::AuxDetHitCollection & GetHits() const
Definition: AuxDetSD.h:33
art framework interface to geometry description
void Initialize(G4HCofThisEvent *)
Definition: AuxDetSD.cc:42