10 #ifndef ActarSimROOTAnalSciRing_h 11 #define ActarSimROOTAnalSciRing_h 1 18 class G4VPhysicalVolume;
24 #include "G4ClassificationOfNewTrack.hh" 25 #include "G4TrackStatus.hh" 27 #include "G4PrimaryParticle.hh" void BeginOfRunAction(const G4Run *)
Actions to perform in the SciRingntillator anal at the begining of the run.
void UserSteppingAction(const G4Step *)
Actions to perform in the scintillator detector analysis after each step.
void SetTheRunID(G4int id)
void GeneratePrimaries(const G4Event *)
Actions to perform in the SciRingntillator anal when generating the primaries.
void FillingHits(const G4Event *anEvent)
Defining the ActarSimSciHits from the ActarSimSciGeantHits.
ActarSimROOTAnalSciRing()
Constructor.
void SetSciRingHitsCA(TClonesArray *CA)
void SetTheEventID(G4int id)
void SetSciRingHitsBranch(TBranch *aBranch)
TFile * simFile
Local pointer to simFile.
TBranch * sciRingHitsBranch
Local branch for the scintillator ring hits.
TClonesArray * sciRingHitCA
ClonesArray of the hits in the scintillator ring.
TClonesArray * getSciRingHitsCA(void)
TBranch * GetSciRingHitsBranch()
ActarSimSciRingHit ** theSciRingHit
Pointer to the hits in the scintillator ring.
void BeginOfEventAction(const G4Event *)
Actions to perform in the scintillator anal at the begining of the event.
void AddCalCrystalHit(ActarSimSciRingHit *, ActarSimSciRingGeantHit *, G4int)
TTree * eventTree
Local pointer to the event tree.
void EndOfEventAction(const G4Event *)
Actions to perform in the scintillator anal at the beginning of the run.
G4int theEventID
Event ID.
~ActarSimROOTAnalSciRing()
Destructor. Makes nothing.