Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

MaGeOutputGermaniumArray Class Reference

#include <MaGeOutputGermaniumArray.hh>

Inheritance diagram for MaGeOutputGermaniumArray:

MJOutputRoot MJVOutputManager List of all members.

Public Member Functions

 MaGeOutputGermaniumArray (G4bool isMother, G4bool needt)
 MaGeOutputGermaniumArray (const MaGeOutputGermaniumArray &)
 ~MaGeOutputGermaniumArray ()
void SetTrajectoryInformation (G4bool needt)
void DefineSchema ()
void BeginOfRunAction ()
void BeginOfEventAction (const G4Event *event)
void EndOfEventAction (const G4Event *event)
void EndOfRunAction ()
void RootSteppingAction (const G4Step *step)

Private Attributes

G4bool NeedTrajectoryInformation
Int_t eventnumber
Int_t numvertex
Float_t xpos_vertex [MAX_NVTX]
Float_t ypos_vertex [MAX_NVTX]
Float_t zpos_vertex [MAX_NVTX]
Float_t time_vertex [MAX_NVTX]
Int_t numparticle_vertex [MAX_NVTX]
Int_t numparticles
Int_t particle [MAX_NTRJ]
Int_t ivertex_particle [MAX_NTRJ]
Float_t px_particle [MAX_NTRJ]
Float_t py_particle [MAX_NTRJ]
Float_t pz_particle [MAX_NTRJ]
Float_t pe_particle [MAX_NTRJ]
Int_t id_particle [MAX_NTRJ]
Int_t numhits
Float_t tote_hits
Float_t edep_hits [MAX_NHITS]
Float_t xpos_hits [MAX_NHITS]
Float_t ypos_hits [MAX_NHITS]
Float_t zpos_hits [MAX_NHITS]
Int_t idge_hits [MAX_NHITS]
Int_t numgedet
Int_t idge_gedet [MAX_NGEDET]
Int_t numhits_gedet [MAX_NGEDET]
Float_t edep_gedet [MAX_NGEDET]
float edep_allgedet [MAX_NGEDET]
int numhits_allgedet [MAX_NGEDET]
int numtrj
int id_trj [MAX_NTRJ]
int pid_trj [MAX_NTRJ]
int pdgencode_trj [MAX_NTRJ]
float charge_trj [MAX_NTRJ]
float px_trj [MAX_NTRJ]
float py_trj [MAX_NTRJ]
float pz_trj [MAX_NTRJ]
int npoints_trj [MAX_NTRJ]
int istart_trj [MAX_NTRJ]
int iend_trj [MAX_NTRJ]
int numtrjp
float x_trjp [MAX_NTRJPOINT]
float y_trjp [MAX_NTRJPOINT]
float z_trjp [MAX_NTRJPOINT]
float de_trjp [MAX_NTRJPOINT]
float steplength_trjp [MAX_NTRJPOINT]
int insidege_trjp [MAX_NTRJPOINT]

Constructor & Destructor Documentation

MaGeOutputGermaniumArray::MaGeOutputGermaniumArray G4bool  isMother,
G4bool  needt
 

AUTHOR: Xiang Liu CONTACT: FIRST SUBMISSION:

REVISION:

mm-dd-yyyy, What is changed, Whoami

Definition at line 83 of file MaGeOutputGermaniumArray.cc.

References MJVOutputManager::SetSchemaDefined().

MaGeOutputGermaniumArray::MaGeOutputGermaniumArray const MaGeOutputGermaniumArray  ) 
 

MaGeOutputGermaniumArray::~MaGeOutputGermaniumArray  ) 
 

Definition at line 91 of file MaGeOutputGermaniumArray.cc.


Member Function Documentation

void MaGeOutputGermaniumArray::BeginOfEventAction const G4Event *  event  )  [virtual]
 

Action to perform at beginning and end of events and runs Detector specific. Only include actions that directly affect the Root tree. Other actions should go into the MJManagementEventAction class.

Reimplemented from MJOutputRoot.

