SimEnergyDepositSD.h
Go to the documentation of this file.
1 #ifndef LARG4_SERVICES_SIMENERGYDEPOSITSD_H
2 #define LARG4_SERVICES_SIMENERGYDEPOSITSD_H
3 // vim: set sw=2 expandtab :
4 //
5 // __ __ __ __ __
6 // ____ ______/ /_____ _/ // / / /_/ /__
7 // / __ `/ ___/ __/ __ `/ // /_/ __/ //_/
8 // / /_/ / / / /_/ /_/ /__ __/ /_/ ,<
9 // \__,_/_/ \__/\__, / /_/ \__/_/|_|
10 // /____/
11 //
12 // artg4tk: art based Geant 4 Toolkit
13 //
14 //=============================================================================
15 // SimEnergyDepositSD: Class representing a liquid Ar TPC
16 // Author: Hans Wenzel (Fermilab)
17 //=============================================================================
18 
19 #include "Geant4/G4VSensitiveDetector.hh"
21 
22 class G4Step;
23 class G4HCofThisEvent;
24 //class SimEnergyDepositCollection;
25 
26 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
27 namespace larg4 {
28 
29  class SimEnergyDepositSD : public G4VSensitiveDetector {
30  public:
31  SimEnergyDepositSD(G4String);
33  void Initialize(G4HCofThisEvent*);
34  G4bool ProcessHits(G4Step*, G4TouchableHistory*);
36  private:
38  };
39 
40  //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
41 }
42 
43 #endif // LARG4_SERVICES_SIMENERGYDEPOSITSD_H
sim::SimEnergyDepositCollection hitCollection
Geant4 interface.
void Initialize(G4HCofThisEvent *)
const sim::SimEnergyDepositCollection & GetHits() const
std::vector< SimEnergyDeposit > SimEnergyDepositCollection
contains information for a single step in the detector simulation
G4bool ProcessHits(G4Step *, G4TouchableHistory *)