ATLAS Offline Software
DerivedG4SensitiveDetector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef G4MySensitiveDetector_h
6 #define G4MySensitiveDetector_h
7 
8 #include "G4VSensitiveDetector.hh"
9 
10 class G4MySensitiveDetector : public G4VSensitiveDetector {
11 
12 public:
13 
14  G4MySensitiveDetector(G4String SDname):G4VSensitiveDetector(SDname)
15  {
16 
17  }
18 
20 
21  G4bool ProcessHits(G4Step*aStep,G4TouchableHistory*ROhist)
22  {
23  (void)aStep;
24  (void)ROhist;
25  return true;
26  }
27 
28 };
29 #endif
G4MySensitiveDetector
Definition: DerivedG4SensitiveDetector.h:10
G4MySensitiveDetector::ProcessHits
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist)
Definition: DerivedG4SensitiveDetector.h:21
G4MySensitiveDetector::G4MySensitiveDetector
G4MySensitiveDetector(G4String SDname)
Definition: DerivedG4SensitiveDetector.h:14
G4MySensitiveDetector::~G4MySensitiveDetector
~G4MySensitiveDetector()
Definition: DerivedG4SensitiveDetector.h:19