ACTARSim
ACTAR TPC Simulation Reference Guide
ActarSimPlaSD.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 ActarSimPlaSD_h
11 #define ActarSimPlaSD_h 1
12 
13 #include "G4VSensitiveDetector.hh"
14 #include "ActarSimPlaGeantHit.hh"
15 
16 class G4Step;
17 class G4HCofThisEvent;
18 
19 class ActarSimPlaSD : public G4VSensitiveDetector {
20 private:
21  ActarSimPlaGeantHitsCollection* hitsCollection; ///< Geant step-like hits collect.
22 
23 public:
24  ActarSimPlaSD(G4String);
26 
27  void Initialize(G4HCofThisEvent*);
28  G4bool ProcessHits(G4Step*,G4TouchableHistory*);
29  void EndOfEvent(G4HCofThisEvent*);
30 };
31 #endif
G4THitsCollection< ActarSimPlaGeantHit > ActarSimPlaGeantHitsCollection
ActarSimPlaGeantHitsCollection * hitsCollection
Geant step-like hits collect.
void EndOfEvent(G4HCofThisEvent *)
void Initialize(G4HCofThisEvent *)
ActarSimPlaSD(G4String)
Constructor, just naming the Hit collection.
~ActarSimPlaSD()
Destructor, nothing to do.
G4bool ProcessHits(G4Step *, G4TouchableHistory *)