ACTARSim
ACTAR TPC Simulation Reference Guide
Public Member Functions | Private Attributes | List of all members
ActarSimROOTAnalSciRing Class Reference

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>

+ Collaboration diagram for ActarSimROOTAnalSciRing:

Constructor & Destructor Documentation

ActarSimROOTAnalSciRing::ActarSimROOTAnalSciRing ( )

Constructor.

Definition at line 46 of file ActarSimROOTAnalSciRing.cc.

ActarSimROOTAnalSciRing::~ActarSimROOTAnalSciRing ( )

Destructor. Makes nothing.

Definition at line 64 of file ActarSimROOTAnalSciRing.cc.

Member Function Documentation

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().

TBranch* ActarSimROOTAnalSciRing::GetSciRingHitsBranch ( )
inline

Definition at line 60 of file ActarSimROOTAnalSciRing.hh.

TClonesArray* ActarSimROOTAnalSciRing::getSciRingHitsCA ( void  )
inline

Definition at line 63 of file ActarSimROOTAnalSciRing.hh.

G4int ActarSimROOTAnalSciRing::GetTheEventID ( )
inline

Definition at line 55 of file ActarSimROOTAnalSciRing.hh.

Referenced by AddCalCrystalHit().

G4int ActarSimROOTAnalSciRing::GetTheRunID ( )
inline

Definition at line 57 of file ActarSimROOTAnalSciRing.hh.

Referenced by AddCalCrystalHit().

void ActarSimROOTAnalSciRing::SetSciRingHitsBranch ( TBranch *  aBranch)
inline

Definition at line 61 of file ActarSimROOTAnalSciRing.hh.

void ActarSimROOTAnalSciRing::SetSciRingHitsCA ( TClonesArray *  CA)
inline

Definition at line 64 of file ActarSimROOTAnalSciRing.hh.

void ActarSimROOTAnalSciRing::SetTheEventID ( G4int  id)
inline

Definition at line 56 of file ActarSimROOTAnalSciRing.hh.

Referenced by BeginOfEventAction().

void ActarSimROOTAnalSciRing::SetTheRunID ( G4int  id)
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().

Member Data Documentation

char* ActarSimROOTAnalSciRing::dirName
private

Definition at line 38 of file ActarSimROOTAnalSciRing.hh.

Referenced by BeginOfRunAction().

TTree* ActarSimROOTAnalSciRing::eventTree
private

Local pointer to the event tree.

Definition at line 41 of file ActarSimROOTAnalSciRing.hh.

Referenced by ActarSimROOTAnalSciRing().

TClonesArray* ActarSimROOTAnalSciRing::sciRingHitCA
private

ClonesArray of the hits in the scintillator ring.

Definition at line 46 of file ActarSimROOTAnalSciRing.hh.

Referenced by ActarSimROOTAnalSciRing(), FillingHits(), and getSciRingHitsCA().

TBranch* ActarSimROOTAnalSciRing::sciRingHitsBranch
private

Local branch for the scintillator ring hits.

Definition at line 43 of file ActarSimROOTAnalSciRing.hh.

Referenced by ActarSimROOTAnalSciRing(), and GetSciRingHitsBranch().

TFile* ActarSimROOTAnalSciRing::simFile
private

Local pointer to simFile.

Definition at line 40 of file ActarSimROOTAnalSciRing.hh.

Referenced by ActarSimROOTAnalSciRing(), and BeginOfRunAction().

G4int ActarSimROOTAnalSciRing::theEventID
private

Event ID.

Definition at line 49 of file ActarSimROOTAnalSciRing.hh.

Referenced by GetTheEventID().

G4int ActarSimROOTAnalSciRing::theRunID
private

Run ID.

Definition at line 48 of file ActarSimROOTAnalSciRing.hh.

Referenced by GetTheRunID().

ActarSimSciRingHit** ActarSimROOTAnalSciRing::theSciRingHit
private

Pointer to the hits in the scintillator ring.

Definition at line 45 of file ActarSimROOTAnalSciRing.hh.

Referenced by FillingHits().


The documentation for this class was generated from the following files: