MonitorSD Class Reference

#include <MonitorSD.hh>

Inheritance diagram for MonitorSD:
MySD

List of all members.

Public Member Functions

 MonitorSD (G4String, MyVGeometryParameter *)
virtual ~MonitorSD ()
void Initialize (G4HCofThisEvent *)
G4bool ProcessHits (G4Step *, G4TouchableHistory *)
void EndOfEvent (G4HCofThisEvent *)
void SetBranch ()
void ReadOutputCard (G4String filename)
double Get_m_Ox (int i)
double Get_m_local_Ox (int i)
double Get_m_Oy (int i)
double Get_m_local_Oy (int i)
double Get_m_Oz (int i)
double Get_m_local_Oz (int i)
double Get_m_Ot (int i)
double Get_m_x (int i)
double Get_m_local_x (int i)
double Get_m_y (int i)
double Get_m_local_y (int i)
double Get_m_z (int i)
double Get_m_local_z (int i)
double Get_m_t (int i)
double Get_m_Opx (int i)
double Get_m_Opy (int i)
double Get_m_Opz (int i)
double Get_m_px (int i)
double Get_m_py (int i)
double Get_m_pz (int i)
double Get_m_ox (int i)
double Get_m_local_ox (int i)
double Get_m_oy (int i)
double Get_m_local_oy (int i)
double Get_m_oz (int i)
double Get_m_local_oz (int i)
double Get_m_ot (int i)
double Get_m_opx (int i)
double Get_m_opy (int i)
double Get_m_opz (int i)
double Get_m_ekin (int i)
double Get_m_e (int i)
double Get_m_edep (int i)
double Get_m_edepAll (int i)
double Get_m_stepL (int i)
int Get_m_volID (int i)
std::string Get_m_volName (int i)
int Get_m_ppid (int i)
int Get_m_ptid (int i)
std::string Get_m_oprocess (int i)
std::string Get_m_ovolName (int i)
int Get_m_tid (int i)
int Get_m_pid (int i)
int Get_m_charge (int i)
int Get_m_stopped (int i)
double Get_m_stop_time (int i)
int Get_m_killed (int i)
double Get_m_kill_time (int i)
std::string Get_unitName_Ox ()
std::string Get_unitName_local_Ox ()
std::string Get_unitName_Oy ()
std::string Get_unitName_local_Oy ()
std::string Get_unitName_Oz ()
std::string Get_unitName_local_Oz ()
std::string Get_unitName_Ot ()
std::string Get_unitName_x ()
std::string Get_unitName_local_x ()
std::string Get_unitName_y ()
std::string Get_unitName_local_y ()
std::string Get_unitName_z ()
std::string Get_unitName_local_z ()
std::string Get_unitName_t ()
std::string Get_unitName_Opx ()
std::string Get_unitName_Opy ()
std::string Get_unitName_Opz ()
std::string Get_unitName_px ()
std::string Get_unitName_py ()
std::string Get_unitName_pz ()
std::string Get_unitName_ox ()
std::string Get_unitName_local_ox ()
std::string Get_unitName_oy ()
std::string Get_unitName_local_oy ()
std::string Get_unitName_oz ()
std::string Get_unitName_local_oz ()
std::string Get_unitName_ot ()
std::string Get_unitName_opx ()
std::string Get_unitName_opy ()
std::string Get_unitName_opz ()
std::string Get_unitName_ekin ()
std::string Get_unitName_e ()
std::string Get_unitName_edep ()
std::string Get_unitName_edepAll ()
std::string Get_unitName_stepL ()
std::string Get_unitName_stop_time ()
std::string Get_unitName_kill_time ()
double Get_unit_Ox ()
double Get_unit_local_Ox ()
double Get_unit_Oy ()
double Get_unit_local_Oy ()
double Get_unit_Oz ()
double Get_unit_local_Oz ()
double Get_unit_Ot ()
double Get_unit_x ()
double Get_unit_local_x ()
double Get_unit_y ()
double Get_unit_local_y ()
double Get_unit_z ()
double Get_unit_local_z ()
double Get_unit_t ()
double Get_unit_Opx ()
double Get_unit_Opy ()
double Get_unit_Opz ()
double Get_unit_px ()
double Get_unit_py ()
double Get_unit_pz ()
double Get_unit_ox ()
double Get_unit_local_ox ()
double Get_unit_oy ()
double Get_unit_local_oy ()
double Get_unit_oz ()
double Get_unit_local_oz ()
double Get_unit_ot ()
double Get_unit_opx ()
double Get_unit_opy ()
double Get_unit_opz ()
double Get_unit_ekin ()
double Get_unit_e ()
double Get_unit_edep ()
double Get_unit_edepAll ()
double Get_unit_stepL ()
double Get_unit_stop_time ()
double Get_unit_kill_time ()
int Get_nHits ()
void SetVerbose (int val)
G4String get_VolName ()
int get_VerboseLevel ()
MyVGeometryParameterget_GeometryParameter ()
void set_VerboseLevel (int val)
void set_GeometryParameter (MyVGeometryParameter *val)

Private Member Functions

void ReSet ()
void ShowOutCard ()

Private Attributes

MonitorHitsCollectionhitsCollection
PrimaryGeneratorActionpPrimaryGeneratorAction
std::vector< double > m_Ox
std::vector< double > m_local_Ox
std::vector< double > m_Oy
std::vector< double > m_local_Oy
std::vector< double > m_Oz
std::vector< double > m_local_Oz
std::vector< double > m_Ot
std::vector< double > m_x
std::vector< double > m_local_x
std::vector< double > m_y
std::vector< double > m_local_y
std::vector< double > m_z
std::vector< double > m_local_z
std::vector< double > m_t
std::vector< double > m_Opx
std::vector< double > m_Opy
std::vector< double > m_Opz
std::vector< double > m_px
std::vector< double > m_py
std::vector< double > m_pz
std::vector< double > m_ox
std::vector< double > m_local_ox
std::vector< double > m_oy
std::vector< double > m_local_oy
std::vector< double > m_oz
std::vector< double > m_local_oz
std::vector< double > m_ot
std::vector< double > m_opx
std::vector< double > m_opy
std::vector< double > m_opz
std::vector< double > m_ekin
std::vector< double > m_e
std::vector< double > m_edep
std::vector< double > m_edepAll
std::vector< double > m_stepL
std::vector< int > m_volID
std::vector< std::string > m_volName
std::vector< int > m_ppid
std::vector< int > m_ptid
std::vector< std::string > m_oprocess
std::vector< std::string > m_ovolName
std::vector< int > m_tid
std::vector< int > m_pid
std::vector< std::string > m_particleName
std::vector< int > m_charge
std::vector< int > m_stopped
std::vector< double > m_stop_time
std::vector< int > m_killed
std::vector< double > m_kill_time
std::string unitName_Ox
std::string unitName_local_Ox
std::string unitName_Oy
std::string unitName_local_Oy
std::string unitName_Oz
std::string unitName_local_Oz
std::string unitName_Ot
std::string unitName_x
std::string unitName_local_x
std::string unitName_y
std::string unitName_local_y
std::string unitName_z
std::string unitName_local_z
std::string unitName_t
std::string unitName_Opx
std::string unitName_Opy
std::string unitName_Opz
std::string unitName_px
std::string unitName_py
std::string unitName_pz
std::string unitName_ox
std::string unitName_local_ox
std::string unitName_oy
std::string unitName_local_oy
std::string unitName_oz
std::string unitName_local_oz
std::string unitName_ot
std::string unitName_opx
std::string unitName_opy
std::string unitName_opz
std::string unitName_ekin
std::string unitName_e
std::string unitName_edep
std::string unitName_edepAll
std::string unitName_stepL
std::string unitName_stop_time
std::string unitName_kill_time
double unit_Ox
double unit_local_Ox
double unit_Oy
double unit_local_Oy
double unit_Oz
double unit_local_Oz
double unit_Ot
double unit_x
double unit_local_x
double unit_y
double unit_local_y
double unit_z
double unit_local_z
double unit_t
double unit_Opx
double unit_Opy
double unit_Opz
double unit_px
double unit_py
double unit_pz
double unit_ox
double unit_local_ox
double unit_oy
double unit_local_oy
double unit_oz
double unit_local_oz
double unit_ot
double unit_opx
double unit_opy
double unit_opz
double unit_ekin
double unit_e
double unit_edep
double unit_edepAll
double unit_stepL
double unit_stop_time
double unit_kill_time
int nHits
bool flag_nHits
bool flag_Ox
bool flag_local_Ox
bool flag_Oy
bool flag_local_Oy
bool flag_Oz
bool flag_local_Oz
bool flag_Ot
bool flag_x
bool flag_local_x
bool flag_y
bool flag_local_y
bool flag_z
bool flag_local_z
bool flag_t
bool flag_Opx
bool flag_Opy
bool flag_Opz
bool flag_px
bool flag_py
bool flag_pz
bool flag_ox
bool flag_local_ox
bool flag_oy
bool flag_local_oy
bool flag_oz
bool flag_local_oz
bool flag_ot
bool flag_opx
bool flag_opy
bool flag_opz
bool flag_ekin
bool flag_e
bool flag_edep
bool flag_edepAll
bool flag_stepL
bool flag_volID
bool flag_volName
bool flag_ppid
bool flag_ptid
bool flag_oprocess
bool flag_ovolName
bool flag_tid
bool flag_pid
bool flag_particleName
bool flag_charge
bool flag_stopped
bool flag_stop_time
bool flag_killed
bool flag_kill_time
bool Switch
bool neutralCut
bool needstopped
G4int maxn
G4double minp
G4double mine
G4double tres
G4double mint
G4double maxt
G4double minedep
std::vector< int > white_list
std::vector< int > black_list

Detailed Description

Definition at line 24 of file MonitorSD.hh.


Constructor & Destructor Documentation

MonitorSD::MonitorSD ( G4String  name,
MyVGeometryParameter pointer 
)

Definition at line 44 of file MonitorSD.cc.

00045 :MySD(name, pointer), hitsCollection(0)
00046 {}

MonitorSD::~MonitorSD (  )  [virtual]

Definition at line 48 of file MonitorSD.cc.

00048                      {
00049 }


Member Function Documentation

void MonitorSD::EndOfEvent ( G4HCofThisEvent *   ) 

Definition at line 892 of file MonitorSD.cc.

00892                                           {
00893         if (verboseLevel>0) {
00894                 //    hitsCollection->PrintAllHits();
00895                 /*
00896                    G4int NbHits = hitsCollection->entries();
00897                    G4cout << "\n-------->Hits Collection: in this event they are " << NbHits
00898                    << " hits in the MONITOR chambers: " << G4endl;
00899                    for (G4int i=0;i<NbHits;i++) (*hitsCollection)[i]->Print();
00900                  */
00901         }
00902 }

MyVGeometryParameter* MySD::get_GeometryParameter (  )  [inline, inherited]

Definition at line 28 of file MySD.hh.

References MySD::m_GeometryParameter.

00028 { return m_GeometryParameter; }

int MonitorSD::Get_m_charge ( int  i  )  [inline]

Definition at line 83 of file MonitorSD.hh.

References m_charge.

00083 { return m_charge[i]; }

double MonitorSD::Get_m_e ( int  i  )  [inline]

Definition at line 71 of file MonitorSD.hh.

References m_e.

00071 { return m_e[i]; }

double MonitorSD::Get_m_edep ( int  i  )  [inline]

Definition at line 72 of file MonitorSD.hh.

References m_edep.

00072 { return m_edep[i]; }

double MonitorSD::Get_m_edepAll ( int  i  )  [inline]

Definition at line 73 of file MonitorSD.hh.

References m_edepAll.

00073 { return m_edepAll[i]; }

double MonitorSD::Get_m_ekin ( int  i  )  [inline]

Definition at line 70 of file MonitorSD.hh.

References m_ekin.

00070 { return m_ekin[i]; }

double MonitorSD::Get_m_kill_time ( int  i  )  [inline]

Definition at line 87 of file MonitorSD.hh.

References m_kill_time.

00087 { return m_kill_time[i]; }

int MonitorSD::Get_m_killed ( int  i  )  [inline]

Definition at line 86 of file MonitorSD.hh.

References m_killed.

00086 { return m_killed[i]; }

double MonitorSD::Get_m_local_ox ( int  i  )  [inline]

Definition at line 61 of file MonitorSD.hh.

References m_local_ox.

00061 { return m_local_ox[i]; }

double MonitorSD::Get_m_local_Ox ( int  i  )  [inline]

Definition at line 41 of file MonitorSD.hh.

References m_local_Ox.

00041 { return m_local_Ox[i]; }

double MonitorSD::Get_m_local_oy ( int  i  )  [inline]

Definition at line 63 of file MonitorSD.hh.

References m_local_oy.

00063 { return m_local_oy[i]; }

double MonitorSD::Get_m_local_Oy ( int  i  )  [inline]

Definition at line 43 of file MonitorSD.hh.

References m_local_Oy.

00043 { return m_local_Oy[i]; }

double MonitorSD::Get_m_local_oz ( int  i  )  [inline]

Definition at line 65 of file MonitorSD.hh.

References m_local_oz.

00065 { return m_local_oz[i]; }

double MonitorSD::Get_m_local_Oz ( int  i  )  [inline]

Definition at line 45 of file MonitorSD.hh.

References m_local_Oz.

00045 { return m_local_Oz[i]; }

double MonitorSD::Get_m_local_x ( int  i  )  [inline]

Definition at line 48 of file MonitorSD.hh.

References m_local_x.

00048 { return m_local_x[i]; }

double MonitorSD::Get_m_local_y ( int  i  )  [inline]

Definition at line 50 of file MonitorSD.hh.

References m_local_y.

00050 { return m_local_y[i]; }

double MonitorSD::Get_m_local_z ( int  i  )  [inline]

Definition at line 52 of file MonitorSD.hh.

References m_local_z.

00052 { return m_local_z[i]; }

std::string MonitorSD::Get_m_oprocess ( int  i  )  [inline]

Definition at line 79 of file MonitorSD.hh.

References m_oprocess.

00079 { return m_oprocess[i]; }

double MonitorSD::Get_m_opx ( int  i  )  [inline]

Definition at line 67 of file MonitorSD.hh.

References m_opx.

00067 { return m_opx[i]; }

double MonitorSD::Get_m_Opx ( int  i  )  [inline]

Definition at line 54 of file MonitorSD.hh.

References m_Opx.

00054 { return m_Opx[i]; }

double MonitorSD::Get_m_opy ( int  i  )  [inline]

Definition at line 68 of file MonitorSD.hh.

References m_opy.

00068 { return m_opy[i]; }

double MonitorSD::Get_m_Opy ( int  i  )  [inline]

Definition at line 55 of file MonitorSD.hh.

References m_Opy.