Definition at line 172 of file MaGeOutputGermaniumArray.cc.

References eventnumber, MJOutputRoot::G4ToRoot(), ivertex_particle, MAX_NVTX, MJLog, numparticle_vertex, numparticles, numvertex, particle, px_particle, py_particle, pz_particle, time_vertex, xpos_vertex, ypos_vertex, and zpos_vertex.

void MaGeOutputGermaniumArray::BeginOfRunAction  )  [virtual]
 

Reimplemented from MJOutputRoot.

Definition at line 164 of file MaGeOutputGermaniumArray.cc.

References DefineSchema(), MJVOutputManager::GetFileName(), MJOutputRoot::IsMother(), and MJOutputRoot::OpenRootFile().

void MaGeOutputGermaniumArray::DefineSchema  )  [virtual]
 

Define Tree Schema (usually at beginning of run). Detector Specific. Pure virtual method. MUST be defined in derived class.

Implements MJOutputRoot.

Definition at line 94 of file MaGeOutputGermaniumArray.cc.

References charge_trj, de_trjp, edep_gedet, edep_hits, eventnumber, id_particle, id_trj, idge_gedet, idge_hits, iend_trj, insidege_trjp, MJOutputRoot::IsMother(), istart_trj, ivertex_particle, MJLog, npoints_trj, numgedet, numhits, numhits_gedet, numparticle_vertex, numparticles, numtrj, numtrjp, numvertex, particle, pdgencode_trj, pe_particle, pid_trj, px_particle, px_trj, py_particle, py_trj, pz_particle, pz_trj, MJVOutputManager::SchemaDefined(), MJVOutputManager::SetSchemaDefined(), steplength_trjp, time_vertex, tote_hits, x_trjp, xpos_hits, xpos_vertex, y_trjp, ypos_hits, ypos_vertex, z_trjp, zpos_hits, and zpos_vertex.

Referenced by BeginOfRunAction().

void MaGeOutputGermaniumArray::EndOfEventAction const G4Event *  event  )  [virtual]
 

Reimplemented from MJOutputRoot.

Definition at line 222 of file MaGeOutputGermaniumArray.cc.

References charge_trj, de_trjp, edep_allgedet, edep_gedet, edep_hits, MJOutputRoot::FillTree(), MaGeTrajectory::GetCharge(), MaGeTrajectoryPoint::GetEnergyLost(), MaGeTrajectory::GetInitialMomentum(), MaGeTrajectory::GetParentID(), MaGeTrajectory::GetPDGEncoding(), MaGeTrajectory::GetPoint(), MaGeTrajectory::GetPointEntries(), MaGeTrajectoryPoint::GetPosition(), MaGeTrajectoryPoint::GetStepLength(), MaGeTrajectory::GetTrackID(), MaGeTrajectoryPoint::GetVolumeName(), id_trj, idge_gedet, idge_hits, iend_trj, insidege_trjp, MJOutputRoot::IsMother(), istart_trj, MaGeGeometrySDHitsCollection, MJLog, npoints_trj, numgedet, numhits, numhits_allgedet, numhits_gedet, numtrj, numtrjp, pdgencode_trj, pid_trj, px_trj, py_trj, pz_trj, steplength_trjp, tote_hits, x_trjp, xpos_hits, y_trjp, ypos_hits, z_trjp, and zpos_hits.

void MaGeOutputGermaniumArray::EndOfRunAction  )  [virtual]
 

Reimplemented from MJOutputRoot.

Definition at line 318 of file MaGeOutputGermaniumArray.cc.

References MJOutputRoot::CloseRootFile(), MJOutputRoot::IsMother(), and MJLog.

void MaGeOutputGermaniumArray::RootSteppingAction const G4Step *  step  )  [virtual]
 

Modify event tree variables during Geant 4 SteppingAction, ie. accumulate energy deposits, charge distributions, etc. Detector specific. Pure virtual method. MUST be defined in derived class.

Implements MJOutputRoot.

