CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
ReadBoostRoot Class Reference

#include <ReadBoostRoot.hh>

Public Member Functions

 ReadBoostRoot (G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4int)
 
 ~ReadBoostRoot ()
 

Static Public Member Functions

static G4String GetBoostRoot ()
 
static G4int GetMdc ()
 
static G4int GetCgem ()
 
static G4int GetTof ()
 
static G4int GetEmc ()
 
static G4int GetMuc ()
 
static G4int GetField ()
 
static G4int GetFormatAR ()
 
static G4int GetTuning ()
 
static G4int GetHitOut ()
 

Detailed Description

Definition at line 6 of file ReadBoostRoot.hh.

Constructor & Destructor Documentation

◆ ReadBoostRoot()

ReadBoostRoot::ReadBoostRoot ( G4int mdc,
G4int cgem,
G4int tof,
G4int emc,
G4int muc,
G4int field,
G4int formatAR,
G4int tuning,
G4int hitOut )

Definition at line 17 of file ReadBoostRoot.cc.

18{
19 m_mdc = mdc;
20 m_cgem = cgem;
21 m_tof = tof;
22 m_emc = emc;
23 m_muc = muc;
24 m_field = field;
25 m_formatAR = formatAR;
26 m_tuning = tuning;
27 m_hitOut = hitOut;
28 /*G4String iniFileName = getenv("G4WORKDIR");
29 if(!iniFileName)
30 {
31 G4Exception("G4WORKDIR environment not set!");
32 }
33 G4String g4system = getenv("G4SYSTEM");
34 if(!g4system)
35 {
36 G4Exception("G4SYSTEM environment not set!");
37 }
38 iniFileName += "/tmp/";
39 iniFileName += g4system;
40 iniFileName += "/boost.ini";
41 ifstream fin(iniFileName);
42
43 G4String GeometryPath;
44 fin>>GeometryPath;
45 if(!GeometryPath)
46 {
47 G4Exception("Fail in reading boost.ini!");
48 }*/
49 BoostRoot = getenv("SIMUTILROOT");
50}
std::string mdc

◆ ~ReadBoostRoot()

ReadBoostRoot::~ReadBoostRoot ( )

Definition at line 52 of file ReadBoostRoot.cc.

53{}

Member Function Documentation

◆ GetBoostRoot()

static G4String ReadBoostRoot::GetBoostRoot ( )
inlinestatic

Definition at line 12 of file ReadBoostRoot.hh.

12{return BoostRoot;}

Referenced by BesMucSD::BesMucSD(), and BesMdcGeoParameter::InitFromFile().

◆ GetCgem()

◆ GetEmc()

◆ GetField()

static G4int ReadBoostRoot::GetField ( )
inlinestatic

◆ GetFormatAR()

static G4int ReadBoostRoot::GetFormatAR ( )
inlinestatic

Definition at line 19 of file ReadBoostRoot.hh.

19{return m_formatAR;}

Referenced by BesTuningIO::BesTuningIO(), and BesEventAction::EndOfEventAction().

◆ GetHitOut()

static G4int ReadBoostRoot::GetHitOut ( )
inlinestatic

Definition at line 21 of file ReadBoostRoot.hh.

21{return m_hitOut;}

Referenced by BesEventAction::EndOfEventAction().

◆ GetMdc()

◆ GetMuc()

static G4int ReadBoostRoot::GetMuc ( )
inlinestatic

◆ GetTof()

◆ GetTuning()

static G4int ReadBoostRoot::GetTuning ( )
inlinestatic

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