ACTARSim
ACTAR TPC Simulation Reference Guide
|
The ACTAR Scintillator detectorpart of the ROOT Analysis
Definition at line 36 of file ActarSimROOTAnalSciRing.hh.
Public Member Functions | |
ActarSimROOTAnalSciRing () | |
Constructor. More... | |
~ActarSimROOTAnalSciRing () | |
Destructor. Makes nothing. More... | |
G4int | GetTheEventID () |
void | SetTheEventID (G4int id) |
G4int | GetTheRunID () |
void | SetTheRunID (G4int id) |
TBranch * | GetSciRingHitsBranch () |
void | SetSciRingHitsBranch (TBranch *aBranch) |
TClonesArray * | getSciRingHitsCA (void) |
void | SetSciRingHitsCA (TClonesArray *CA) |
void | FillingHits (const G4Event *anEvent) |
Defining the ActarSimSciHits from the ActarSimSciGeantHits. More... | |
void | AddCalCrystalHit (ActarSimSciRingHit *, ActarSimSciRingGeantHit *, G4int) |
void | GeneratePrimaries (const G4Event *) |
Actions to perform in the SciRingntillator anal when generating the primaries. More... | |
void | BeginOfRunAction (const G4Run *) |
Actions to perform in the SciRingntillator anal at the begining of the run. More... | |
void | BeginOfEventAction (const G4Event *) |
Actions to perform in the scintillator anal at the begining of the event. More... | |
void | EndOfEventAction (const G4Event *) |
Actions to perform in the scintillator anal at the beginning of the run. More... | |
void | UserSteppingAction (const G4Step *) |
Actions to perform in the scintillator detector analysis after each step. More... | |
Private Attributes | |
char * | dirName |
TFile * | simFile |
Local pointer to simFile. More... | |
TTree * | eventTree |
Local pointer to the event tree. More... | |
TBranch * | sciRingHitsBranch |
Local branch for the scintillator ring hits. More... | |
ActarSimSciRingHit ** | theSciRingHit |
Pointer to the hits in the scintillator ring. More... | |
TClonesArray * | sciRingHitCA |
ClonesArray of the hits in the scintillator ring. More... | |
G4int | theRunID |
Run ID. More... | |
G4int | theEventID |
Event ID. More... | |
#include <ActarSimROOTAnalSciRing.hh>
ActarSimROOTAnalSciRing::ActarSimROOTAnalSciRing | ( | ) |
Constructor.
Definition at line 46 of file ActarSimROOTAnalSciRing.cc.
ActarSimROOTAnalSciRing::~ActarSimROOTAnalSciRing | ( | ) |
Destructor. Makes nothing.
Definition at line 64 of file ActarSimROOTAnalSciRing.cc.
void ActarSimROOTAnalSciRing::AddCalCrystalHit | ( | ActarSimSciRingHit * | cHit, |
ActarSimSciRingGeantHit * | gHit, | ||
G4int | mode | ||
) |
Function to move the information from the ActarSimSciGeantHit (a step hit) to ActarSimSciHit (an event hit) for the Darmstadt-Heidelberg Crystall Ball.
Two modes are possible:
Definition at line 321 of file ActarSimROOTAnalSciRing.cc.
Referenced by FillingHits(), and SetSciRingHitsCA().
void ActarSimROOTAnalSciRing::BeginOfEventAction | ( | const G4Event * | anEvent | ) |
Actions to perform in the scintillator anal at the begining of the event.
Definition at line 94 of file ActarSimROOTAnalSciRing.cc.
Referenced by SetSciRingHitsCA().
void ActarSimROOTAnalSciRing::BeginOfRunAction | ( | const G4Run * | aRun | ) |
Actions to perform in the SciRingntillator anal at the begining of the run.
Definition at line 75 of file ActarSimROOTAnalSciRing.cc.
Referenced by ActarSimROOTAnalysis::BeginOfRunAction(), and SetSciRingHitsCA().
void ActarSimROOTAnalSciRing::EndOfEventAction | ( | const G4Event * | anEvent | ) |
Actions to perform in the scintillator anal at the beginning of the run.
Definition at line 100 of file ActarSimROOTAnalSciRing.cc.
Referenced by ActarSimROOTAnalysis::EndOfEventAction(), and SetSciRingHitsCA().
void ActarSimROOTAnalSciRing::FillingHits | ( | const G4Event * | anEvent | ) |
Defining the ActarSimSciHits from the ActarSimSciGeantHits.
Definition at line 112 of file ActarSimROOTAnalSciRing.cc.
Referenced by EndOfEventAction(), and SetSciRingHitsCA().
void ActarSimROOTAnalSciRing::GeneratePrimaries | ( | const G4Event * | anEvent | ) |
Actions to perform in the SciRingntillator anal when generating the primaries.
Definition at line 69 of file ActarSimROOTAnalSciRing.cc.
Referenced by ActarSimROOTAnalysis::GeneratePrimaries(), and SetSciRingHitsCA().
|
inline |
Definition at line 60 of file ActarSimROOTAnalSciRing.hh.
|
inline |
Definition at line 63 of file ActarSimROOTAnalSciRing.hh.
|
inline |
Definition at line 55 of file ActarSimROOTAnalSciRing.hh.
Referenced by AddCalCrystalHit().
|
inline |
Definition at line 57 of file ActarSimROOTAnalSciRing.hh.
Referenced by AddCalCrystalHit().
|
inline |
Definition at line 61 of file ActarSimROOTAnalSciRing.hh.
|
inline |
Definition at line 64 of file ActarSimROOTAnalSciRing.hh.
|
inline |
Definition at line 56 of file ActarSimROOTAnalSciRing.hh.
Referenced by BeginOfEventAction().
|
inline |
Definition at line 58 of file ActarSimROOTAnalSciRing.hh.
Referenced by BeginOfRunAction().
void ActarSimROOTAnalSciRing::UserSteppingAction | ( | const G4Step * | aStep | ) |
Actions to perform in the scintillator detector analysis after each step.
Definition at line 106 of file ActarSimROOTAnalSciRing.cc.
Referenced by SetSciRingHitsCA(), and ActarSimROOTAnalysis::UserSteppingAction().
|
private |
Definition at line 38 of file ActarSimROOTAnalSciRing.hh.
Referenced by BeginOfRunAction().
|
private |
Local pointer to the event tree.
Definition at line 41 of file ActarSimROOTAnalSciRing.hh.
Referenced by ActarSimROOTAnalSciRing().
|
private |
ClonesArray of the hits in the scintillator ring.
Definition at line 46 of file ActarSimROOTAnalSciRing.hh.
Referenced by ActarSimROOTAnalSciRing(), FillingHits(), and getSciRingHitsCA().
|
private |
Local branch for the scintillator ring hits.
Definition at line 43 of file ActarSimROOTAnalSciRing.hh.
Referenced by ActarSimROOTAnalSciRing(), and GetSciRingHitsBranch().
|
private |
Local pointer to simFile.
Definition at line 40 of file ActarSimROOTAnalSciRing.hh.
Referenced by ActarSimROOTAnalSciRing(), and BeginOfRunAction().
|
private |
|
private |
|
private |
Pointer to the hits in the scintillator ring.
Definition at line 45 of file ActarSimROOTAnalSciRing.hh.
Referenced by FillingHits().