00055 { return m_Opy[i]; }

double MonitorSD::Get_m_opz ( int  i  )  [inline]

Definition at line 69 of file MonitorSD.hh.

References m_opz.

00069 { return m_opz[i]; }

double MonitorSD::Get_m_Opz ( int  i  )  [inline]

Definition at line 56 of file MonitorSD.hh.

References m_Opz.

00056 { return m_Opz[i]; }

double MonitorSD::Get_m_ot ( int  i  )  [inline]

Definition at line 66 of file MonitorSD.hh.

References m_ot.

00066 { return m_ot[i]; }

double MonitorSD::Get_m_Ot ( int  i  )  [inline]

Definition at line 46 of file MonitorSD.hh.

References m_Ot.

00046 { return m_Ot[i]; }

std::string MonitorSD::Get_m_ovolName ( int  i  )  [inline]

Definition at line 80 of file MonitorSD.hh.

References m_ovolName.

00080 { return m_ovolName[i]; }

double MonitorSD::Get_m_ox ( int  i  )  [inline]

Definition at line 60 of file MonitorSD.hh.

References m_ox.

00060 { return m_ox[i]; }

double MonitorSD::Get_m_Ox ( int  i  )  [inline]

Definition at line 40 of file MonitorSD.hh.

References m_Ox.

00040 { return m_Ox[i]; }

double MonitorSD::Get_m_oy ( int  i  )  [inline]

Definition at line 62 of file MonitorSD.hh.

References m_oy.

00062 { return m_oy[i]; }

double MonitorSD::Get_m_Oy ( int  i  )  [inline]

Definition at line 42 of file MonitorSD.hh.

References m_Oy.

00042 { return m_Oy[i]; }

double MonitorSD::Get_m_oz ( int  i  )  [inline]

Definition at line 64 of file MonitorSD.hh.

References m_oz.

00064 { return m_oz[i]; }

double MonitorSD::Get_m_Oz ( int  i  )  [inline]

Definition at line 44 of file MonitorSD.hh.

References m_Oz.

00044 { return m_Oz[i]; }

int MonitorSD::Get_m_pid ( int  i  )  [inline]

Definition at line 82 of file MonitorSD.hh.

References m_pid.

00082 { return m_pid[i]; }

int MonitorSD::Get_m_ppid ( int  i  )  [inline]

Definition at line 77 of file MonitorSD.hh.

References m_ppid.

00077 { return m_ppid[i]; }

int MonitorSD::Get_m_ptid ( int  i  )  [inline]

Definition at line 78 of file MonitorSD.hh.

References m_ptid.

00078 { return m_ptid[i]; }

double MonitorSD::Get_m_px ( int  i  )  [inline]

Definition at line 57 of file MonitorSD.hh.

References m_px.

00057 { return m_px[i]; }

double MonitorSD::Get_m_py ( int  i  )  [inline]

Definition at line 58 of file MonitorSD.hh.

References m_py.

00058 { return m_py[i]; }

double MonitorSD::Get_m_pz ( int  i  )  [inline]

Definition at line 59 of file MonitorSD.hh.

References m_pz.

00059 { return m_pz[i]; }

double MonitorSD::Get_m_stepL ( int  i  )  [inline]

Definition at line 74 of file MonitorSD.hh.

References m_stepL.

00074 { return m_stepL[i]; }

double MonitorSD::Get_m_stop_time ( int  i  )  [inline]

Definition at line 85 of file MonitorSD.hh.

References m_stop_time.

00085 { return m_stop_time[i]; }

int MonitorSD::Get_m_stopped ( int  i  )  [inline]

Definition at line 84 of file MonitorSD.hh.

References m_stopped.

00084 { return m_stopped[i]; }

double MonitorSD::Get_m_t ( int  i  )  [inline]

Definition at line 53 of file MonitorSD.hh.

References m_t.

00053 { return m_t[i]; }

int MonitorSD::Get_m_tid ( int  i  )  [inline]

Definition at line 81 of file MonitorSD.hh.

References m_tid.

00081 { return m_tid[i]; }

int MonitorSD::Get_m_volID ( int  i  )  [inline]

Definition at line 75 of file MonitorSD.hh.

References m_volID.

00075 { return m_volID[i]; }

std::string MonitorSD::Get_m_volName ( int  i  )  [inline]

Definition at line 76 of file MonitorSD.hh.

References m_volName.

00076 { return m_volName[i]; }

double MonitorSD::Get_m_x ( int  i  )  [inline]

Definition at line 47 of file MonitorSD.hh.

References m_x.

00047 { return m_x[i]; }

double MonitorSD::Get_m_y ( int  i  )  [inline]

Definition at line 49 of file MonitorSD.hh.

References m_y.

00049 { return m_y[i]; }

double MonitorSD::Get_m_z ( int  i  )  [inline]

Definition at line 51 of file MonitorSD.hh.

References m_z.

00051 { return m_z[i]; }

int MonitorSD::Get_nHits (  )  [inline]

Definition at line 162 of file MonitorSD.hh.

References nHits.

Referenced by MyTriggerSvc::TriggerIt().

00162 { return nHits; }

double MonitorSD::Get_unit_e (  )  [inline]

Definition at line 156 of file MonitorSD.hh.

References unit_e.

00156 { return unit_e; }

double MonitorSD::Get_unit_edep (  )  [inline]

Definition at line 157 of file MonitorSD.hh.

References unit_edep.

00157 { return unit_edep; }

double MonitorSD::Get_unit_edepAll (  )  [inline]

Definition at line 158 of file MonitorSD.hh.

References unit_edepAll.

00158 { return unit_edepAll; }

double MonitorSD::Get_unit_ekin (  )  [inline]

Definition at line 155 of file MonitorSD.hh.

References unit_ekin.

00155 { return unit_ekin; }

double MonitorSD::Get_unit_kill_time (  )  [inline]

Definition at line 161 of file MonitorSD.hh.

References unit_kill_time.

00161 { return unit_kill_time; }

double MonitorSD::Get_unit_local_ox (  )  [inline]

Definition at line 146 of file MonitorSD.hh.

References unit_local_ox.

00146 { return unit_local_ox; }

double MonitorSD::Get_unit_local_Ox (  )  [inline]

Definition at line 126 of file MonitorSD.hh.

References unit_local_Ox.

00126 { return unit_local_Ox; }

double MonitorSD::Get_unit_local_oy (  )  [inline]

Definition at line 148 of file MonitorSD.hh.

References unit_local_oy.

00148 { return unit_local_oy; }

double MonitorSD::Get_unit_local_Oy (  )  [inline]

Definition at line 128 of file MonitorSD.hh.

References unit_local_Oy.

00128 { return unit_local_Oy; }

double MonitorSD::Get_unit_local_oz (  )  [inline]

Definition at line 150 of file MonitorSD.hh.

References unit_local_oz.

00150 { return unit_local_oz; }

double MonitorSD::Get_unit_local_Oz (  )  [inline]

Definition at line 130 of file MonitorSD.hh.

References unit_local_Oz.

00130 { return unit_local_Oz; }

double MonitorSD::Get_unit_local_x (  )  [inline]

Definition at line 133 of file MonitorSD.hh.

References unit_local_x.

00133 { return unit_local_x; }

double MonitorSD::Get_unit_local_y (  )  [inline]

Definition at line 135 of file MonitorSD.hh.

References unit_local_y.

00135 { return unit_local_y; }

double MonitorSD::Get_unit_local_z (  )  [inline]

Definition at line 137 of file MonitorSD.hh.

References unit_local_z.

00137 { return unit_local_z; }

double MonitorSD::Get_unit_opx (  )  [inline]

Definition at line 152 of file MonitorSD.hh.

References unit_opx.

00152 { return unit_opx; }

double MonitorSD::Get_unit_Opx (  )  [inline]

Definition at line 139 of file MonitorSD.hh.

References unit_Opx.

00139 { return unit_Opx; }

double MonitorSD::Get_unit_opy (  )  [inline]

Definition at line 153 of file MonitorSD.hh.

References unit_opy.

00153 { return unit_opy; }

double MonitorSD::Get_unit_Opy (  )  [inline]

Definition at line 140 of file MonitorSD.hh.

References unit_Opy.

00140 { return unit_Opy; }

double MonitorSD::Get_unit_opz (  )  [inline]

Definition at line 154 of file MonitorSD.hh.

References unit_opz.

00154 { return unit_opz; }

double MonitorSD::Get_unit_Opz (  )  [inline]

Definition at line 141 of file MonitorSD.hh.

References unit_Opz.

00141 { return unit_Opz; }

double MonitorSD::Get_unit_ot (  )  [inline]

Definition at line 151 of file MonitorSD.hh.

References unit_ot.

00151 { return unit_ot; }

double MonitorSD::Get_unit_Ot (  )  [inline]

Definition at line 131 of file MonitorSD.hh.

References unit_Ot.

00131 { return unit_Ot; }

double MonitorSD::Get_unit_ox (  )  [inline]

Definition at line 145 of file MonitorSD.hh.

References unit_ox.

00145 { return unit_ox; }

double MonitorSD::Get_unit_Ox (  )  [inline]

Definition at line 125 of file MonitorSD.hh.

References unit_Ox.

00125 { return unit_Ox; }

double MonitorSD::Get_unit_oy (  )  [inline]

Definition at line 147 of file MonitorSD.hh.

References unit_oy.

00147 { return unit_oy; }

double MonitorSD::Get_unit_Oy (  )  [inline]

Definition at line 127 of file MonitorSD.hh.

References unit_Oy.

00127 { return unit_Oy; }

double MonitorSD::Get_unit_oz (  )  [inline]

Definition at line 149 of file MonitorSD.hh.

References unit_oz.

00149 { return unit_oz; }

double MonitorSD::Get_unit_Oz (  )  [inline]

Definition at line 129 of file MonitorSD.hh.

References unit_Oz.

00129 { return unit_Oz; }

double MonitorSD::Get_unit_px (  )  [inline]

Definition at line 142 of file MonitorSD.hh.

References unit_px.

00142 { return unit_px; }

double MonitorSD::Get_unit_py (  )  [inline]

Definition at line 143 of file MonitorSD.hh.

References unit_py.

00143 { return unit_py; }

double MonitorSD::Get_unit_pz (  )  [inline]

Definition at line 144 of file MonitorSD.hh.

References unit_pz.

00144 { return unit_pz; }

double MonitorSD::Get_unit_stepL (  )  [inline]

Definition at line 159 of file MonitorSD.hh.

References unit_stepL.

00159 { return unit_stepL; }

double MonitorSD::Get_unit_stop_time (  )  [inline]

Definition at line 160 of file MonitorSD.hh.

References unit_stop_time.

00160 { return unit_stop_time; }

double MonitorSD::Get_unit_t (  )  [inline]

Definition at line 138 of file MonitorSD.hh.

References unit_t.

00138 { return unit_t; }

double MonitorSD::Get_unit_x (  )  [inline]

Definition at line 132 of file MonitorSD.hh.

References unit_x.

00132 { return unit_x; }

double MonitorSD::Get_unit_y (  )  [inline]

Definition at line 134 of file MonitorSD.hh.

References unit_y.

00134 { return unit_y; }

double MonitorSD::Get_unit_z (  )  [inline]

Definition at line 136 of file MonitorSD.hh.

References unit_z.

00136 { return unit_z; }

std::string MonitorSD::Get_unitName_e (  )  [inline]

Definition at line 119 of file MonitorSD.hh.

References unitName_e.

00119 { return unitName_e; }

std::string MonitorSD::Get_unitName_edep (  )  [inline]

Definition at line 120 of file MonitorSD.hh.

References unitName_edep.

00120 { return unitName_edep; }

std::string MonitorSD::Get_unitName_edepAll (  )  [inline]

Definition at line 121 of file MonitorSD.hh.

References unitName_edepAll.

00121 { return unitName_edepAll; }

std::string MonitorSD::Get_unitName_ekin (  )  [inline]

Definition at line 118 of file MonitorSD.hh.

References unitName_ekin.

00118 { return unitName_ekin; }

std::string MonitorSD::Get_unitName_kill_time (  )  [inline]

Definition at line 124 of file MonitorSD.hh.

References unitName_kill_time.

00124 { return unitName_kill_time; }

std::string MonitorSD::Get_unitName_local_ox (  )  [inline]

Definition at line 109 of file MonitorSD.hh.

References unitName_local_ox.

00109 { return unitName_local_ox; }

std::string MonitorSD::Get_unitName_local_Ox (  )  [inline]

Definition at line 89 of file MonitorSD.hh.

References unitName_local_Ox.

00089 { return unitName_local_Ox; }

std::string MonitorSD::Get_unitName_local_oy (  )  [inline]

Definition at line 111 of file MonitorSD.hh.

References unitName_local_oy.

00111 { return unitName_local_oy; }

std::string MonitorSD::Get_unitName_local_Oy (  )  [inline]

Definition at line 91 of file MonitorSD.hh.

References unitName_local_Oy.

00091 { return unitName_local_Oy; }

std::string MonitorSD::Get_unitName_local_oz (  )  [inline]

Definition at line 113 of file MonitorSD.hh.

References unitName_local_oz.

00113 { return unitName_local_oz; }

std::string MonitorSD::Get_unitName_local_Oz (  )  [inline]

Definition at line 93 of file MonitorSD.hh.

References unitName_local_Oz.

00093 { return unitName_local_Oz; }

std::string MonitorSD::Get_unitName_local_x (  )  [inline]

Definition at line 96 of file MonitorSD.hh.

References unitName_local_x.

00096 { return unitName_local_x; }

std::string MonitorSD::Get_unitName_local_y (  )  [inline]

Definition at line 98 of file MonitorSD.hh.

References unitName_local_y.

00098 { return unitName_local_y; }

std::string MonitorSD::Get_unitName_local_z (  )  [inline]

Definition at line 100 of file MonitorSD.hh.

References unitName_local_z.

00100 { return unitName_local_z; }

std::string MonitorSD::Get_unitName_opx (  )  [inline]

Definition at line 115 of file MonitorSD.hh.

References unitName_opx.

00115 { return unitName_opx; }

std::string MonitorSD::Get_unitName_Opx (  )  [inline]

Definition at line 102 of file MonitorSD.hh.

References unitName_Opx.

00102 { return unitName_Opx; }

std::string MonitorSD::Get_unitName_opy (  )  [inline]

Definition at line 116 of file MonitorSD.hh.

References unitName_opy.

00116 { return unitName_opy; }

std::string MonitorSD::Get_unitName_Opy (  )  [inline]

Definition at line 103 of file MonitorSD.hh.

References unitName_Opy.

00103 { return unitName_Opy; }

std::string MonitorSD::Get_unitName_opz (  )  [inline]

Definition at line 117 of file MonitorSD.hh.

References unitName_opz.

00117 { return unitName_opz; }

std::string MonitorSD::Get_unitName_Opz (  )  [inline]

Definition at line 104 of file MonitorSD.hh.

References unitName_Opz.

00104 { return unitName_Opz; }

std::string MonitorSD::Get_unitName_ot (  )  [inline]

Definition at line 114 of file MonitorSD.hh.

References unitName_ot.

00114 { return unitName_ot; }

std::string MonitorSD::Get_unitName_Ot (  )  [inline]

Definition at line 94 of file MonitorSD.hh.

References unitName_Ot.

00094 { return unitName_Ot; }

std::string MonitorSD::Get_unitName_ox (  )  [inline]

Definition at line 108 of file MonitorSD.hh.

References unitName_ox.

00108 { return unitName_ox; }

std::string MonitorSD::Get_unitName_Ox (  )  [inline]

Definition at line 88 of file MonitorSD.hh.

References unitName_Ox.

00088 { return unitName_Ox; }

std::string MonitorSD::Get_unitName_oy (  )  [inline]

Definition at line 110 of file MonitorSD.hh.

References unitName_oy.

00110 { return unitName_oy; }

std::string MonitorSD::Get_unitName_Oy (  )  [inline]

Definition at line 90 of file MonitorSD.hh.

References unitName_Oy.

00090 { return unitName_Oy; }

std::string MonitorSD::Get_unitName_oz (  )  [inline]

Definition at line 112 of file MonitorSD.hh.

References unitName_oz.

00112 { return unitName_oz; }

std::string MonitorSD::Get_unitName_Oz (  )  [inline]

Definition at line 92 of file MonitorSD.hh.

References unitName_Oz.

00092 { return unitName_Oz; }

std::string MonitorSD::Get_unitName_px (  )  [inline]

Definition at line 105 of file MonitorSD.hh.

References unitName_px.

00105 { return unitName_px; }

std::string MonitorSD::Get_unitName_py (  )  [inline]

Definition at line 106 of file MonitorSD.hh.

References unitName_py.

00106 { return unitName_py; }

std::string MonitorSD::Get_unitName_pz (  )  [inline]

Definition at line 107 of file MonitorSD.hh.

References unitName_pz.

00107 { return unitName_pz; }

std::string MonitorSD::Get_unitName_stepL (  )  [inline]

Definition at line 122 of file MonitorSD.hh.

References unitName_stepL.

00122 { return unitName_stepL; }

std::string MonitorSD::Get_unitName_stop_time (  )  [inline]

Definition at line 123 of file MonitorSD.hh.

References unitName_stop_time.

00123 { return unitName_stop_time; }

std::string MonitorSD::Get_unitName_t (  )  [inline]

Definition at line 101 of file MonitorSD.hh.

References unitName_t.

00101 { return unitName_t; }

std::string MonitorSD::Get_unitName_x (  )  [inline]

Definition at line 95 of file MonitorSD.hh.

References unitName_x.

00095 { return unitName_x; }

std::string MonitorSD::Get_unitName_y (  )  [inline]

Definition at line 97 of file MonitorSD.hh.

References unitName_y.

00097 { return unitName_y; }

std::string MonitorSD::Get_unitName_z (  )  [inline]

Definition at line 99 of file MonitorSD.hh.

References unitName_z.

00099 { return unitName_z; }

int MySD::get_VerboseLevel (  )  [inline, inherited]

Definition at line 27 of file MySD.hh.

References MySD::fVerboseLevel.

00027 { return fVerboseLevel; }

G4String MySD::get_VolName (  )  [inline, inherited]

Definition at line 26 of file MySD.hh.

References MySD::m_VolumeName.

Referenced by ReadOutputCard(), KillerSD::ReadOutputCard(), SetBranch(), ShowOutCard(), and KillerSD::ShowOutCard().

00026 { return m_VolumeName; }

void MonitorSD::Initialize ( G4HCofThisEvent *  HCE  ) 

Definition at line 53 of file MonitorSD.cc.

References PrimaryGeneratorAction::GetPrimaryGeneratorAction(), hitsCollection, m_charge, m_e, m_edep, m_edepAll, m_ekin, m_kill_time, m_killed, m_local_ox, m_local_Ox, m_local_oy, m_local_Oy, m_local_oz, m_local_Oz, m_local_x, m_local_y, m_local_z, m_oprocess, m_opx, m_Opx, m_opy, m_Opy, m_opz, m_Opz, m_ot, m_Ot, m_ovolName, m_ox, m_Ox, m_oy, m_Oy, m_oz, m_Oz, m_particleName, m_pid, m_ppid, m_ptid, m_px, m_py, m_pz, m_stepL, m_stop_time, m_stopped, m_t, m_tid, m_volID, m_volName, m_x, m_y, m_z, nHits, and pPrimaryGeneratorAction.

00054 {
00055         pPrimaryGeneratorAction = PrimaryGeneratorAction::GetPrimaryGeneratorAction();
00056         hitsCollection = new MonitorHitsCollection
00057                 (SensitiveDetectorName,collectionName[0]);
00058         //      std::cout<<"====>In MonitorSD::Initialize(), created hitsCollection at ("<<(void*)hitsCollection<<std::endl;
00059         G4int HCID = -1;
00060         HCID = G4SDManager::GetSDMpointer()->GetCollectionID(collectionName[0]);
00061         if ( HCID < 0 ){
00062                 G4Exception("MonitorSD::Initialize()",
00063                                 "InvalidSetup", FatalException,
00064                                 "Cann not find hitsCollection of this event");
00065         }
00066         HCE->AddHitsCollection( HCID, hitsCollection );
00067         //initialize for root objects
00068         nHits = 0;
00069         m_Ox.clear();
00070         m_local_Ox.clear();
00071         m_Oy.clear();
00072         m_local_Oy.clear();
00073         m_Oz.clear();
00074         m_local_Oz.clear();
00075         m_x.clear();
00076         m_local_x.clear();
00077         m_y.clear();
00078         m_local_y.clear();
00079         m_z.clear();
00080         m_local_z.clear();
00081         m_t.clear();
00082         m_Ot.clear();
00083         m_Opx.clear();
00084         m_Opy.clear();
00085         m_Opz.clear();
00086         m_px.clear();
00087         m_py.clear();
00088         m_pz.clear();
00089         m_ox.clear();
00090         m_local_ox.clear();
00091         m_oy.clear();
00092         m_local_oy.clear();
00093         m_oz.clear();
00094         m_local_oz.clear();
00095         m_ot.clear();
00096         m_opx.clear();
00097         m_opy.clear();
00098         m_opz.clear();
00099         m_ekin.clear();
00100         m_e.clear();
00101         m_edep.clear();
00102         m_edepAll.clear();
00103         m_stepL.clear();
00104         m_volID.clear();
00105         m_volName.clear();
00106         m_ppid.clear();
00107         m_ptid.clear();
00108         m_oprocess.clear();
00109         m_ovolName.clear();
00110         m_tid.clear();
00111         m_pid.clear();
00112         m_particleName.clear();
00113         m_charge.clear();
00114         m_stopped.clear();
00115         m_stop_time.clear();
00116         m_killed.clear();
00117         m_kill_time.clear();
00118 }

G4bool MonitorSD::ProcessHits ( G4Step *  aStep,
G4TouchableHistory *  touchableHistory 
)

Definition at line 573 of file MonitorSD.cc.

References black_list, flag_charge, flag_e, flag_edep, flag_edepAll, flag_ekin, flag_kill_time, flag_killed, flag_local_ox, flag_local_Ox, flag_local_oy, flag_local_Oy, flag_local_oz, flag_local_Oz, flag_local_x, flag_local_y, flag_local_z, flag_oprocess, flag_opx, flag_Opx, flag_opy, flag_Opy, flag_opz, flag_Opz, flag_ot, flag_Ot, flag_ovolName, flag_ox, flag_Ox, flag_oy, flag_Oy, flag_oz, flag_Oz, flag_particleName, flag_pid, flag_ppid, flag_ptid, flag_px, flag_py, flag_pz, flag_stepL, flag_stop_time, flag_stopped, flag_x, flag_y, flag_z, PrimaryGeneratorAction::get_extra(), McTruthSvc::GetMcTruthSvc(), hitsCollection, m_charge, m_e, m_edep, m_edepAll, m_ekin, m_kill_time, m_killed, m_local_ox, m_local_Ox, m_local_oy, m_local_Oy, m_local_oz, m_local_Oz, m_local_x, m_local_y, m_local_z, m_oprocess, m_opx, m_Opx, m_opy, m_Opy, m_opz, m_Opz, m_ot, m_Ot, m_ovolName, m_ox, m_Ox, m_oy, m_Oy, m_oz, m_Oz, m_particleName, m_pid, m_ppid, m_ptid, m_px, m_py, m_pz, m_stepL, m_stop_time, m_stopped, m_t, m_tid, m_volID, m_volName, m_x, m_y, m_z, maxn, maxt, mine, minedep, minp, mint, needstopped, neutralCut, nHits, pPrimaryGeneratorAction, MonitorHit::SetEdep(), MonitorHit::SetGlobalT(), MonitorHit::SetPos(), MonitorHit::SetTrackID(), MonitorHit::SetVolID(), Switch, McTruthSvc::tid2pid(), McTruthSvc::tid2time(), tres, unit_e, unit_edep, unit_edepAll, unit_ekin, unit_kill_time, unit_local_ox, unit_local_Ox, unit_local_oy, unit_local_Oy, unit_local_oz, unit_local_Oz, unit_local_x, unit_local_y, unit_local_z, unit_opx, unit_Opx, unit_opy, unit_Opy, unit_opz, unit_Opz, unit_ot, unit_Ot, unit_ox, unit_Ox, unit_oy, unit_Oy, unit_oz, unit_Oz, unit_px, unit_py, unit_pz, unit_stepL, unit_stop_time, unit_t, unit_x, unit_y, unit_z, and white_list.

