ACTARSim
ACTAR TPC Simulation Reference Guide
ActarSimSilSD.hh
Go to the documentation of this file.
1 // - AUTHOR: Hector Alvarez-Pol 04/2008
2 /******************************************************************
3  * Copyright (C) 2005-2016, Hector Alvarez-Pol *
4  * All rights reserved. *
5  * *
6  * License according to GNU LESSER GPL (see lgpl-3.0.txt). *
7  * For the list of contributors see CREDITS. *
8  ******************************************************************/
9 
10 #ifndef ActarSimSilSD_h
11 #define ActarSimSilSD_h 1
12 
13 #include "G4VSensitiveDetector.hh"
14 #include "ActarSimSilGeantHit.hh"
15 
16 class G4Step;
17 class G4HCofThisEvent;
18 
19 class ActarSimSilSD : public G4VSensitiveDetector {
20 private:
21  ActarSimSilGeantHitsCollection* hitsCollection; ///< Geant step-like hits collect.
22 
23 public:
24  ActarSimSilSD(G4String);
26 
27  void Initialize(G4HCofThisEvent*);
28  G4bool ProcessHits(G4Step*,G4TouchableHistory*);
29  void EndOfEvent(G4HCofThisEvent*);
30 };
31 #endif
ActarSimSilSD(G4String)
Constructor, just naming the Hit collection.
void EndOfEvent(G4HCofThisEvent *)
G4THitsCollection< ActarSimSilGeantHit > ActarSimSilGeantHitsCollection
void Initialize(G4HCofThisEvent *)
~ActarSimSilSD()
Destructor, nothing to do.
G4bool ProcessHits(G4Step *, G4TouchableHistory *)
ActarSimSilGeantHitsCollection * hitsCollection
Geant step-like hits collect.