Definition at line 325 of file MaGeOutputGermaniumArray.cc.

void MaGeOutputGermaniumArray::SetTrajectoryInformation G4bool  needt  )  [inline]
 

Definition at line 95 of file MaGeOutputGermaniumArray.hh.

References NeedTrajectoryInformation.


Member Data Documentation

float MaGeOutputGermaniumArray::charge_trj[MAX_NTRJ] [private]
 

Definition at line 154 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

float MaGeOutputGermaniumArray::de_trjp[MAX_NTRJPOINT] [private]
 

Definition at line 166 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

float MaGeOutputGermaniumArray::edep_allgedet[MAX_NGEDET] [private]
 

Definition at line 147 of file MaGeOutputGermaniumArray.hh.

Referenced by EndOfEventAction().

Float_t MaGeOutputGermaniumArray::edep_gedet[MAX_NGEDET] [private]
 

Definition at line 145 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Float_t MaGeOutputGermaniumArray::edep_hits[MAX_NHITS] [private]
 

Definition at line 136 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Int_t MaGeOutputGermaniumArray::eventnumber [private]
 

Definition at line 111 of file MaGeOutputGermaniumArray.hh.

Referenced by BeginOfEventAction(), and DefineSchema().

Int_t MaGeOutputGermaniumArray::id_particle[MAX_NTRJ] [private]
 

Definition at line 128 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema().

int MaGeOutputGermaniumArray::id_trj[MAX_NTRJ] [private]
 

Definition at line 151 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Int_t MaGeOutputGermaniumArray::idge_gedet[MAX_NGEDET] [private]
 

Definition at line 143 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Int_t MaGeOutputGermaniumArray::idge_hits[MAX_NHITS] [private]
 

Definition at line 140 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

int MaGeOutputGermaniumArray::iend_trj[MAX_NTRJ] [private]
 

Definition at line 160 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

int MaGeOutputGermaniumArray::insidege_trjp[MAX_NTRJPOINT] [private]
 

Definition at line 168 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

int MaGeOutputGermaniumArray::istart_trj[MAX_NTRJ] [private]
 

Definition at line 159 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Int_t MaGeOutputGermaniumArray::ivertex_particle[MAX_NTRJ] [private]
 

Definition at line 123 of file MaGeOutputGermaniumArray.hh.

Referenced by BeginOfEventAction(), and DefineSchema().

G4bool MaGeOutputGermaniumArray::NeedTrajectoryInformation [private]
 

Definition at line 108 of file MaGeOutputGermaniumArray.hh.

Referenced by SetTrajectoryInformation().

int MaGeOutputGermaniumArray::npoints_trj[MAX_NTRJ] [private]
 

Definition at line 158 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Int_t MaGeOutputGermaniumArray::numgedet [private]
 

Definition at line 142 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Int_t MaGeOutputGermaniumArray::numhits [private]
 

Definition at line 134 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

int MaGeOutputGermaniumArray::numhits_allgedet[MAX_NGEDET] [private]
 

Definition at line 148 of file MaGeOutputGermaniumArray.hh.

Referenced by EndOfEventAction().

Int_t MaGeOutputGermaniumArray::numhits_gedet[MAX_NGEDET] [private]
 

Definition at line 144 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Int_t MaGeOutputGermaniumArray::numparticle_vertex[MAX_NVTX] [private]
 

Definition at line 119 of file MaGeOutputGermaniumArray.hh.

Referenced by BeginOfEventAction(), and DefineSchema().

Int_t MaGeOutputGermaniumArray::numparticles [private]
 

Definition at line 121 of file MaGeOutputGermaniumArray.hh.

Referenced by BeginOfEventAction(), and DefineSchema().

int MaGeOutputGermaniumArray::numtrj [private]
 

Definition at line 150 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

int MaGeOutputGermaniumArray::numtrjp [private]
 

Definition at line 162 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Int_t MaGeOutputGermaniumArray::numvertex [private]
 

Definition at line 114 of file MaGeOutputGermaniumArray.hh.

Referenced by BeginOfEventAction(), and DefineSchema().

Int_t MaGeOutputGermaniumArray::particle[MAX_NTRJ] [private]
 

Definition at line 122 of file MaGeOutputGermaniumArray.hh.

Referenced by BeginOfEventAction(), and DefineSchema().

int MaGeOutputGermaniumArray::pdgencode_trj[MAX_NTRJ] [private]
 

Definition at line 153 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Float_t MaGeOutputGermaniumArray::pe_particle[MAX_NTRJ] [private]
 

Definition at line 127 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema().

int MaGeOutputGermaniumArray::pid_trj[MAX_NTRJ] [private]
 

Definition at line 152 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Float_t MaGeOutputGermaniumArray::px_particle[MAX_NTRJ] [private]
 

Definition at line 124 of file MaGeOutputGermaniumArray.hh.

Referenced by BeginOfEventAction(), and DefineSchema().

float MaGeOutputGermaniumArray::px_trj[MAX_NTRJ] [private]
 

Definition at line 155 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Float_t MaGeOutputGermaniumArray::py_particle[MAX_NTRJ] [private]
 

Definition at line 125 of file MaGeOutputGermaniumArray.hh.

Referenced by BeginOfEventAction(), and DefineSchema().

float MaGeOutputGermaniumArray::py_trj[MAX_NTRJ] [private]
 

Definition at line 156 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Float_t MaGeOutputGermaniumArray::pz_particle[MAX_NTRJ] [private]
 

Definition at line 126 of file MaGeOutputGermaniumArray.hh.

Referenced by BeginOfEventAction(), and DefineSchema().

float MaGeOutputGermaniumArray::pz_trj[MAX_NTRJ] [private]
 

Definition at line 157 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

float MaGeOutputGermaniumArray::steplength_trjp[MAX_NTRJPOINT] [private]
 

Definition at line 167 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Float_t MaGeOutputGermaniumArray::time_vertex[MAX_NVTX] [private]
 

Definition at line 118 of file MaGeOutputGermaniumArray.hh.

Referenced by BeginOfEventAction(), and DefineSchema().

Float_t MaGeOutputGermaniumArray::tote_hits [private]
 

Definition at line 135 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

float MaGeOutputGermaniumArray::x_trjp[MAX_NTRJPOINT] [private]
 

Definition at line 163 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Float_t MaGeOutputGermaniumArray::xpos_hits[MAX_NHITS] [private]
 

Definition at line 137 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Float_t MaGeOutputGermaniumArray::xpos_vertex[MAX_NVTX] [private]
 

Definition at line 115 of file MaGeOutputGermaniumArray.hh.

Referenced by BeginOfEventAction(), and DefineSchema().

float MaGeOutputGermaniumArray::y_trjp[MAX_NTRJPOINT] [private]
 

Definition at line 164 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Float_t MaGeOutputGermaniumArray::ypos_hits[MAX_NHITS] [private]
 

Definition at line 138 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Float_t MaGeOutputGermaniumArray::ypos_vertex[MAX_NVTX] [private]
 

Definition at line 116 of file MaGeOutputGermaniumArray.hh.

Referenced by BeginOfEventAction(), and DefineSchema().

float MaGeOutputGermaniumArray::z_trjp[MAX_NTRJPOINT] [private]
 

Definition at line 165 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Float_t MaGeOutputGermaniumArray::zpos_hits[MAX_NHITS] [private]
 

Definition at line 139 of file MaGeOutputGermaniumArray.hh.

Referenced by DefineSchema(), and EndOfEventAction().

Float_t MaGeOutputGermaniumArray::zpos_vertex[MAX_NVTX] [private]
 

Definition at line 117 of file MaGeOutputGermaniumArray.hh.

Referenced by BeginOfEventAction(), and DefineSchema().


The documentation for this class was generated from the following files:
Generated on Mon Nov 29 16:58:56 2004 for Majorana Simulation by  doxygen 1.3.9.1