00574 {
00575 
00576         //*************************get useful variables***********************
00577 
00578         // get track info
00579         G4Track* aTrack = aStep->GetTrack() ;
00580         G4int trackID= aTrack->GetTrackID(); //G4 track ID of current track.
00581         G4int charge = aTrack->GetDefinition()->GetPDGCharge();
00582         G4int pid = aTrack->GetDefinition()->GetPDGEncoding();
00583         std::string particleName = aTrack->GetParticleDefinition()->GetParticleName();
00584 
00585         // get information at the beginning and at the end of step
00586         G4StepPoint* prePoint  = aStep->GetPreStepPoint() ;
00587         G4double total_e = prePoint->GetTotalEnergy();
00588         G4double ekin = prePoint->GetKineticEnergy();
00589         G4ThreeVector pointIn_mom = prePoint->GetMomentum();
00590         G4double pointIn_pa = pointIn_mom.mag();
00591         G4ThreeVector pointIn_pos = prePoint->GetPosition();
00592         G4double pointIn_time = prePoint->GetGlobalTime();//Time since the event in which the track belongs is created
00593         G4StepPoint* postPoint  = aStep->GetPostStepPoint() ;
00594         G4double pointOut_time = postPoint->GetGlobalTime();//Time since the event in which the track belongs is created
00595         G4ThreeVector pointOut_mom = postPoint->GetMomentum();
00596         G4double pointOut_pa = pointOut_mom.mag();
00597         G4ThreeVector pointOut_pos = postPoint->GetPosition();
00598 
00599         // get volume info
00600         const G4VTouchable *touchable = prePoint->GetTouchable();
00601         G4int ReplicaNo = touchable->GetVolume(0)->GetCopyNo();
00602         G4String VolName = touchable->GetVolume(0)->GetName();
00603 
00604         // get the local positions
00605         G4ThreeVector pointIn_local_pos = touchable->GetHistory()->GetTopTransform().TransformPoint(pointIn_pos);
00606         G4ThreeVector pointOut_local_pos = touchable->GetHistory()->GetTopTransform().TransformPoint(pointOut_pos);
00607 
00608         // get step info
00609         G4double edep = aStep->GetTotalEnergyDeposit();
00610         G4double edepNonIoni = aStep->GetNonIonizingEnergyDeposit();
00611         G4double edepIoni = edep - edepNonIoni;
00612         G4double stepL = aStep->GetStepLength();
00613 
00614         //*************************filter***********************
00615         //switch
00616         if (!Switch) return false;
00617 
00618         //neutralCut
00619         if ( charge == 0 && neutralCut ) return false;
00620 
00621         //maxn
00622         if ( maxn && nHits >= maxn ) return false;
00623 
00624         // white_list
00625         bool foundit = false;
00626         for (int i = 0; i<white_list.size(); i++){
00627                 if (pid == white_list[i]) foundit=true;
00628                 if (white_list[i]==0&&pid<1e7) foundit = true;
00629                 if (white_list[i]==-1&&trackID==1) foundit = true;
00630         }
00631         if (!foundit&&white_list.size()) return false;
00632         // black_list
00633         foundit = false;
00634         for (int i = 0; i<black_list.size(); i++){
00635                 if (pid == black_list[i]) foundit=true;
00636                 if (black_list[i]==0&&pid<1e7) foundit = true;
00637                 if (black_list[i]==-1&&trackID==1) foundit = true;
00638         }
00639         if (foundit) return false;
00640 
00641         //minp
00642         if ( minp && pointIn_pa < minp ) return false;
00643         //energy
00644         if (mine&&aTrack->GetTotalEnergy()<mine) return false;
00645 
00646         //time_window
00647         if(isnan(pointIn_time)){
00648                 G4cout<<"MonitorSD:error, pointIn_time is nan "<<G4endl;
00649                 return false;
00650         }
00651         if ( pointIn_time < mint && mint ) return false;
00652         if ( pointIn_time > maxt && maxt ) return false;
00653 
00654         //minedep
00655         if( edepIoni <= minedep ) return false;
00656 
00657         //****************************Stopped or not****************************************
00658 //      std::cout<<"tid("<<trackID
00659 //               <<"), pid("<<pid
00660 //               <<"), e = "<<total_e/MeV
00661 //               <<"MeV, edep = "<<edep/MeV
00662 //               <<"MeV, t_in = "<<pointIn_time/ns
00663 //               <<"ns, pos_in = "<<pointIn_pos/mm
00664 //               <<"mm, On Boundary? "<<(prePoint->GetStepStatus() == fGeomBoundary)
00665 //               <<", t_out = "<<pointOut_time/ns
00666 //               <<"ns, pos_out = "<<pointOut_pos/mm
00667 //               <<"mm, On Boundary? "<<(postPoint->GetStepStatus() == fGeomBoundary)
00668 //               <<std::endl;
00669         G4TrackStatus fTrackStatus = aTrack->GetTrackStatus();
00670 //      if (fTrackStatus == fAlive) std::cout<<"fAlive"<<std::endl;
00671 //      else if (fTrackStatus == fStopButAlive) std::cout<<"fStopButAlive"<<std::endl;
00672 //      else if (fTrackStatus == fStopAndKill) std::cout<<"fStopAndKill"<<std::endl;
00673 //      else if (fTrackStatus == fKillTrackAndSecondaries) std::cout<<"fKillTrackAndSecondaries"<<std::endl;
00674 //      else if (fTrackStatus == fSuspend) std::cout<<"fSuspend"<<std::endl;
00675 //      else if (fTrackStatus == fPostponeToNextEvent) std::cout<<"fPostponeToNextEvent"<<std::endl;
00676 //      else std::cout<<"What?!"<<std::endl;
00677 
00678         bool stopped = false;
00679         double stop_time = 0;
00680         bool killed = false;
00681         double kill_time = 0;
00682         if (fTrackStatus == fStopButAlive || fTrackStatus == fStopAndKill){
00683                 stopped = true;
00684                 stop_time = pointIn_time;
00685         }
00686         if (fTrackStatus == fStopAndKill || fTrackStatus == fKillTrackAndSecondaries){
00687                 killed = true;
00688                 kill_time = pointIn_time;
00689         }
00690 
00691         if (needstopped&&(!killed&&!stopped)) return false;
00692 
00693         //****************************generate new hit or modify old one********************************
00694         bool willPush = true;
00695         // Check if there was a previous hit that we should be merging this one against
00696         G4int index = -1;
00697         G4double dt = 1e10*s; 
00698         for ( int i = 0; i < nHits; i++ ){
00699            if (   m_tid[i] == trackID     // Must have the same track ID
00700                && m_volName[i] == VolName // Must be in the same logical volume
00701                && m_volID[i] == ReplicaNo // If we have repeated physical volumes, must have same replica number
00702              ){
00703                // Take the absolute difference between the times of the new hit and the current one we're considering
00704                G4double dtime = fabs(pointOut_time - m_t[i]*unit_t);  
00705 
00706                // If this is less than the current closest candidate hit, then make this one the new candidate
00707                if ( dtime < dt ){
00708                   index = i;
00709                   dt = dtime;
00710                   // Set the flag to make a new hit to false if `dt` is less than `tres`
00711                   if( willPush && dt < tres) willPush=false;
00712                }
00713             }
00714         }
00715 
00716         if (willPush){
00717                 MonitorHit* newHit = new MonitorHit();
00718                 newHit->SetTrackID(trackID);
00719                 newHit->SetVolID(ReplicaNo);
00720                 newHit->SetEdep(edepIoni);
00721                 newHit->SetPos(pointIn_pos);
00722                 newHit->SetGlobalT(pointIn_time);
00723                 hitsCollection->insert(newHit);
00724                 //Set for root objects
00725                 if(flag_Ox) m_Ox.push_back(pointOut_pos.x()/unit_Ox);
00726                 if(flag_local_Ox) m_local_Ox.push_back(pointOut_local_pos.x()/unit_local_Ox);
00727                 if(flag_Oy) m_Oy.push_back(pointOut_pos.y()/unit_Oy);
00728                 if(flag_local_Oy) m_local_Oy.push_back(pointOut_local_pos.y()/unit_local_Oy);
00729                 if(flag_Oz) m_Oz.push_back(pointOut_pos.z()/unit_Oz);
00730                 if(flag_local_Oz) m_local_Oz.push_back(pointOut_local_pos.z()/unit_local_Oz);
00731                 if(flag_Ot) m_Ot.push_back(pointOut_time/unit_Ot);
00732                 if(flag_Opx) m_Opx.push_back(pointOut_mom.x()/unit_Opx);
00733                 if(flag_Opy) m_Opy.push_back(pointOut_mom.y()/unit_Opy);
00734                 if(flag_Opz) m_Opz.push_back(pointOut_mom.z()/unit_Opz);
00735                 if(flag_x) m_x.push_back(pointIn_pos.x()/unit_x);
00736                 if(flag_local_x) m_local_x.push_back(pointIn_local_pos.x()/unit_local_x);
00737                 if(flag_y) m_y.push_back(pointIn_pos.y()/unit_y);
00738                 if(flag_local_y) m_local_y.push_back(pointIn_local_pos.y()/unit_local_y);
00739                 if(flag_z) m_z.push_back(pointIn_pos.z()/unit_z);
00740                 if(flag_local_z) m_local_z.push_back(pointIn_local_pos.z()/unit_local_z);
00741                 m_t.push_back(pointIn_time/unit_t);
00742                 //std::cout<<"m_t = pointOut_time/"<<unitName_t<<" = pointOut_time/"<<unit_t/ns<<"ns = "<<pointOut_time/unit_t<<unitName_t<<std::endl;
00743                 if(flag_px) m_px.push_back(pointIn_mom.x()/unit_px);
00744                 if(flag_py) m_py.push_back(pointIn_mom.y()/unit_py);
00745                 if(flag_pz) m_pz.push_back(pointIn_mom.z()/unit_pz);
00746                 if(flag_ekin) m_ekin.push_back(ekin/unit_ekin);
00747                 if(flag_e) m_e.push_back(total_e/unit_e);
00748                 if(flag_edep) m_edep.push_back(edepIoni/unit_edep);
00749                 if(flag_edepAll) m_edepAll.push_back(edep/unit_edepAll);
00750                 if(flag_stepL) m_stepL.push_back(stepL/unit_stepL);
00751                 m_volID.push_back(ReplicaNo);
00752                 m_volName.push_back(VolName);
00753                 m_tid.push_back(trackID);
00754                 if(flag_pid) m_pid.push_back(pid);
00755                 if(flag_particleName) m_particleName.push_back(particleName);
00756                 if(flag_charge) m_charge.push_back(charge);
00757                 if(flag_stopped) m_stopped.push_back(stopped); // always false unless stopped at the first step
00758                 if(flag_killed) m_killed.push_back(killed); // always false unless killed at the first step
00759                 if(flag_stop_time) m_stop_time.push_back(stop_time/unit_stop_time); // always 0 unless stopped at the first step
00760                 if(flag_kill_time) m_kill_time.push_back(kill_time/unit_kill_time); // always 0 unless killed at the first step
00761                 if(flag_ptid){
00762                         int ptid = aTrack->GetParentID();
00763                         if (trackID==1){
00764                                 void *result = pPrimaryGeneratorAction->get_extra("ptid");
00765                                 if (result) ptid = *((int*)result);
00766                         }
00767                         m_ptid.push_back(ptid);
00768                 }
00769                 if(flag_ppid){
00770                         int ptid = aTrack->GetParentID();
00771                         int ppid = McTruthSvc::GetMcTruthSvc()->tid2pid(ptid);
00772                         if (trackID==1){
00773                                 void *result = pPrimaryGeneratorAction->get_extra("ppid");
00774                                 if (result) ppid = *((int*)result);
00775                         }
00776                         m_ppid.push_back(ppid);
00777                 }
00778                 if(flag_oprocess){
00779                         G4String processName;
00780                         const G4VProcess* process = aTrack->GetCreatorProcess();
00781                         if (process) {
00782                                 processName = process->GetProcessName();
00783                         }
00784                         else{
00785                                 processName = "NULL";
00786                         }
00787                         if (trackID==1){
00788                                 void *result = pPrimaryGeneratorAction->get_extra("process");
00789                                 if (result) processName = *((std::string*)result);
00790                         }
00791                         m_oprocess.push_back(processName);
00792                 }
00793                 if(flag_ovolName){
00794                         G4String volume = aTrack->GetLogicalVolumeAtVertex()->GetName();
00795                         if (trackID==1){
00796                                 void *result = pPrimaryGeneratorAction->get_extra("volume");
00797                                 if (result) volume = *((std::string*)result);
00798                         }
00799                         m_ovolName.push_back(volume);
00800                 }
00801                 if (flag_ox||flag_oy||flag_oz||
00802                     flag_local_ox||flag_local_oy||flag_local_oz){
00803                         G4ThreeVector pos_3vec = aTrack->GetVertexPosition();
00804                         double ox = pos_3vec.x()/unit_ox;
00805                         double oy = pos_3vec.y()/unit_oy;
00806                         double oz = pos_3vec.z()/unit_oz;
00807 
00808                         G4ThreeVector local_pos_3vec = touchable->GetHistory()->GetTopTransform().TransformPoint(pos_3vec);
00809                         double local_ox = local_pos_3vec.x()/unit_local_ox;
00810                         double local_oy = local_pos_3vec.y()/unit_local_oy;
00811                         double local_oz = local_pos_3vec.z()/unit_local_oz;
00812 
00813                         if (trackID==1){
00814                                 void *result = pPrimaryGeneratorAction->get_extra("ox");
00815                                 if (result) ox = *((double*)result)*mm/unit_ox;
00816                                 if (result) local_ox = *((double*)result)*mm/unit_local_ox;
00817                                 result = pPrimaryGeneratorAction->get_extra("oy");
00818                                 if (result) oy = *((double*)result)*mm/unit_oy;
00819                                 if (result) local_oy = *((double*)result)*mm/unit_local_oy;
00820                                 result = pPrimaryGeneratorAction->get_extra("oz");
00821                                 if (result) oz = *((double*)result)*mm/unit_oz;
00822                                 if (result) local_oz = *((double*)result)*mm/unit_local_oz;
00823                         }
00824                         if(flag_ox) m_ox.push_back(ox);
00825                         if(flag_local_ox) m_local_ox.push_back(local_ox);
00826                         if(flag_oy) m_oy.push_back(oy);
00827                         if(flag_local_oy) m_local_oy.push_back(local_oy);
00828                         if(flag_oz) m_oz.push_back(oz);
00829                         if(flag_local_oz) m_local_oz.push_back(local_oz);
00830                 }
00831                 if(flag_ot){
00832                         double ot;
00833                         ot = McTruthSvc::GetMcTruthSvc()->tid2time(trackID)/unit_ot;
00834                         if (trackID==1){
00835                                 void *result = pPrimaryGeneratorAction->get_extra("ox");
00836                                 if (result) ot = *((double*)result)*ns/unit_ot;
00837                         }
00838                         m_ot.push_back(ot);
00839                 }
00840                 if (flag_opx||flag_opy||flag_opz){
00841                         G4ThreeVector mom_dir = aTrack->GetVertexMomentumDirection();
00842                         G4double Ekin = aTrack->GetVertexKineticEnergy();
00843                         G4double mass = aTrack->GetDynamicParticle()->GetMass();
00844                         G4double mom = sqrt((mass+Ekin)*(mass+Ekin)-mass*mass);
00845                         double opx = mom*mom_dir.x()/unit_opx;
00846                         double opy = mom*mom_dir.y()/unit_opy;
00847                         double opz = mom*mom_dir.z()/unit_opz;
00848                         if (trackID==1){
00849                                 void *result = pPrimaryGeneratorAction->get_extra("opx");
00850                                 if (result) opx = *((double*)result)*mm/unit_opx;
00851                                 result = pPrimaryGeneratorAction->get_extra("opy");
00852                                 if (result) opy = *((double*)result)*mm/unit_opy;
00853                                 result = pPrimaryGeneratorAction->get_extra("opz");
00854                                 if (result) opz = *((double*)result)*mm/unit_opz;
00855                         }
00856                         if(flag_opx) m_opx.push_back(opx);
00857                         if(flag_opy) m_opy.push_back(opy);
00858                         if(flag_opz) m_opz.push_back(opz);
00859                 }
00860                 nHits++;
00861         }
00862         else {
00863                 G4double edepTemp = (*hitsCollection)[index]->GetEdep();
00864                 (*hitsCollection)[index]->SetEdep(edepTemp  + edepIoni);
00865                 (*hitsCollection)[index]->SetPos(pointOut_pos);
00866                 (*hitsCollection)[index]->SetGlobalT(pointOut_time);
00867                 if (m_tid[index] == trackID){
00868                         if(flag_Ox) m_Ox[index] = pointOut_pos.x()/unit_Ox;
00869                         if(flag_local_Ox) m_local_Ox[index] = pointOut_local_pos.x()/unit_local_Ox;
00870                         if(flag_Oy) m_Oy[index] = pointOut_pos.y()/unit_Oy;
00871                         if(flag_local_Oy) m_local_Oy[index] = pointOut_local_pos.y()/unit_local_Oy;
00872                         if(flag_Oz) m_Oz[index] = pointOut_pos.z()/unit_Oz;
00873                         if(flag_local_Oz) m_local_Oz[index] = pointOut_local_pos.z()/unit_local_Oz;
00874                         if(flag_Ot) m_Ot[index] = pointOut_time/unit_Ot;
00875                         if(flag_Opx) m_Opx[index] = pointOut_mom.x()/unit_Opx;
00876                         if(flag_Opy) m_Opy[index] = pointOut_mom.y()/unit_Opy;
00877                         if(flag_Opz) m_Opz[index] = pointOut_mom.z()/unit_Opz;
00878                         if(flag_stepL) m_stepL[index] += stepL/unit_stepL;
00879                         if(flag_stop_time&&stopped) m_stop_time[index] = stop_time/unit_stop_time; // modify only if it got stopped at this step
00880                         if(flag_kill_time&&killed) m_kill_time[index] = kill_time/unit_kill_time;// modify only if it got killed at this step
00881                         if(flag_stopped&&stopped) m_stopped[index] = stopped;// modify only if it got stopped at this step
00882                         if(flag_killed&&killed) m_killed[index] = killed;// modify only if it got killed at this step
00883                 }
00884                 if(flag_edep) m_edep[index] += edepIoni/unit_edep;
00885                 if(flag_edepAll) m_edepAll[index] += edep/unit_edepAll;
00886         }
00887         return true;
00888 }

void MonitorSD::ReadOutputCard ( G4String  filename  )  [virtual]

Reimplemented from MySD.

Definition at line 180 of file MonitorSD.cc.

