ACTARSim
ACTAR TPC Simulation Reference Guide
|
The ACTAR Scintillator detectorpart of the ROOT Analysis
Definition at line 36 of file ActarSimROOTAnalSci.hh.
Public Member Functions | |
ActarSimROOTAnalSci () | |
Constructor. More... | |
~ActarSimROOTAnalSci () | |
Destructor. Makes nothing. More... | |
G4int | GetTheEventID () |
void | SetTheEventID (G4int id) |
G4int | GetTheRunID () |
void | SetTheRunID (G4int id) |
TBranch * | GetSciHitsBranch () |
void | SetSciHitsBranch (TBranch *aBranch) |
TClonesArray * | getSciHitsCA (void) |
void | SetSciHitsCA (TClonesArray *CA) |
void | FillingHits (const G4Event *anEvent) |
Defining the ActarSimSciHits from the ActarSimSciGeantHits. More... | |
void | AddCalCrystalHit (ActarSimSciHit *, ActarSimSciGeantHit *, G4int) |
void | GeneratePrimaries (const G4Event *) |
Actions to perform in the scintillator anal when generating the primaries. More... | |
void | BeginOfRunAction (const G4Run *) |
Actions to perform in the scintillator 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 * | sciHitsBranch |
Local branch for scintillators. More... | |
ActarSimSciHit ** | theSciHit |
Pointer to the hits in the scintillators. More... | |
TClonesArray * | sciHitCA |
ClonesArray of the hits in the scintillators. More... | |
G4int | theRunID |
Run ID. More... | |
G4int | theEventID |
Event ID. More... | |
#include <ActarSimROOTAnalSci.hh>
ActarSimROOTAnalSci::ActarSimROOTAnalSci | ( | ) |
Constructor.
Definition at line 45 of file ActarSimROOTAnalSci.cc.
ActarSimROOTAnalSci::~ActarSimROOTAnalSci | ( | ) |
Destructor. Makes nothing.
Definition at line 64 of file ActarSimROOTAnalSci.cc.
void ActarSimROOTAnalSci::AddCalCrystalHit | ( | ActarSimSciHit * | cHit, |
ActarSimSciGeantHit * | 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 323 of file ActarSimROOTAnalSci.cc.
Referenced by FillingHits(), and SetSciHitsCA().
void ActarSimROOTAnalSci::BeginOfEventAction | ( | const G4Event * | anEvent | ) |
Actions to perform in the scintillator anal at the begining of the event.
Definition at line 96 of file ActarSimROOTAnalSci.cc.
Referenced by ActarSimROOTAnalysis::BeginOfEventAction(), and SetSciHitsCA().
void ActarSimROOTAnalSci::BeginOfRunAction | ( | const G4Run * | aRun | ) |
Actions to perform in the scintillator anal at the begining of the run.
Definition at line 75 of file ActarSimROOTAnalSci.cc.
Referenced by ActarSimROOTAnalysis::BeginOfRunAction(), and SetSciHitsCA().
void ActarSimROOTAnalSci::EndOfEventAction | ( | const G4Event * | anEvent | ) |
Actions to perform in the scintillator anal at the beginning of the run.
Definition at line 102 of file ActarSimROOTAnalSci.cc.
Referenced by ActarSimROOTAnalysis::EndOfEventAction(), and SetSciHitsCA().
void ActarSimROOTAnalSci::FillingHits | ( | const G4Event * | anEvent | ) |
Defining the ActarSimSciHits from the ActarSimSciGeantHits.
Definition at line 114 of file ActarSimROOTAnalSci.cc.
Referenced by EndOfEventAction(), and SetSciHitsCA().
void ActarSimROOTAnalSci::GeneratePrimaries | ( | const G4Event * | anEvent | ) |
Actions to perform in the scintillator anal when generating the primaries.
Definition at line 69 of file ActarSimROOTAnalSci.cc.
Referenced by ActarSimROOTAnalysis::GeneratePrimaries(), and SetSciHitsCA().
|
inline |
Definition at line 62 of file ActarSimROOTAnalSci.hh.
|
inline |
Definition at line 65 of file ActarSimROOTAnalSci.hh.
|
inline |
Definition at line 57 of file ActarSimROOTAnalSci.hh.
Referenced by AddCalCrystalHit().
|
inline |
Definition at line 59 of file ActarSimROOTAnalSci.hh.
Referenced by AddCalCrystalHit().
|
inline |
Definition at line 63 of file ActarSimROOTAnalSci.hh.
|
inline |
Definition at line 66 of file ActarSimROOTAnalSci.hh.
|
inline |
Definition at line 58 of file ActarSimROOTAnalSci.hh.
Referenced by BeginOfEventAction().
|
inline |
Definition at line 60 of file ActarSimROOTAnalSci.hh.
Referenced by BeginOfRunAction().
void ActarSimROOTAnalSci::UserSteppingAction | ( | const G4Step * | aStep | ) |
Actions to perform in the scintillator detector analysis after each step.
Definition at line 108 of file ActarSimROOTAnalSci.cc.
Referenced by SetSciHitsCA(), and ActarSimROOTAnalysis::UserSteppingAction().
|
private |
Definition at line 38 of file ActarSimROOTAnalSci.hh.
Referenced by BeginOfRunAction().
|
private |
Local pointer to the event tree.
Definition at line 41 of file ActarSimROOTAnalSci.hh.
Referenced by ActarSimROOTAnalSci().
|
private |
ClonesArray of the hits in the scintillators.
Definition at line 46 of file ActarSimROOTAnalSci.hh.
Referenced by ActarSimROOTAnalSci(), FillingHits(), and getSciHitsCA().
|
private |
Local branch for scintillators.
Definition at line 43 of file ActarSimROOTAnalSci.hh.
Referenced by ActarSimROOTAnalSci(), and GetSciHitsBranch().
|
private |
Local pointer to simFile.
Definition at line 40 of file ActarSimROOTAnalSci.hh.
Referenced by ActarSimROOTAnalSci(), and BeginOfRunAction().
|
private |
|
private |
|
private |
Pointer to the hits in the scintillators.
Definition at line 45 of file ActarSimROOTAnalSci.hh.
Referenced by FillingHits().