10 #ifndef ActarSimROOTAnalSci_h 11 #define ActarSimROOTAnalSci_h 1 18 class G4VPhysicalVolume;
24 #include "G4ClassificationOfNewTrack.hh" 25 #include "G4TrackStatus.hh" 27 #include "G4PrimaryParticle.hh"
void SetTheRunID(G4int id)
ActarSimROOTAnalSci()
Constructor.
~ActarSimROOTAnalSci()
Destructor. Makes nothing.
void EndOfEventAction(const G4Event *)
Actions to perform in the scintillator anal at the beginning of the run.
TBranch * GetSciHitsBranch()
void UserSteppingAction(const G4Step *)
Actions to perform in the scintillator detector analysis after each step.
void BeginOfRunAction(const G4Run *)
Actions to perform in the scintillator anal at the begining of the run.
TBranch * sciHitsBranch
Local branch for scintillators.
void BeginOfEventAction(const G4Event *)
Actions to perform in the scintillator anal at the begining of the event.
void FillingHits(const G4Event *anEvent)
Defining the ActarSimSciHits from the ActarSimSciGeantHits.
void SetSciHitsBranch(TBranch *aBranch)
void SetSciHitsCA(TClonesArray *CA)
G4int theEventID
Event ID.
TClonesArray * sciHitCA
ClonesArray of the hits in the scintillators.
TTree * eventTree
Local pointer to the event tree.
void GeneratePrimaries(const G4Event *)
Actions to perform in the scintillator anal when generating the primaries.
ActarSimSciHit ** theSciHit
Pointer to the hits in the scintillators.
void AddCalCrystalHit(ActarSimSciHit *, ActarSimSciGeantHit *, G4int)
TClonesArray * getSciHitsCA(void)
TFile * simFile
Local pointer to simFile.
void SetTheEventID(G4int id)