References black_list, flag_charge, flag_e, flag_edep, flag_edepAll, flag_ekin, flag_kill_time, flag_killed, flag_local_ox, flag_local_Ox, flag_local_oy, flag_local_Oy, flag_local_oz, flag_local_Oz, flag_local_x, flag_local_y, flag_local_z, flag_nHits, flag_oprocess, flag_opx, flag_Opx, flag_opy, flag_Opy, flag_opz, flag_Opz, flag_ot, flag_Ot, flag_ovolName, flag_ox, flag_Ox, flag_oy, flag_Oy, flag_oz, flag_Oz, flag_particleName, flag_pid, flag_ppid, flag_ptid, flag_px, flag_py, flag_pz, flag_stepL, flag_stop_time, flag_stopped, flag_t, flag_tid, flag_volID, flag_volName, flag_x, flag_y, flag_z, MyString2Anything::get_U(), MySD::get_VolName(), maxn, maxt, mine, minedep, minp, mint, needstopped, neutralCut, ReSet(), ShowOutCard(), Switch, tres, unit_e, unit_edep, unit_edepAll, unit_ekin, unit_kill_time, unit_local_ox, unit_local_Ox, unit_local_oy, unit_local_Oy, unit_local_oz, unit_local_Oz, unit_local_x, unit_local_y, unit_local_z, unit_opx, unit_Opx, unit_opy, unit_Opy, unit_opz, unit_Opz, unit_ot, unit_Ot, unit_ox, unit_Ox, unit_oy, unit_Oy, unit_oz, unit_Oz, unit_px, unit_py, unit_pz, unit_stepL, unit_stop_time, unit_t, unit_x, unit_y, unit_z, unitName_e, unitName_edep, unitName_edepAll, unitName_ekin, unitName_kill_time, unitName_local_ox, unitName_local_Ox, unitName_local_oy, unitName_local_Oy, unitName_local_oz, unitName_local_Oz, unitName_local_x, unitName_local_y, unitName_local_z, unitName_opx, unitName_Opx, unitName_opy, unitName_Opy, unitName_opz, unitName_Opz, unitName_ot, unitName_Ot, unitName_ox, unitName_Ox, unitName_oy, unitName_Oy, unitName_oz, unitName_Oz, unitName_px, unitName_py, unitName_pz, unitName_stepL, unitName_stop_time, unitName_t, unitName_x, unitName_y, unitName_z, and white_list.

00180                                                {
00181         ReSet();
00182         std::ifstream fin_card(filename);
00183         if(!fin_card){
00184                 std::cout<<"In MonitorSD::ReadOutputCard, cannot open "<<filename<<"!!!"<<std::endl;
00185                 G4Exception("MonitorSD::ReadOutputCard()",
00186                                 "InvalidSetup", FatalException,
00187                                 "cannot find output card");
00188         }
00189         std::stringstream buf_card;
00190         G4String s_card;
00191         G4String volName = get_VolName();
00192         int n_output_section_symbol = 0;
00193         int n_filter_section_symbol = 0;
00194         G4String BRANCHSECTIONNAME = volName + "_SECTION";
00195         G4String FILTERSECTIONNAME = volName + "_FILTERSECTION";
00196         while(getline(fin_card,s_card)){
00197                 buf_card.str("");
00198                 buf_card.clear();
00199                 buf_card<<s_card;
00200 
00201                 //eleminate useless lines
00202                 const char* c_card = s_card.c_str();
00203                 int length = strlen(c_card);
00204                 int offset = 0;
00205                 for ( ; offset < length; offset++ ){
00206                         if ( c_card[offset] != ' ' ) break;
00207                 }
00208                 if ( c_card[offset] == '#' || (c_card[offset] == '/' && c_card[offset+1] == '/') || length - offset == 0 ){
00209                         continue;
00210                 }
00211 
00212                 G4String name, unit;
00213                 buf_card>>name;
00214                 if ( n_output_section_symbol == 0 ){
00215                         if ( name == BRANCHSECTIONNAME ){
00216                                 n_output_section_symbol++;
00217                         }
00218                 }
00219                 else if ( n_output_section_symbol == 1 ){
00220                         if ( name == BRANCHSECTIONNAME ){
00221                                 n_output_section_symbol++;
00222                         }
00223                         else if( name == "nHits" ) {flag_nHits = true;}
00224                         else if( name == "Ox" ) {{flag_Ox = true; buf_card>>unitName_Ox; unit_Ox = MyString2Anything::get_U(unitName_Ox);}}
00225                         else if( name == "local_Ox" ) {{flag_local_Ox = true; buf_card>>unitName_local_Ox; unit_local_Ox = MyString2Anything::get_U(unitName_local_Ox);}}
00226                         else if( name == "Oy" ) {{flag_Oy = true; buf_card>>unitName_Oy; unit_Oy = MyString2Anything::get_U(unitName_Oy);}}
00227                         else if( name == "local_Oy" ) {{flag_local_Oy = true; buf_card>>unitName_local_Oy; unit_local_Oy = MyString2Anything::get_U(unitName_local_Oy);}}
00228                         else if( name == "Oz" ) {{flag_Oz = true; buf_card>>unitName_Oz; unit_Oz = MyString2Anything::get_U(unitName_Oz);}}
00229                         else if( name == "local_Oz" ) {{flag_local_Oz = true; buf_card>>unitName_local_Oz; unit_local_Oz = MyString2Anything::get_U(unitName_local_Oz);}}
00230                         else if( name == "Ot" ) {{flag_Ot = true; buf_card>>unitName_Ot; unit_Ot = MyString2Anything::get_U(unitName_Ot);}}
00231                         else if( name == "x" ) {{flag_x = true; buf_card>>unitName_x; unit_x = MyString2Anything::get_U(unitName_x);}}
00232                         else if( name == "local_x" ) {{flag_local_x = true; buf_card>>unitName_local_x; unit_local_x = MyString2Anything::get_U(unitName_local_x);}}
00233                         else if( name == "y" ) {{flag_y = true; buf_card>>unitName_y; unit_y = MyString2Anything::get_U(unitName_y);}}
00234                         else if( name == "local_y" ) {{flag_local_y = true; buf_card>>unitName_local_y; unit_local_y = MyString2Anything::get_U(unitName_local_y);}}
00235                         else if( name == "z" ) {{flag_z = true; buf_card>>unitName_z; unit_z = MyString2Anything::get_U(unitName_z);}}
00236                         else if( name == "local_z" ) {{flag_local_z = true; buf_card>>unitName_local_z; unit_local_z = MyString2Anything::get_U(unitName_local_z);}}
00237                         else if( name == "t" ) {{flag_t = true; buf_card>>unitName_t; unit_t = MyString2Anything::get_U(unitName_t);}}
00238                         else if( name == "Opx" ) {{flag_Opx = true; buf_card>>unitName_Opx; unit_Opx = MyString2Anything::get_U(unitName_Opx);}}
00239                         else if( name == "Opy" ) {{flag_Opy = true; buf_card>>unitName_Opy; unit_Opy = MyString2Anything::get_U(unitName_Opy);}}
00240                         else if( name == "Opz" ) {{flag_Opz = true; buf_card>>unitName_Opz; unit_Opz = MyString2Anything::get_U(unitName_Opz);}}
00241                         else if( name == "px" ) {{flag_px = true; buf_card>>unitName_px; unit_px = MyString2Anything::get_U(unitName_px);}}
00242                         else if( name == "py" ) {{flag_py = true; buf_card>>unitName_py; unit_py = MyString2Anything::get_U(unitName_py);}}
00243                         else if( name == "pz" ) {{flag_pz = true; buf_card>>unitName_pz; unit_pz = MyString2Anything::get_U(unitName_pz);}}
00244                         else if( name == "ox" ) {{flag_ox = true; buf_card>>unitName_ox; unit_ox = MyString2Anything::get_U(unitName_ox);}}
00245                         else if( name == "local_ox" ) {{flag_local_ox = true; buf_card>>unitName_local_ox; unit_local_ox = MyString2Anything::get_U(unitName_local_ox);}}
00246                         else if( name == "oy" ) {{flag_oy = true; buf_card>>unitName_oy; unit_oy = MyString2Anything::get_U(unitName_oy);}}
00247                         else if( name == "local_oy" ) {{flag_local_oy = true; buf_card>>unitName_local_oy; unit_local_oy = MyString2Anything::get_U(unitName_local_oy);}}
00248                         else if( name == "oz" ) {{flag_oz = true; buf_card>>unitName_oz; unit_oz = MyString2Anything::get_U(unitName_oz);}}
00249                         else if( name == "local_oz" ) {{flag_local_oz = true; buf_card>>unitName_local_oz; unit_local_oz = MyString2Anything::get_U(unitName_local_oz);}}
00250                         else if( name == "ot" ) {{flag_ot = true; buf_card>>unitName_ot; unit_ot = MyString2Anything::get_U(unitName_ot);}}
00251                         else if( name == "opx" ) {{flag_opx = true; buf_card>>unitName_opx; unit_opx = MyString2Anything::get_U(unitName_opx);}}
00252                         else if( name == "opy" ) {{flag_opy = true; buf_card>>unitName_opy; unit_opy = MyString2Anything::get_U(unitName_opy);}}
00253                         else if( name == "opz" ) {{flag_opz = true; buf_card>>unitName_opz; unit_opz = MyString2Anything::get_U(unitName_opz);}}
00254                         else if( name == "ekin" ) {{flag_ekin = true; buf_card>>unitName_ekin; unit_ekin = MyString2Anything::get_U(unitName_ekin);}}
00255                         else if( name == "e" ) {{flag_e = true; buf_card>>unitName_e; unit_e = MyString2Anything::get_U(unitName_e);}}
00256                         else if( name == "edep" ) {{flag_edep = true; buf_card>>unitName_edep; unit_edep = MyString2Anything::get_U(unitName_edep);}}
00257                         else if( name == "edepAll" ) {{flag_edepAll = true; buf_card>>unitName_edepAll; unit_edepAll = MyString2Anything::get_U(unitName_edepAll);}}
00258                         else if( name == "stepL" ) {{flag_stepL = true; buf_card>>unitName_stepL; unit_stepL = MyString2Anything::get_U(unitName_stepL);}}
00259                         else if( name == "volID" ) {flag_volID = true;}
00260                         else if( name == "volName" ) {flag_volName = true;}
00261                         else if( name == "ppid" ) {flag_ppid = true;}
00262                         else if( name == "ptid" ) {flag_ptid = true;}
00263                         else if( name == "oprocess" ) {flag_oprocess = true;}
00264                         else if( name == "ovolName" ) {flag_ovolName = true;}
00265                         else if( name == "tid" ) {flag_tid = true;}
00266                         else if( name == "pid" ) {flag_pid = true;}
00267                         else if( name == "particleName" ) flag_particleName = true;
00268                         else if( name == "charge" ) {flag_charge = true;}
00269                         else if( name == "stopped" ) {flag_stopped = true;}
00270                         else if( name == "stop_time" ) {{flag_stop_time = true; buf_card>>unitName_stop_time; unit_stop_time = MyString2Anything::get_U(unitName_stop_time);}}
00271                         else if( name == "killed" ) {flag_killed = true;}
00272                         else if( name == "kill_time" ) {{flag_kill_time = true; buf_card>>unitName_kill_time; unit_kill_time = MyString2Anything::get_U(unitName_kill_time);}}
00273                         else{
00274                                 std::cout<<"In MonitorSD::ReadOutputCard, unknown name: "<<name<<" in file "<<filename<<std::endl;
00275                                 std::cout<<"Will ignore this line!"<<std::endl;
00276                         }
00277                 }
00278 
00279                 if ( n_filter_section_symbol == 0 ){
00280                         if ( name == FILTERSECTIONNAME ){
00281                                 n_filter_section_symbol++;
00282                         }
00283                 }
00284                 else if ( n_filter_section_symbol == 1 ){
00285                         if ( name == FILTERSECTIONNAME ){
00286                                 n_filter_section_symbol++;
00287                         }
00288                         else if( name == "Switch" ) Switch = true;
00289                         else if( name == "stopped" ) needstopped = true;
00290                         else if( name == "neutralCut" ) neutralCut = true;
00291                         else if( name == "maxn" ) buf_card>>maxn;
00292                         else if( name == "WL" ){
00293                                 int pid = 0;
00294                                 buf_card>>pid;
00295                                 white_list.push_back(pid);
00296                         }
00297                         else if( name == "BL" ){
00298                                 int pid = 0;
00299                                 buf_card>>pid;
00300                                 black_list.push_back(pid);
00301                         }
00302                         else{
00303                                 G4double para;
00304                                 G4String unit;
00305                                 buf_card>>para>>unit;
00306                                 para *= MyString2Anything::get_U(unit);
00307                                 if( name == "minp" ) minp = para;
00308                                 else if( name == "mine" ) mine = para;
00309                                 else if ( name == "minedep" ) minedep = para;
00310                                 else if( name == "mint" ) mint = para;
00311                                 else if( name == "maxt" ) maxt = para;
00312                                 // tres controls the maximum time between hits where we still add them together
00313                                 // If it is less than 0 we interpret that to mean "sum all hits" so set it to a massive number here
00314                                 // If it's equal to 0, we disable all adding completely
00315                                 else if( name == "tres" ) tres = para<0? 1e10*s : para ; 
00316                                 else{
00317                                         std::cout<<"In MonitorSD::ReadOutputCard, unknown name: "<<name<<" in file "<<filename<<std::endl;
00318                                         std::cout<<"Will ignore this line!"<<std::endl;
00319                                 }
00320                         }
00321                 }
00322 
00323                 if ( n_output_section_symbol > 1 && n_filter_section_symbol > 1 ){
00324                         break;
00325                 }
00326         }
00327         buf_card.str("");
00328         buf_card.clear();
00329         if ( n_output_section_symbol <= 1 ){
00330                 std::cout<<"*****************WARNING********************"<<std::endl;
00331                 std::cout<<"In MonitorSD::ReadOutputCard, failed to find enough section seperators \""<<BRANCHSECTIONNAME<<"\" for output in file "<<filename<<std::endl;
00332                 std::cout<<"Will use default settings."<<std::endl;
00333                 std::cout<<"********************************************"<<std::endl;
00334         }
00335         if ( n_filter_section_symbol<= 1 ){
00336                 std::cout<<"*****************WARNING********************"<<std::endl;
00337                 std::cout<<"In MonitorSD::ReadOutputCard, failed to find enough section seperators \""<<FILTERSECTIONNAME<<"\" for filter in file "<<filename<<std::endl;
00338                 std::cout<<"Will use default settings."<<std::endl;
00339                 std::cout<<"********************************************"<<std::endl;
00340         }
00341         fin_card.close();
00342         ShowOutCard();
00343 }

void MonitorSD::ReSet (  )  [private]

Definition at line 347 of file MonitorSD.cc.

