BOSS 7.0.8
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)
 
 ~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 ()
 

Detailed Description

Definition at line 6 of file ReadBoostRoot.hh.

Constructor & Destructor Documentation

◆ ReadBoostRoot()

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

Definition at line 16 of file ReadBoostRoot.cc.

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

◆ ~ReadBoostRoot()

ReadBoostRoot::~ReadBoostRoot ( )

Definition at line 50 of file ReadBoostRoot.cc.

51{}

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

◆ GetEmc()

◆ GetField()

static G4int ReadBoostRoot::GetField ( )
inlinestatic

◆ GetFormatAR()

static G4int ReadBoostRoot::GetFormatAR ( )
inlinestatic

Definition at line 18 of file ReadBoostRoot.hh.

18{return m_formatAR;}

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

◆ GetHitOut()

static G4int ReadBoostRoot::GetHitOut ( )
inlinestatic

Definition at line 20 of file ReadBoostRoot.hh.

20{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: