#include <ReadBoostRoot.hh>
Public Member Functions | |
ReadBoostRoot (G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4int) | |
~ReadBoostRoot () | |
Static Public Member Functions | |
static G4String | GetBoostRoot () |
static G4int | GetMdc () |
static G4int | GetTof () |
static G4int | GetEmc () |
static G4int | GetMuc () |
static G4int | GetField () |
static G4int | GetFormatAR () |
static G4int | GetTuning () |
static G4int | GetHitOut () |
Static Private Attributes | |
static G4String | BoostRoot = "" |
static G4int | m_mdc = 1 |
static G4int | m_tof = 1 |
static G4int | m_emc = 1 |
static G4int | m_muc = 1 |
static G4int | m_field = 1 |
static G4int | m_formatAR = 0 |
static G4int | m_tuning = 0 |
static G4int | m_hitOut = 0 |
Definition at line 6 of file ReadBoostRoot.hh.
ReadBoostRoot::ReadBoostRoot | ( | G4int | , | |
G4int | , | |||
G4int | , | |||
G4int | , | |||
G4int | , | |||
G4int | , | |||
G4int | , | |||
G4int | ||||
) |
Definition at line 16 of file ReadBoostRoot.cc.
References BoostRoot, m_emc, m_field, m_formatAR, m_hitOut, m_mdc, m_muc, m_tof, and m_tuning.
00017 { 00018 m_mdc = mdc; 00019 m_tof = tof; 00020 m_emc = emc; 00021 m_muc = muc; 00022 m_field = field; 00023 m_formatAR = formatAR; 00024 m_tuning = tuning; 00025 m_hitOut = hitOut; 00026 /*G4String iniFileName = getenv("G4WORKDIR"); 00027 if(!iniFileName) 00028 { 00029 G4Exception("G4WORKDIR environment not set!"); 00030 } 00031 G4String g4system = getenv("G4SYSTEM"); 00032 if(!g4system) 00033 { 00034 G4Exception("G4SYSTEM environment not set!"); 00035 } 00036 iniFileName += "/tmp/"; 00037 iniFileName += g4system; 00038 iniFileName += "/boost.ini"; 00039 ifstream fin(iniFileName); 00040 00041 G4String GeometryPath; 00042 fin>>GeometryPath; 00043 if(!GeometryPath) 00044 { 00045 G4Exception("Fail in reading boost.ini!"); 00046 }*/ 00047 BoostRoot = getenv("SIMUTILROOT"); 00048 }
ReadBoostRoot::~ReadBoostRoot | ( | ) |
static G4String ReadBoostRoot::GetBoostRoot | ( | ) | [inline, static] |
Definition at line 12 of file ReadBoostRoot.hh.
References BoostRoot.
Referenced by BesMucSD::BesMucSD(), and BesMdcGeoParameter::InitFromFile().
00012 {return BoostRoot;}
static G4int ReadBoostRoot::GetEmc | ( | ) | [inline, static] |
Definition at line 15 of file ReadBoostRoot.hh.
References m_emc.
Referenced by BesEventAction::BesEventAction(), BesEmcConstruction::Construct(), BesDetectorConstruction::Construct(), BesEventAction::EndOfEventAction(), BesTuningIO::GetNextEvents(), and BesTuningIO::GetRootEvent().
00015 {return m_emc;}
static G4int ReadBoostRoot::GetField | ( | ) | [inline, static] |
Definition at line 17 of file ReadBoostRoot.hh.
References m_field.
Referenced by BesDetectorConstruction::BesDetectorConstruction(), BesMagneticField::GetFieldValue(), and BesDetectorConstruction::~BesDetectorConstruction().
00017 {return m_field;}
static G4int ReadBoostRoot::GetFormatAR | ( | ) | [inline, static] |
Definition at line 18 of file ReadBoostRoot.hh.
References m_formatAR.
Referenced by BesTuningIO::BesTuningIO(), and BesEventAction::EndOfEventAction().
00018 {return m_formatAR;}
static G4int ReadBoostRoot::GetHitOut | ( | ) | [inline, static] |
Definition at line 20 of file ReadBoostRoot.hh.
References m_hitOut.
Referenced by BesEventAction::EndOfEventAction().
00020 {return m_hitOut;}
static G4int ReadBoostRoot::GetMdc | ( | ) | [inline, static] |
Definition at line 13 of file ReadBoostRoot.hh.
References m_mdc.
Referenced by BesEventAction::BesEventAction(), BesMdcConstruction::Construct(), BesDetectorConstruction::Construct(), BesEventAction::EndOfEventAction(), BesTuningIO::GetNextEvents(), BesTuningIO::GetRootEvent(), and BesMdcSD::ProcessHits().
00013 {return m_mdc;}
static G4int ReadBoostRoot::GetMuc | ( | ) | [inline, static] |
Definition at line 16 of file ReadBoostRoot.hh.
References m_muc.
Referenced by BesEventAction::BesEventAction(), BesDetectorConstruction::Construct(), BesEventAction::EndOfEventAction(), BesTuningIO::GetNextEvents(), and BesTuningIO::GetRootEvent().
00016 {return m_muc;}
static G4int ReadBoostRoot::GetTof | ( | ) | [inline, static] |
Definition at line 14 of file ReadBoostRoot.hh.
References m_tof.
Referenced by BesEventAction::BesEventAction(), BesTofDigitizer::BesTofDigitizer(), BesTofConstruction::Construct(), BesDetectorConstruction::Construct(), BesEventAction::EndOfEventAction(), BesTuningIO::GetNextEvents(), and BesTuningIO::GetRootEvent().
00014 {return m_tof;}
static G4int ReadBoostRoot::GetTuning | ( | ) | [inline, static] |
Definition at line 19 of file ReadBoostRoot.hh.
References m_tuning.
Referenced by BesRunAction::BeginOfRunAction(), BesMdcConstruction::Construct(), and BesEventAction::EndOfEventAction().
00019 {return m_tuning;}
G4String ReadBoostRoot::BoostRoot = "" [static, private] |
G4int ReadBoostRoot::m_emc = 1 [static, private] |
G4int ReadBoostRoot::m_field = 1 [static, private] |
G4int ReadBoostRoot::m_formatAR = 0 [static, private] |
G4int ReadBoostRoot::m_hitOut = 0 [static, private] |
G4int ReadBoostRoot::m_mdc = 1 [static, private] |
G4int ReadBoostRoot::m_muc = 1 [static, private] |
G4int ReadBoostRoot::m_tof = 1 [static, private] |
G4int ReadBoostRoot::m_tuning = 0 [static, private] |