References black_list, flag_charge, flag_e, flag_edep, flag_edepAll, flag_ekin, flag_kill_time, flag_killed, flag_local_ox, flag_local_Ox, flag_local_oy, flag_local_Oy, flag_local_oz, flag_local_Oz, flag_local_x, flag_local_y, flag_local_z, flag_nHits, flag_oprocess, flag_opx, flag_Opx, flag_opy, flag_Opy, flag_opz, flag_Opz, flag_ot, flag_Ot, flag_ovolName, flag_ox, flag_Ox, flag_oy, flag_Oy, flag_oz, flag_Oz, flag_particleName, flag_pid, flag_ppid, flag_ptid, flag_px, flag_py, flag_pz, flag_stepL, flag_stop_time, flag_stopped, flag_t, flag_tid, flag_volID, flag_volName, flag_x, flag_y, flag_z, MyString2Anything::get_U(), maxn, maxt, mine, minedep, minp, mint, needstopped, neutralCut, Switch, tres, unit_e, unit_edep, unit_edepAll, unit_ekin, unit_kill_time, unit_local_ox, unit_local_Ox, unit_local_oy, unit_local_Oy, unit_local_oz, unit_local_Oz, unit_local_x, unit_local_y, unit_local_z, unit_opx, unit_Opx, unit_opy, unit_Opy, unit_opz, unit_Opz, unit_ot, unit_Ot, unit_ox, unit_Ox, unit_oy, unit_Oy, unit_oz, unit_Oz, unit_px, unit_py, unit_pz, unit_stepL, unit_stop_time, unit_t, unit_x, unit_y, unit_z, unitName_e, unitName_edep, unitName_edepAll, unitName_ekin, unitName_kill_time, unitName_local_ox, unitName_local_Ox, unitName_local_oy, unitName_local_Oy, unitName_local_oz, unitName_local_Oz, unitName_local_x, unitName_local_y, unitName_local_z, unitName_opx, unitName_Opx, unitName_opy, unitName_Opy, unitName_opz, unitName_Opz, unitName_ot, unitName_Ot, unitName_ox, unitName_Ox, unitName_oy, unitName_Oy, unitName_oz, unitName_Oz, unitName_px, unitName_py, unitName_pz, unitName_stepL, unitName_stop_time, unitName_t, unitName_x, unitName_y, unitName_z, and white_list.

Referenced by ReadOutputCard().

00347                      {
00348         //default output set
00349         flag_nHits = false;
00350         flag_Ox = false;
00351         flag_local_Ox = false;
00352         flag_Oy = false;
00353         flag_local_Oy = false;
00354         flag_Oz = false;
00355         flag_local_Oz = false;
00356         flag_Ot = false;
00357         flag_x = false;
00358         flag_local_x = false;
00359         flag_y = false;
00360         flag_local_y = false;
00361         flag_z = false;
00362         flag_local_z = false;
00363         flag_t = false;
00364         flag_Opx = false;
00365         flag_Opy = false;
00366         flag_Opz = false;
00367         flag_px = false;
00368         flag_py = false;
00369         flag_pz = false;
00370         flag_ox = false;
00371         flag_local_ox = false;
00372         flag_oy = false;
00373         flag_local_oy = false;
00374         flag_oz = false;
00375         flag_local_oz = false;
00376         flag_ot = false;
00377         flag_opx = false;
00378         flag_opy = false;
00379         flag_opz = false;
00380         flag_ekin = false;
00381         flag_e = false;
00382         flag_edep = false;
00383         flag_edepAll = false;
00384         flag_stepL = false;
00385         flag_volID = false;
00386         flag_volName = false;
00387         flag_ppid = false;
00388         flag_ptid = false;
00389         flag_oprocess = false;
00390         flag_ovolName = false;
00391         flag_tid = false;
00392         flag_pid = false;
00393         flag_particleName = false;
00394         flag_charge = false;
00395         flag_stopped = false;
00396         flag_stop_time = false;
00397         flag_killed = false;
00398         flag_kill_time = false;
00399         //for fileter
00400         Switch = false;
00401         neutralCut = false;
00402         needstopped = false;
00403         minp = 0;
00404         mine = 0;
00405         maxn = 0;
00406         mint = 0;
00407         maxt = 0;
00408         tres = 0;
00409         minedep = -1*MeV;
00410         white_list.clear();
00411         black_list.clear();
00412         //for units
00413         unitName_Ox = "cm";
00414         unitName_local_Ox = "cm";
00415         unitName_Oy = "cm";
00416         unitName_local_Oy = "cm";
00417         unitName_Oz = "cm";
00418         unitName_local_Oz = "cm";
00419         unitName_Ot = "ns";
00420         unitName_x = "cm";
00421         unitName_local_x = "cm";
00422         unitName_y = "cm";
00423         unitName_local_y = "cm";
00424         unitName_z = "cm";
00425         unitName_local_z = "cm";
00426         unitName_t = "ns";
00427         unitName_Opx = "GeV";
00428         unitName_Opy = "GeV";
00429         unitName_Opz = "GeV";
00430         unitName_px = "GeV";
00431         unitName_py = "GeV";
00432         unitName_pz = "GeV";
00433         unitName_ox = "cm";
00434         unitName_local_ox = "cm";
00435         unitName_oy = "cm";
00436         unitName_local_oy = "cm";
00437         unitName_oz = "cm";
00438         unitName_local_oz = "cm";
00439         unitName_ot = "ns";
00440         unitName_opx = "GeV";
00441         unitName_opy = "GeV";
00442         unitName_opz = "GeV";
00443         unitName_ekin = "GeV";
00444         unitName_e = "GeV";
00445         unitName_edep = "GeV";
00446         unitName_edepAll = "GeV";
00447         unitName_stepL = "cm";
00448         unitName_stop_time = "ns";
00449         unitName_kill_time = "ns";
00450         unit_Ox = MyString2Anything::get_U(unitName_Ox);
00451         unit_local_Ox = MyString2Anything::get_U(unitName_local_Ox);
00452         unit_Oy = MyString2Anything::get_U(unitName_Oy);
00453         unit_local_Oy = MyString2Anything::get_U(unitName_local_Oy);
00454         unit_Oz = MyString2Anything::get_U(unitName_Oz);
00455         unit_local_Oz = MyString2Anything::get_U(unitName_local_Oz);
00456         unit_Ot = MyString2Anything::get_U(unitName_Ot);
00457         unit_x = MyString2Anything::get_U(unitName_x);
00458         unit_local_x = MyString2Anything::get_U(unitName_local_x);
00459         unit_y = MyString2Anything::get_U(unitName_y);
00460         unit_local_y = MyString2Anything::get_U(unitName_local_y);
00461         unit_z = MyString2Anything::get_U(unitName_z);
00462         unit_local_z = MyString2Anything::get_U(unitName_local_z);
00463         unit_t = MyString2Anything::get_U(unitName_t);
00464         unit_Opx = MyString2Anything::get_U(unitName_Opx);
00465         unit_Opy = MyString2Anything::get_U(unitName_Opy);
00466         unit_Opz = MyString2Anything::get_U(unitName_Opz);
00467         unit_px = MyString2Anything::get_U(unitName_px);
00468         unit_py = MyString2Anything::get_U(unitName_py);
00469         unit_pz = MyString2Anything::get_U(unitName_pz);
00470         unit_ox = MyString2Anything::get_U(unitName_ox);
00471         unit_local_ox = MyString2Anything::get_U(unitName_local_ox);
00472         unit_oy = MyString2Anything::get_U(unitName_oy);
00473         unit_local_oy = MyString2Anything::get_U(unitName_local_oy);
00474         unit_oz = MyString2Anything::get_U(unitName_oz);
00475         unit_local_oz = MyString2Anything::get_U(unitName_local_oz);
00476         unit_ot = MyString2Anything::get_U(unitName_ot);
00477         unit_opx = MyString2Anything::get_U(unitName_opx);
00478         unit_opy = MyString2Anything::get_U(unitName_opy);
00479         unit_opz = MyString2Anything::get_U(unitName_opz);
00480         unit_ekin = MyString2Anything::get_U(unitName_ekin);
00481         unit_e = MyString2Anything::get_U(unitName_e);
00482         unit_edep = MyString2Anything::get_U(unitName_edep);
00483         unit_edepAll = MyString2Anything::get_U(unitName_edepAll);
00484         unit_stepL = MyString2Anything::get_U(unitName_stepL);
00485         unit_stop_time = MyString2Anything::get_U(unitName_stop_time);
00486         unit_kill_time = MyString2Anything::get_U(unitName_kill_time);
00487 }

void MySD::set_GeometryParameter ( MyVGeometryParameter val  )  [inline, inherited]

Definition at line 32 of file MySD.hh.

References MySD::m_GeometryParameter.

Referenced by MyDetectorManager::GetSD().

00032 { m_GeometryParameter = val; }

void MySD::set_VerboseLevel ( int  val  )  [inline, inherited]

Definition at line 31 of file MySD.hh.

References MySD::fVerboseLevel.

00031 { fVerboseLevel = val; }

void MonitorSD::SetBranch ( void   )  [virtual]

Reimplemented from MySD.

Definition at line 122 of file MonitorSD.cc.

References flag_charge, flag_e, flag_edep, flag_edepAll, flag_ekin, flag_kill_time, flag_killed, flag_local_ox, flag_local_Ox, flag_local_oy, flag_local_Oy, flag_local_oz, flag_local_Oz, flag_local_x, flag_local_y, flag_local_z, flag_nHits, flag_oprocess, flag_opx, flag_Opx, flag_opy, flag_Opy, flag_opz, flag_Opz, flag_ot, flag_Ot, flag_ovolName, flag_ox, flag_Ox, flag_oy, flag_Oy, flag_oz, flag_Oz, flag_particleName, flag_pid, flag_ppid, flag_ptid, flag_px, flag_py, flag_pz, flag_stepL, flag_stop_time, flag_stopped, flag_t, flag_tid, flag_volID, flag_volName, flag_x, flag_y, flag_z, MySD::get_VolName(), MyRoot::GetMyRoot(), m_charge, m_e, m_edep, m_edepAll, m_ekin, m_kill_time, m_killed, m_local_ox, m_local_Ox, m_local_oy, m_local_Oy, m_local_oz, m_local_Oz, m_local_x, m_local_y, m_local_z, m_oprocess, m_opx, m_Opx, m_opy, m_Opy, m_opz, m_Opz, m_ot, m_Ot, m_ovolName, m_ox, m_Ox, m_oy, m_Oy, m_oz, m_Oz, m_particleName, m_pid, m_ppid, m_ptid, m_px, m_py, m_pz, m_stepL, m_stop_time, m_stopped, m_t, m_tid, m_volID, m_volName, m_x, m_y, m_z, nHits, MyRoot::SetBranch(), and Switch.

00122                          {
00123         if (!Switch) return;
00124         MyRoot* myRoot = MyRoot::GetMyRoot();
00125         G4String volName = get_VolName();
00126         if( flag_nHits ) myRoot->SetBranch(volName+"_nHits", &nHits);
00127         if( flag_Ox ) myRoot->SetBranch(volName+"_Ox", &m_Ox);
00128         if( flag_local_Ox ) myRoot->SetBranch(volName+"_local_Ox", &m_local_Ox);
00129         if( flag_Oy ) myRoot->SetBranch(volName+"_Oy", &m_Oy);
00130         if( flag_local_Oy ) myRoot->SetBranch(volName+"_local_Oy", &m_local_Oy);
00131         if( flag_Oz ) myRoot->SetBranch(volName+"_Oz", &m_Oz);
00132         if( flag_local_Oz ) myRoot->SetBranch(volName+"_local_Oz", &m_local_Oz);
00133         if( flag_Ot ) myRoot->SetBranch(volName+"_Ot", &m_Ot);
00134         if( flag_x ) myRoot->SetBranch(volName+"_x", &m_x);
00135         if( flag_local_x ) myRoot->SetBranch(volName+"_local_x", &m_local_x);
00136         if( flag_y ) myRoot->SetBranch(volName+"_y", &m_y);
00137         if( flag_local_y ) myRoot->SetBranch(volName+"_local_y", &m_local_y);
00138         if( flag_z ) myRoot->SetBranch(volName+"_z", &m_z);
00139         if( flag_local_z ) myRoot->SetBranch(volName+"_local_z", &m_local_z);
00140         if( flag_t ) myRoot->SetBranch(volName+"_t", &m_t);
00141         if( flag_Opx ) myRoot->SetBranch(volName+"_Opx", &m_Opx);
00142         if( flag_Opy ) myRoot->SetBranch(volName+"_Opy", &m_Opy);
00143         if( flag_Opz ) myRoot->SetBranch(volName+"_Opz", &m_Opz);
00144         if( flag_px ) myRoot->SetBranch(volName+"_px", &m_px);
00145         if( flag_py ) myRoot->SetBranch(volName+"_py", &m_py);
00146         if( flag_pz ) myRoot->SetBranch(volName+"_pz", &m_pz);
00147         if( flag_ox ) myRoot->SetBranch(volName+"_ox", &m_ox);
00148         if( flag_local_ox ) myRoot->SetBranch(volName+"_local_ox", &m_local_ox);
00149         if( flag_oy ) myRoot->SetBranch(volName+"_oy", &m_oy);
00150         if( flag_local_oy ) myRoot->SetBranch(volName+"_local_oy", &m_local_oy);
00151         if( flag_oz ) myRoot->SetBranch(volName+"_oz", &m_oz);
00152         if( flag_local_oz ) myRoot->SetBranch(volName+"_local_oz", &m_local_oz);
00153         if( flag_ot ) myRoot->SetBranch(volName+"_ot", &m_ot);
00154         if( flag_opx ) myRoot->SetBranch(volName+"_opx", &m_opx);
00155         if( flag_opy ) myRoot->SetBranch(volName+"_opy", &m_opy);
00156         if( flag_opz ) myRoot->SetBranch(volName+"_opz", &m_opz);
00157         if( flag_ekin ) myRoot->SetBranch(volName+"_ekin", &m_ekin);
00158         if( flag_e ) myRoot->SetBranch(volName+"_e", &m_e);
00159         if( flag_edep ) myRoot->SetBranch(volName+"_edep", &m_edep);
00160         if( flag_edepAll ) myRoot->SetBranch(volName+"_edepAll", &m_edepAll);
00161         if( flag_stepL ) myRoot->SetBranch(volName+"_stepL", &m_stepL);
00162         if( flag_volID ) myRoot->SetBranch(volName+"_volID", &m_volID);
00163         if( flag_volName ) myRoot->SetBranch(volName+"_volName", &m_volName);
00164         if( flag_ppid) myRoot->SetBranch(volName+"_ppid", &m_ppid);
00165         if( flag_ptid) myRoot->SetBranch(volName+"_ptid", &m_ptid);
00166         if( flag_oprocess) myRoot->SetBranch(volName+"_oprocess", &m_oprocess);
00167         if( flag_ovolName) myRoot->SetBranch(volName+"_ovolName", &m_ovolName);
00168         if( flag_tid ) myRoot->SetBranch(volName+"_tid", &m_tid);
00169         if( flag_pid ) myRoot->SetBranch(volName+"_pid", &m_pid);
00170         if( flag_particleName ) myRoot->SetBranch(volName+"_particleName", &m_particleName);
00171         if( flag_charge ) myRoot->SetBranch(volName+"_charge", &m_charge);
00172         if( flag_stopped ) myRoot->SetBranch(volName+"_stopped", &m_stopped);
00173         if( flag_stop_time ) myRoot->SetBranch(volName+"_stop_time", &m_stop_time);
00174         if( flag_killed ) myRoot->SetBranch(volName+"_killed", &m_killed);
00175         if( flag_kill_time ) myRoot->SetBranch(volName+"_kill_time", &m_kill_time);
00176 }

