ACTARSim
ACTAR TPC Simulation Reference Guide
|
The Plastic Scintillator detector part of the ROOT Analysis
Definition at line 36 of file ActarSimROOTAnalPla.hh.
Public Member Functions | |
ActarSimROOTAnalPla () | |
Constructor. More... | |
~ActarSimROOTAnalPla () | |
Destructor. Makes nothing. More... | |
G4int | GetTheEventID () |
void | SetTheEventID (G4int id) |
G4int | GetTheRunID () |
void | SetTheRunID (G4int id) |
TBranch * | GetPlaHitsBranch () |
void | SetPlaHitsBranch (TBranch *aBranch) |
TClonesArray * | getPlaHitsCA (void) |
void | SetPlaHitsCA (TClonesArray *CA) |
void | FillingHits (const G4Event *anEvent) |
Defining the ActarSimSciHits from the ActarSimSciGeantHits. More... | |
void | AddCalPlaHit (ActarSimPlaHit *, ActarSimPlaGeantHit *, 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 * | plaHitsBranch |
Local branch for plastics. More... | |
ActarSimPlaHit ** | thePlaHit |
Pointer to the hits in the plastic. More... | |
TClonesArray * | plaHitCA |
ClonesArray of the hits in the plastic. More... | |
G4int | theRunID |
Run ID. More... | |
G4int | theEventID |
Event ID. More... | |
#include <ActarSimROOTAnalPla.hh>
ActarSimROOTAnalPla::ActarSimROOTAnalPla | ( | ) |
Constructor.
Definition at line 45 of file ActarSimROOTAnalPla.cc.
ActarSimROOTAnalPla::~ActarSimROOTAnalPla | ( | ) |
Destructor. Makes nothing.
Definition at line 63 of file ActarSimROOTAnalPla.cc.
void ActarSimROOTAnalPla::AddCalPlaHit | ( | ActarSimPlaHit * | cHit, |
ActarSimPlaGeantHit * | 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 400 of file ActarSimROOTAnalPla.cc.
Referenced by FillingHits(), and SetPlaHitsCA().
void ActarSimROOTAnalPla::BeginOfEventAction | ( | const G4Event * | anEvent | ) |
Actions to perform in the scintillator anal at the begining of the event.
Definition at line 96 of file ActarSimROOTAnalPla.cc.
Referenced by ActarSimROOTAnalysis::BeginOfEventAction(), and SetPlaHitsCA().
void ActarSimROOTAnalPla::BeginOfRunAction | ( | const G4Run * | aRun | ) |
Actions to perform in the scintillator anal at the begining of the run.
Definition at line 74 of file ActarSimROOTAnalPla.cc.
Referenced by ActarSimROOTAnalysis::BeginOfRunAction(), and SetPlaHitsCA().
void ActarSimROOTAnalPla::EndOfEventAction | ( | const G4Event * | anEvent | ) |
Actions to perform in the scintillator anal at the beginning of the run.
Definition at line 102 of file ActarSimROOTAnalPla.cc.
Referenced by ActarSimROOTAnalysis::EndOfEventAction(), and SetPlaHitsCA().
void ActarSimROOTAnalPla::FillingHits | ( | const G4Event * | anEvent | ) |
Defining the ActarSimSciHits from the ActarSimSciGeantHits.
Definition at line 114 of file ActarSimROOTAnalPla.cc.
Referenced by EndOfEventAction(), and SetPlaHitsCA().
void ActarSimROOTAnalPla::GeneratePrimaries | ( | const G4Event * | anEvent | ) |
Actions to perform in the scintillator anal when generating the primaries.
Definition at line 68 of file ActarSimROOTAnalPla.cc.
Referenced by ActarSimROOTAnalysis::GeneratePrimaries(), and SetPlaHitsCA().
|
inline |
Definition at line 63 of file ActarSimROOTAnalPla.hh.
|
inline |
Definition at line 66 of file ActarSimROOTAnalPla.hh.
|
inline |
Definition at line 58 of file ActarSimROOTAnalPla.hh.
Referenced by AddCalPlaHit().
|
inline |
Definition at line 60 of file ActarSimROOTAnalPla.hh.
Referenced by AddCalPlaHit().
|
inline |
Definition at line 64 of file ActarSimROOTAnalPla.hh.
|
inline |
Definition at line 67 of file ActarSimROOTAnalPla.hh.
|
inline |
Definition at line 59 of file ActarSimROOTAnalPla.hh.
Referenced by BeginOfEventAction().
|
inline |
Definition at line 61 of file ActarSimROOTAnalPla.hh.
Referenced by BeginOfRunAction().
void ActarSimROOTAnalPla::UserSteppingAction | ( | const G4Step * | aStep | ) |
Actions to perform in the scintillator detector analysis after each step.
Definition at line 108 of file ActarSimROOTAnalPla.cc.
Referenced by SetPlaHitsCA(), and ActarSimROOTAnalysis::UserSteppingAction().
|
private |
Definition at line 38 of file ActarSimROOTAnalPla.hh.
Referenced by BeginOfRunAction().
|
private |
Local pointer to the event tree.
Definition at line 41 of file ActarSimROOTAnalPla.hh.
Referenced by ActarSimROOTAnalPla().
|
private |
ClonesArray of the hits in the plastic.
Definition at line 46 of file ActarSimROOTAnalPla.hh.
Referenced by ActarSimROOTAnalPla(), FillingHits(), and getPlaHitsCA().
|
private |
Local branch for plastics.
Definition at line 43 of file ActarSimROOTAnalPla.hh.
Referenced by ActarSimROOTAnalPla(), and GetPlaHitsBranch().
|
private |
Local pointer to simFile.
Definition at line 40 of file ActarSimROOTAnalPla.hh.
Referenced by ActarSimROOTAnalPla(), and BeginOfRunAction().
|
private |
|
private |
Pointer to the hits in the plastic.
Definition at line 45 of file ActarSimROOTAnalPla.hh.
Referenced by FillingHits().
|
private |