All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
10 #include "larg4/Services/TempHit.h"
12 #include "Geant4/G4VSensitiveDetector.hh"
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();
30  void Initialize(G4HCofThisEvent*);
31  void EndOfEvent(G4HCofThisEvent*);
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 
45 #endif // AuxDetSD_h
G4bool ProcessHits(G4Step *, G4TouchableHistory *)
Definition: AuxDetSD.cc:50
sim::AuxDetHitCollection hitCollection
Definition: AuxDetSD.h:37
std::vector< TempHit > TempHitCollection
Definition: TempHit.h:230
AuxDetSD(G4String name)
Definition: AuxDetSD.cc:33
virtual ~AuxDetSD()
Definition: AuxDetSD.cc:41
TempHitCollection temphitCollection
Definition: AuxDetSD.h:36
std::vector< AuxDetHit > AuxDetHitCollection
Definition: AuxDetHit.h:183
then echo fcl name
void EndOfEvent(G4HCofThisEvent *)
Definition: AuxDetSD.cc:99
const sim::AuxDetHitCollection & GetHits() const
Definition: AuxDetSD.h:33
art framework interface to geometry description
void Initialize(G4HCofThisEvent *)
Definition: AuxDetSD.cc:45