void MySD::SetVerbose ( int  val  )  [inline, inherited]

Definition at line 21 of file MySD.hh.

References MySD::fVerboseLevel.

Referenced by MyDetectorManager::GetSD().

00021 {fVerboseLevel = val;}

void MonitorSD::ShowOutCard (  )  [private]

Definition at line 491 of file MonitorSD.cc.

References black_list, flag_charge, flag_e, flag_edep, flag_edepAll, flag_ekin, flag_kill_time, flag_killed, flag_local_ox, flag_local_Ox, flag_local_oy, flag_local_Oy, flag_local_oz, flag_local_Oz, flag_local_x, flag_local_y, flag_local_z, flag_nHits, flag_oprocess, flag_opx, flag_Opx, flag_opy, flag_Opy, flag_opz, flag_Opz, flag_ot, flag_Ot, flag_ovolName, flag_ox, flag_Ox, flag_oy, flag_Oy, flag_oz, flag_Oz, flag_particleName, flag_pid, flag_ppid, flag_ptid, flag_px, flag_py, flag_pz, flag_stepL, flag_stop_time, flag_stopped, flag_t, flag_tid, flag_volID, flag_volName, flag_x, flag_y, flag_z, MySD::get_VolName(), maxn, maxt, mine, minedep, minp, mint, needstopped, neutralCut, Switch, tres, unitName_e, unitName_edep, unitName_edepAll, unitName_ekin, unitName_kill_time, unitName_local_ox, unitName_local_Ox, unitName_local_oy, unitName_local_Oy, unitName_local_oz, unitName_local_Oz, unitName_local_x, unitName_local_y, unitName_local_z, unitName_opx, unitName_Opx, unitName_opy, unitName_Opy, unitName_opz, unitName_Opz, unitName_ot, unitName_Ot, unitName_ox, unitName_Ox, unitName_oy, unitName_Oy, unitName_oz, unitName_Oz, unitName_px, unitName_py, unitName_pz, unitName_stepL, unitName_stop_time, unitName_t, unitName_x, unitName_y, unitName_z, and white_list.

Referenced by ReadOutputCard().

00491                            {
00492         std::cout<<"*************************Output settings for "<<get_VolName()<<"***************************"<<std::endl;
00493         //default output set
00494         std::cout<<"output nHits?   "<<(flag_nHits?" yes":" no")<<std::endl;
00495         std::cout<<"output Ox?       "<<(flag_Ox?" yes":" no")<<", unit: "<<unitName_Ox<<std::endl;
00496         std::cout<<"output Ox?       "<<(flag_local_Ox?" yes":" no")<<", unit: "<<unitName_local_Ox<<std::endl;
00497         std::cout<<"output Oy?       "<<(flag_Oy?" yes":" no")<<", unit: "<<unitName_Oy<<std::endl;
00498         std::cout<<"output Oy?       "<<(flag_local_Oy?" yes":" no")<<", unit: "<<unitName_local_Oy<<std::endl;
00499         std::cout<<"output Oz?       "<<(flag_Oz?" yes":" no")<<", unit: "<<unitName_Oz<<std::endl;
00500         std::cout<<"output Oz?       "<<(flag_local_Oz?" yes":" no")<<", unit: "<<unitName_local_Oz<<std::endl;
00501         std::cout<<"output Ot?       "<<(flag_Ot?" yes":" no")<<", unit: "<<unitName_Ot<<std::endl;
00502         std::cout<<"output Opx?      "<<(flag_Opx?" yes":" no")<<", unit: "<<unitName_Opx<<std::endl;
00503         std::cout<<"output Opy?      "<<(flag_Opy?" yes":" no")<<", unit: "<<unitName_Opy<<std::endl;
00504         std::cout<<"output Opz?      "<<(flag_Opz?" yes":" no")<<", unit: "<<unitName_Opz<<std::endl;
00505         std::cout<<"output x?       "<<(flag_x?" yes":" no")<<", unit: "<<unitName_x<<std::endl;
00506         std::cout<<"output x?       "<<(flag_local_x?" yes":" no")<<", unit: "<<unitName_local_x<<std::endl;
00507         std::cout<<"output y?       "<<(flag_y?" yes":" no")<<", unit: "<<unitName_y<<std::endl;
00508         std::cout<<"output y?       "<<(flag_local_y?" yes":" no")<<", unit: "<<unitName_local_y<<std::endl;
00509         std::cout<<"output z?       "<<(flag_z?" yes":" no")<<", unit: "<<unitName_z<<std::endl;
00510         std::cout<<"output z?       "<<(flag_local_z?" yes":" no")<<", unit: "<<unitName_local_z<<std::endl;
00511         std::cout<<"output t?       "<<(flag_t?" yes":" no")<<", unit: "<<unitName_t<<std::endl;
00512         std::cout<<"output px?      "<<(flag_px?" yes":" no")<<", unit: "<<unitName_px<<std::endl;
00513         std::cout<<"output py?      "<<(flag_py?" yes":" no")<<", unit: "<<unitName_py<<std::endl;
00514         std::cout<<"output pz?      "<<(flag_pz?" yes":" no")<<", unit: "<<unitName_pz<<std::endl;
00515         std::cout<<"output ox?      "<<(flag_ox?" yes":" no")<<", unit: "<<unitName_ox<<std::endl;
00516         std::cout<<"output ox?      "<<(flag_local_ox?" yes":" no")<<", unit: "<<unitName_local_ox<<std::endl;
00517         std::cout<<"output oy?      "<<(flag_oy?" yes":" no")<<", unit: "<<unitName_oy<<std::endl;
00518         std::cout<<"output oy?      "<<(flag_local_oy?" yes":" no")<<", unit: "<<unitName_local_oy<<std::endl;
00519         std::cout<<"output oz?      "<<(flag_oz?" yes":" no")<<", unit: "<<unitName_oz<<std::endl;
00520         std::cout<<"output oz?      "<<(flag_local_oz?" yes":" no")<<", unit: "<<unitName_local_oz<<std::endl;
00521         std::cout<<"output ot?      "<<(flag_ot?" yes":" no")<<", unit: "<<unitName_ot<<std::endl;
00522         std::cout<<"output opx?     "<<(flag_opx?" yes":" no")<<", unit: "<<unitName_opx<<std::endl;
00523         std::cout<<"output opy?     "<<(flag_opy?" yes":" no")<<", unit: "<<unitName_opy<<std::endl;
00524         std::cout<<"output opz?     "<<(flag_opz?" yes":" no")<<", unit: "<<unitName_opz<<std::endl;
00525         std::cout<<"output ekin?     "<<(flag_ekin?" yes":" no")<<", unit: "<<unitName_ekin<<std::endl;
00526         std::cout<<"output e?       "<<(flag_e?" yes":" no")<<", unit: "<<unitName_e<<std::endl;
00527         std::cout<<"output edep?    "<<(flag_edep?" yes":" no")<<", unit: "<<unitName_edep<<std::endl;
00528         std::cout<<"output edepAll? "<<(flag_edepAll?" yes":" no")<<", unit: "<<unitName_edepAll<<std::endl;
00529         std::cout<<"output stepL?   "<<(flag_stepL?" yes":" no")<<", unit: "<<unitName_stepL<<std::endl;
00530         std::cout<<"output volID?   "<<(flag_volID?" yes":" no")<<std::endl;
00531         std::cout<<"output volName? "<<(flag_volName?" yes":" no")<<std::endl;
00532         std::cout<<"output ppid?    "<<(flag_ppid?" yes":" no")<<std::endl;
00533         std::cout<<"output ptid?    "<<(flag_ptid?" yes":" no")<<std::endl;
00534         std::cout<<"output oprocess?"<<(flag_oprocess?" yes":" no")<<std::endl;
00535         std::cout<<"output ovolName?"<<(flag_ovolName?" yes":" no")<<std::endl;
00536         std::cout<<"output tid?     "<<(flag_tid?" yes":" no")<<std::endl;
00537         std::cout<<"output pid?     "<<(flag_pid?" yes":" no")<<std::endl;
00538         std::cout<<"output particleName?  "<<(flag_particleName?" yes":" no")<<std::endl;
00539         std::cout<<"output charge?  "<<(flag_charge?" yes":" no")<<std::endl;
00540         std::cout<<"output stopped? "<<(flag_stopped?" yes":" no")<<std::endl;
00541         std::cout<<"output stop_time?"<<(flag_stop_time?" yes":" no")<<", unit: "<<unitName_stop_time<<std::endl;
00542         std::cout<<"output killed?  "<<(flag_killed?" yes":" no")<<std::endl;
00543         std::cout<<"output kill_time?"<<(flag_kill_time?" yes":" no")<<", unit: "<<unitName_kill_time<<std::endl;
00544         //for fileter
00545         std::cout<<"Switch on?      "<<(Switch?"yes":"no")<<std::endl;
00546         std::cout<<"neutralCut on?  "<<(neutralCut?"yes":"no")<<std::endl;
00547         std::cout<<"Need stopped?   "<<(needstopped?"yes":"no")<<std::endl;
00548         std::cout<<"minp =          "<<minp/MeV<<"MeV"<<std::endl;
00549         std::cout<<"mine =          "<<mine/MeV<<"MeV"<<std::endl;
00550         std::cout<<"maxn =          "<<maxn<<std::endl;
00551         std::cout<<"mint =          "<<mint/ns<<"ns"<<std::endl;
00552         std::cout<<"maxt =          "<<maxt/ns<<"ns"<<std::endl;
00553         std::cout<<"tres =          "<<tres/ns<<"ns"<<std::endl;
00554         std::cout<<"minedep =       "<<minedep/MeV<<"MeV"<<std::endl;
00555         std::cout<<"white list:     "<<std::endl;
00556         for ( int i = 0; i< white_list.size(); i++){
00557                 std::cout <<"  Only tracks with these following PDGCodes will be recorded:"<<std::endl;
00558                 std::cout<<"            "<<i<<": "<<white_list[i]<<std::endl;
00559         }
00560         if ( white_list.size() == 0 ){
00561                 std::cout <<"  Empty! So all tracks will be recorded!"<<std::endl;
00562         }
00563         std::cout<<"black list:     "<<std::endl;
00564         for ( int i = 0; i< black_list.size(); i++){
00565                 std::cout <<"  Tracks with these following PDGCodes will NOT be recorded:"<<std::endl;
00566                 std::cout<<"            "<<i<<": "<<black_list[i]<<std::endl;
00567         }
00568         std::cout<<"******************************************************************************"<<std::endl;
00569 }


Member Data Documentation

std::vector<int> MonitorSD::black_list [private]

Definition at line 361 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), and ShowOutCard().

bool MonitorSD::flag_charge [private]

Definition at line 344 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_e [private]

Definition at line 331 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_edep [private]

Definition at line 332 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_edepAll [private]

Definition at line 333 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_ekin [private]

Definition at line 330 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_kill_time [private]

Definition at line 348 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_killed [private]

Definition at line 347 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_local_ox [private]

Definition at line 321 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_local_Ox [private]

Definition at line 301 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_local_oy [private]

Definition at line 323 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_local_Oy [private]

Definition at line 303 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_local_oz [private]

Definition at line 325 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_local_Oz [private]

Definition at line 305 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_local_x [private]

Definition at line 308 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_local_y [private]

Definition at line 310 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_local_z [private]

Definition at line 312 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_nHits [private]

Definition at line 299 of file MonitorSD.hh.

Referenced by ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_oprocess [private]

Definition at line 339 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_opx [private]

Definition at line 327 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_Opx [private]

Definition at line 314 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_opy [private]

Definition at line 328 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_Opy [private]

Definition at line 315 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_opz [private]

Definition at line 329 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_Opz [private]

Definition at line 316 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_ot [private]

Definition at line 326 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_Ot [private]

Definition at line 306 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_ovolName [private]

Definition at line 340 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_ox [private]

Definition at line 320 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_Ox [private]

Definition at line 300 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_oy [private]

Definition at line 322 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_Oy [private]

Definition at line 302 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_oz [private]

Definition at line 324 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_Oz [private]

Definition at line 304 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

Definition at line 343 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_pid [private]

Definition at line 342 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_ppid [private]

Definition at line 337 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_ptid [private]

Definition at line 338 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_px [private]

Definition at line 317 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_py [private]

Definition at line 318 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_pz [private]

Definition at line 319 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_stepL [private]

Definition at line 334 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_stop_time [private]

Definition at line 346 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_stopped [private]

Definition at line 345 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_t [private]

Definition at line 313 of file MonitorSD.hh.

Referenced by ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_tid [private]

Definition at line 341 of file MonitorSD.hh.

Referenced by ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_volID [private]

Definition at line 335 of file MonitorSD.hh.

Referenced by ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_volName [private]

Definition at line 336 of file MonitorSD.hh.

Referenced by ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_x [private]

Definition at line 307 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_y [private]

Definition at line 309 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

bool MonitorSD::flag_z [private]

Definition at line 311 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

Definition at line 169 of file MonitorSD.hh.

Referenced by Initialize(), and ProcessHits().

std::vector<int> MonitorSD::m_charge [private]

Definition at line 217 of file MonitorSD.hh.

