10 #ifndef ActarSimROOTAnalSil_h 11 #define ActarSimROOTAnalSil_h 1 18 class G4VPhysicalVolume;
24 #include "G4ClassificationOfNewTrack.hh" 25 #include "G4TrackStatus.hh" 27 #include "G4PrimaryParticle.hh"
TClonesArray * silHitCA
ClonesArray of the hits in the silicons.
void SetTheRunID(G4int id)
void BeginOfEventAction(const G4Event *)
Actions to perform in the silicon anal at the begining of the event.
G4int theEventID
Event ID.
ActarSimROOTAnalSil()
Constructor.
void EndOfEventAction(const G4Event *)
~ActarSimROOTAnalSil()
Destructor. Makes nothing.
TFile * simFile
Local pointer to simFile.
void SetTheEventID(G4int id)
TClonesArray * getSilHitsCA(void)
TBranch * silHitsBranch
Local branch for the silicon hits.
TTree * eventTree
Local pointer to the event tree.
void SetSilHitsCA(TClonesArray *CA)
void SetSilHitsBranch(TBranch *aBranch)
void AddSilHit(ActarSimSilHit *cHit, ActarSimSilGeantHit *gHit, G4int mode)
void UserSteppingAction(const G4Step *)
Actions to perform in the ACTAR gas detector analysis after each step.
TBranch * GetSilHitsBranch()
void GeneratePrimaries(const G4Event *)
Actions to perform in the silicon anal when generating the primaries.
void FillingHits(const G4Event *)
ActarSimSilHit ** theSilHit
Pointer to the hits in the silicons.
void BeginOfRunAction(const G4Run *)
Actions to perform in the silicon anal at the begining of the run.