10 #ifndef ActarSimROOTAnalPla_h 11 #define ActarSimROOTAnalPla_h 1 18 class G4VPhysicalVolume;
24 #include "G4ClassificationOfNewTrack.hh" 25 #include "G4TrackStatus.hh" 27 #include "G4PrimaryParticle.hh"
void SetPlaHitsCA(TClonesArray *CA)
void SetTheRunID(G4int id)
TBranch * plaHitsBranch
Local branch for plastics.
void SetTheEventID(G4int id)
ActarSimROOTAnalPla()
Constructor.
void FillingHits(const G4Event *anEvent)
Defining the ActarSimSciHits from the ActarSimSciGeantHits.
TTree * eventTree
Local pointer to the event tree.
void AddCalPlaHit(ActarSimPlaHit *, ActarSimPlaGeantHit *, G4int)
void SetPlaHitsBranch(TBranch *aBranch)
TFile * simFile
Local pointer to simFile.
G4int theEventID
Event ID.
TClonesArray * plaHitCA
ClonesArray of the hits in the plastic.
void BeginOfEventAction(const G4Event *)
Actions to perform in the scintillator anal at the begining of the event.
ActarSimPlaHit ** thePlaHit
Pointer to the hits in the plastic.
TBranch * GetPlaHitsBranch()
void GeneratePrimaries(const G4Event *)
Actions to perform in the scintillator anal when generating the primaries.
~ActarSimROOTAnalPla()
Destructor. Makes nothing.
void UserSteppingAction(const G4Step *)
Actions to perform in the scintillator detector analysis after each step.
TClonesArray * getPlaHitsCA(void)
void BeginOfRunAction(const G4Run *)
Actions to perform in the scintillator anal at the begining of the run.
void EndOfEventAction(const G4Event *)
Actions to perform in the scintillator anal at the beginning of the run.