Referenced by Get_m_charge(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_e [private]

Definition at line 204 of file MonitorSD.hh.

Referenced by Get_m_e(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_edep [private]

Definition at line 205 of file MonitorSD.hh.

Referenced by Get_m_edep(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_edepAll [private]

Definition at line 206 of file MonitorSD.hh.

Referenced by Get_m_edepAll(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_ekin [private]

Definition at line 203 of file MonitorSD.hh.

Referenced by Get_m_ekin(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_kill_time [private]

Definition at line 221 of file MonitorSD.hh.

Referenced by Get_m_kill_time(), Initialize(), ProcessHits(), and SetBranch().

std::vector<int> MonitorSD::m_killed [private]

Definition at line 220 of file MonitorSD.hh.

Referenced by Get_m_killed(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_local_ox [private]

Definition at line 194 of file MonitorSD.hh.

Referenced by Get_m_local_ox(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_local_Ox [private]

Definition at line 174 of file MonitorSD.hh.

Referenced by Get_m_local_Ox(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_local_oy [private]

Definition at line 196 of file MonitorSD.hh.

Referenced by Get_m_local_oy(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_local_Oy [private]

Definition at line 176 of file MonitorSD.hh.

Referenced by Get_m_local_Oy(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_local_oz [private]

Definition at line 198 of file MonitorSD.hh.

Referenced by Get_m_local_oz(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_local_Oz [private]

Definition at line 178 of file MonitorSD.hh.

Referenced by Get_m_local_Oz(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_local_x [private]

Definition at line 181 of file MonitorSD.hh.

Referenced by Get_m_local_x(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_local_y [private]

Definition at line 183 of file MonitorSD.hh.

Referenced by Get_m_local_y(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_local_z [private]

Definition at line 185 of file MonitorSD.hh.

Referenced by Get_m_local_z(), Initialize(), ProcessHits(), and SetBranch().

std::vector<std::string> MonitorSD::m_oprocess [private]

Definition at line 212 of file MonitorSD.hh.

Referenced by Get_m_oprocess(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_opx [private]

Definition at line 200 of file MonitorSD.hh.

Referenced by Get_m_opx(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_Opx [private]

Definition at line 187 of file MonitorSD.hh.

Referenced by Get_m_Opx(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_opy [private]

Definition at line 201 of file MonitorSD.hh.

Referenced by Get_m_opy(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_Opy [private]

Definition at line 188 of file MonitorSD.hh.

Referenced by Get_m_Opy(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_opz [private]

Definition at line 202 of file MonitorSD.hh.

Referenced by Get_m_opz(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_Opz [private]

Definition at line 189 of file MonitorSD.hh.

Referenced by Get_m_Opz(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_ot [private]

Definition at line 199 of file MonitorSD.hh.

Referenced by Get_m_ot(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_Ot [private]

Definition at line 179 of file MonitorSD.hh.

Referenced by Get_m_Ot(), Initialize(), ProcessHits(), and SetBranch().

std::vector<std::string> MonitorSD::m_ovolName [private]

Definition at line 213 of file MonitorSD.hh.

Referenced by Get_m_ovolName(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_ox [private]

Definition at line 193 of file MonitorSD.hh.

Referenced by Get_m_ox(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_Ox [private]

Definition at line 173 of file MonitorSD.hh.

Referenced by Get_m_Ox(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_oy [private]

Definition at line 195 of file MonitorSD.hh.

Referenced by Get_m_oy(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_Oy [private]

Definition at line 175 of file MonitorSD.hh.

Referenced by Get_m_Oy(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_oz [private]

Definition at line 197 of file MonitorSD.hh.

Referenced by Get_m_oz(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_Oz [private]

Definition at line 177 of file MonitorSD.hh.

Referenced by Get_m_Oz(), Initialize(), ProcessHits(), and SetBranch().

std::vector<std::string> MonitorSD::m_particleName [private]

Definition at line 216 of file MonitorSD.hh.

Referenced by Initialize(), ProcessHits(), and SetBranch().

std::vector<int> MonitorSD::m_pid [private]

Definition at line 215 of file MonitorSD.hh.

Referenced by Get_m_pid(), Initialize(), ProcessHits(), and SetBranch().

std::vector<int> MonitorSD::m_ppid [private]

Definition at line 210 of file MonitorSD.hh.

Referenced by Get_m_ppid(), Initialize(), ProcessHits(), and SetBranch().

std::vector<int> MonitorSD::m_ptid [private]

Definition at line 211 of file MonitorSD.hh.

Referenced by Get_m_ptid(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_px [private]

Definition at line 190 of file MonitorSD.hh.

Referenced by Get_m_px(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_py [private]

Definition at line 191 of file MonitorSD.hh.

Referenced by Get_m_py(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_pz [private]

Definition at line 192 of file MonitorSD.hh.

Referenced by Get_m_pz(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_stepL [private]

Definition at line 207 of file MonitorSD.hh.

Referenced by Get_m_stepL(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_stop_time [private]

Definition at line 219 of file MonitorSD.hh.

Referenced by Get_m_stop_time(), Initialize(), ProcessHits(), and SetBranch().

std::vector<int> MonitorSD::m_stopped [private]

Definition at line 218 of file MonitorSD.hh.

Referenced by Get_m_stopped(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_t [private]

Definition at line 186 of file MonitorSD.hh.

Referenced by Get_m_t(), Initialize(), ProcessHits(), and SetBranch().

std::vector<int> MonitorSD::m_tid [private]

Definition at line 214 of file MonitorSD.hh.

Referenced by Get_m_tid(), Initialize(), ProcessHits(), and SetBranch().

std::vector<int> MonitorSD::m_volID [private]

Definition at line 208 of file MonitorSD.hh.

Referenced by Get_m_volID(), Initialize(), ProcessHits(), and SetBranch().

std::vector<std::string> MonitorSD::m_volName [private]

Definition at line 209 of file MonitorSD.hh.

Referenced by Get_m_volName(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_x [private]

Definition at line 180 of file MonitorSD.hh.

Referenced by Get_m_x(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_y [private]

Definition at line 182 of file MonitorSD.hh.

Referenced by Get_m_y(), Initialize(), ProcessHits(), and SetBranch().

std::vector<double> MonitorSD::m_z [private]

Definition at line 184 of file MonitorSD.hh.

Referenced by Get_m_z(), Initialize(), ProcessHits(), and SetBranch().

G4int MonitorSD::maxn [private]

Definition at line 353 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), and ShowOutCard().

G4double MonitorSD::maxt [private]

Definition at line 358 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), and ShowOutCard().

G4double MonitorSD::mine [private]

Definition at line 355 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), and ShowOutCard().

G4double MonitorSD::minedep [private]

Definition at line 359 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), and ShowOutCard().

G4double MonitorSD::minp [private]

Definition at line 354 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), and ShowOutCard().

G4double MonitorSD::mint [private]

Definition at line 357 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), and ShowOutCard().

bool MonitorSD::needstopped [private]

Definition at line 352 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), and ShowOutCard().

bool MonitorSD::neutralCut [private]

Definition at line 351 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), and ShowOutCard().

int MonitorSD::nHits [private]

Definition at line 298 of file MonitorSD.hh.

Referenced by Get_nHits(), Initialize(), ProcessHits(), and SetBranch().

Definition at line 170 of file MonitorSD.hh.

Referenced by Initialize(), and ProcessHits().

bool MonitorSD::Switch [private]

Definition at line 350 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), SetBranch(), and ShowOutCard().

G4double MonitorSD::tres [private]

Definition at line 356 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), and ShowOutCard().

double MonitorSD::unit_e [private]

Definition at line 290 of file MonitorSD.hh.

Referenced by Get_unit_e(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_edep [private]

Definition at line 291 of file MonitorSD.hh.

Referenced by Get_unit_edep(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_edepAll [private]

Definition at line 292 of file MonitorSD.hh.

Referenced by Get_unit_edepAll(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_ekin [private]

Definition at line 289 of file MonitorSD.hh.

Referenced by Get_unit_ekin(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_kill_time [private]

Definition at line 295 of file MonitorSD.hh.

Referenced by Get_unit_kill_time(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_local_ox [private]

Definition at line 280 of file MonitorSD.hh.

Referenced by Get_unit_local_ox(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_local_Ox [private]

Definition at line 260 of file MonitorSD.hh.

Referenced by Get_unit_local_Ox(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_local_oy [private]

Definition at line 282 of file MonitorSD.hh.

Referenced by Get_unit_local_oy(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_local_Oy [private]

Definition at line 262 of file MonitorSD.hh.

Referenced by Get_unit_local_Oy(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_local_oz [private]

Definition at line 284 of file MonitorSD.hh.

Referenced by Get_unit_local_oz(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_local_Oz [private]

Definition at line 264 of file MonitorSD.hh.

Referenced by Get_unit_local_Oz(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_local_x [private]

Definition at line 267 of file MonitorSD.hh.

Referenced by Get_unit_local_x(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_local_y [private]

Definition at line 269 of file MonitorSD.hh.

Referenced by Get_unit_local_y(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_local_z [private]

Definition at line 271 of file MonitorSD.hh.

Referenced by Get_unit_local_z(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_opx [private]

Definition at line 286 of file MonitorSD.hh.

Referenced by Get_unit_opx(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_Opx [private]

Definition at line 273 of file MonitorSD.hh.

Referenced by Get_unit_Opx(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_opy [private]

Definition at line 287 of file MonitorSD.hh.

Referenced by Get_unit_opy(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_Opy [private]

Definition at line 274 of file MonitorSD.hh.

Referenced by Get_unit_Opy(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_opz [private]

Definition at line 288 of file MonitorSD.hh.

Referenced by Get_unit_opz(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_Opz [private]

Definition at line 275 of file MonitorSD.hh.

Referenced by Get_unit_Opz(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_ot [private]

Definition at line 285 of file MonitorSD.hh.

Referenced by Get_unit_ot(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_Ot [private]

Definition at line 265 of file MonitorSD.hh.

Referenced by Get_unit_Ot(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_ox [private]

Definition at line 279 of file MonitorSD.hh.

Referenced by Get_unit_ox(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_Ox [private]

Definition at line 259 of file MonitorSD.hh.

Referenced by Get_unit_Ox(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_oy [private]

Definition at line 281 of file MonitorSD.hh.

Referenced by Get_unit_oy(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_Oy [private]

Definition at line 261 of file MonitorSD.hh.

Referenced by Get_unit_Oy(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_oz [private]

Definition at line 283 of file MonitorSD.hh.

Referenced by Get_unit_oz(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_Oz [private]

Definition at line 263 of file MonitorSD.hh.

Referenced by Get_unit_Oz(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_px [private]

Definition at line 276 of file MonitorSD.hh.

Referenced by Get_unit_px(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_py [private]

Definition at line 277 of file MonitorSD.hh.

Referenced by Get_unit_py(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_pz [private]

Definition at line 278 of file MonitorSD.hh.

Referenced by Get_unit_pz(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_stepL [private]

Definition at line 293 of file MonitorSD.hh.

Referenced by Get_unit_stepL(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_stop_time [private]

Definition at line 294 of file MonitorSD.hh.

Referenced by Get_unit_stop_time(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_t [private]

Definition at line 272 of file MonitorSD.hh.

Referenced by Get_unit_t(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_x [private]

Definition at line 266 of file MonitorSD.hh.

Referenced by Get_unit_x(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_y [private]

Definition at line 268 of file MonitorSD.hh.

Referenced by Get_unit_y(), ProcessHits(), ReadOutputCard(), and ReSet().

double MonitorSD::unit_z [private]

Definition at line 270 of file MonitorSD.hh.

Referenced by Get_unit_z(), ProcessHits(), ReadOutputCard(), and ReSet().

std::string MonitorSD::unitName_e [private]

Definition at line 253 of file MonitorSD.hh.

Referenced by Get_unitName_e(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_edep [private]

Definition at line 254 of file MonitorSD.hh.

Referenced by Get_unitName_edep(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_edepAll [private]

Definition at line 255 of file MonitorSD.hh.

Referenced by Get_unitName_edepAll(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_ekin [private]

Definition at line 252 of file MonitorSD.hh.

Referenced by Get_unitName_ekin(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_kill_time [private]

Definition at line 258 of file MonitorSD.hh.

Referenced by Get_unitName_kill_time(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_local_ox [private]

Definition at line 243 of file MonitorSD.hh.

Referenced by Get_unitName_local_ox(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_local_Ox [private]

Definition at line 223 of file MonitorSD.hh.

Referenced by Get_unitName_local_Ox(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_local_oy [private]

Definition at line 245 of file MonitorSD.hh.

Referenced by Get_unitName_local_oy(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_local_Oy [private]

Definition at line 225 of file MonitorSD.hh.

Referenced by Get_unitName_local_Oy(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_local_oz [private]

Definition at line 247 of file MonitorSD.hh.

Referenced by Get_unitName_local_oz(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_local_Oz [private]

Definition at line 227 of file MonitorSD.hh.

Referenced by Get_unitName_local_Oz(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_local_x [private]

Definition at line 230 of file MonitorSD.hh.

Referenced by Get_unitName_local_x(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_local_y [private]

Definition at line 232 of file MonitorSD.hh.

Referenced by Get_unitName_local_y(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_local_z [private]

Definition at line 234 of file MonitorSD.hh.

Referenced by Get_unitName_local_z(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_opx [private]

Definition at line 249 of file MonitorSD.hh.

Referenced by Get_unitName_opx(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_Opx [private]

Definition at line 236 of file MonitorSD.hh.

Referenced by Get_unitName_Opx(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_opy [private]

Definition at line 250 of file MonitorSD.hh.

Referenced by Get_unitName_opy(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_Opy [private]

Definition at line 237 of file MonitorSD.hh.

Referenced by Get_unitName_Opy(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_opz [private]

Definition at line 251 of file MonitorSD.hh.

Referenced by Get_unitName_opz(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_Opz [private]

Definition at line 238 of file MonitorSD.hh.

Referenced by Get_unitName_Opz(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_ot [private]

Definition at line 248 of file MonitorSD.hh.

Referenced by Get_unitName_ot(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_Ot [private]

Definition at line 228 of file MonitorSD.hh.

Referenced by Get_unitName_Ot(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_ox [private]

Definition at line 242 of file MonitorSD.hh.

Referenced by Get_unitName_ox(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_Ox [private]

Definition at line 222 of file MonitorSD.hh.

Referenced by Get_unitName_Ox(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_oy [private]

Definition at line 244 of file MonitorSD.hh.

Referenced by Get_unitName_oy(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_Oy [private]

Definition at line 224 of file MonitorSD.hh.

Referenced by Get_unitName_Oy(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_oz [private]

Definition at line 246 of file MonitorSD.hh.

Referenced by Get_unitName_oz(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_Oz [private]

Definition at line 226 of file MonitorSD.hh.

Referenced by Get_unitName_Oz(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_px [private]

Definition at line 239 of file MonitorSD.hh.

Referenced by Get_unitName_px(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_py [private]

Definition at line 240 of file MonitorSD.hh.

Referenced by Get_unitName_py(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_pz [private]

Definition at line 241 of file MonitorSD.hh.

Referenced by Get_unitName_pz(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_stepL [private]

Definition at line 256 of file MonitorSD.hh.

Referenced by Get_unitName_stepL(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_stop_time [private]

Definition at line 257 of file MonitorSD.hh.

Referenced by Get_unitName_stop_time(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_t [private]

Definition at line 235 of file MonitorSD.hh.

Referenced by Get_unitName_t(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_x [private]

Definition at line 229 of file MonitorSD.hh.

Referenced by Get_unitName_x(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_y [private]

Definition at line 231 of file MonitorSD.hh.

Referenced by Get_unitName_y(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::string MonitorSD::unitName_z [private]

Definition at line 233 of file MonitorSD.hh.

Referenced by Get_unitName_z(), ReadOutputCard(), ReSet(), and ShowOutCard().

std::vector<int> MonitorSD::white_list [private]

Definition at line 360 of file MonitorSD.hh.

Referenced by ProcessHits(), ReadOutputCard(), ReSet(), and ShowOutCard().


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

Generated on 15 Jun 2016 for g4sim by  doxygen 1.6.1