BOSS 7.0.5
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 ()
 
 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 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

Constructor & Destructor Documentation

◆ ReadBoostRoot() [1/2]

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() [1/2]

ReadBoostRoot::~ReadBoostRoot ( )

Definition at line 50 of file ReadBoostRoot.cc.

51{}

◆ ReadBoostRoot() [2/2]

ReadBoostRoot::ReadBoostRoot ( G4int  ,
G4int  ,
G4int  ,
G4int  ,
G4int  ,
G4int  ,
G4int  ,
G4int   
)

◆ ~ReadBoostRoot() [2/2]

ReadBoostRoot::~ReadBoostRoot ( )

Member Function Documentation

◆ GetBoostRoot() [1/2]

static G4String ReadBoostRoot::GetBoostRoot ( )
inlinestatic

Definition at line 12 of file InstallArea/include/SimUtil/SimUtil/ReadBoostRoot.hh.

12{return BoostRoot;}

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

◆ GetBoostRoot() [2/2]

static G4String ReadBoostRoot::GetBoostRoot ( )
inlinestatic

Definition at line 12 of file Simulation/BOOST/SimUtil/SimUtil-00-00-37/SimUtil/ReadBoostRoot.hh.

12{return BoostRoot;}

◆ GetEmc() [1/2]

◆ GetEmc() [2/2]

static G4int ReadBoostRoot::GetEmc ( )
inlinestatic

Definition at line 15 of file Simulation/BOOST/SimUtil/SimUtil-00-00-37/SimUtil/ReadBoostRoot.hh.

15{return m_emc;}

◆ GetField() [1/2]

static G4int ReadBoostRoot::GetField ( )
inlinestatic

◆ GetField() [2/2]

static G4int ReadBoostRoot::GetField ( )
inlinestatic

Definition at line 17 of file Simulation/BOOST/SimUtil/SimUtil-00-00-37/SimUtil/ReadBoostRoot.hh.

17{return m_field;}

◆ GetFormatAR() [1/2]

static G4int ReadBoostRoot::GetFormatAR ( )
inlinestatic

Definition at line 18 of file InstallArea/include/SimUtil/SimUtil/ReadBoostRoot.hh.

18{return m_formatAR;}

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

◆ GetFormatAR() [2/2]

static G4int ReadBoostRoot::GetFormatAR ( )
inlinestatic

Definition at line 18 of file Simulation/BOOST/SimUtil/SimUtil-00-00-37/SimUtil/ReadBoostRoot.hh.

18{return m_formatAR;}

◆ GetHitOut() [1/2]

static G4int ReadBoostRoot::GetHitOut ( )
inlinestatic

Definition at line 20 of file InstallArea/include/SimUtil/SimUtil/ReadBoostRoot.hh.

20{return m_hitOut;}

Referenced by BesEventAction::EndOfEventAction().

◆ GetHitOut() [2/2]

static G4int ReadBoostRoot::GetHitOut ( )
inlinestatic

Definition at line 20 of file Simulation/BOOST/SimUtil/SimUtil-00-00-37/SimUtil/ReadBoostRoot.hh.

20{return m_hitOut;}

◆ GetMdc() [1/2]

◆ GetMdc() [2/2]

static G4int ReadBoostRoot::GetMdc ( )
inlinestatic

Definition at line 13 of file Simulation/BOOST/SimUtil/SimUtil-00-00-37/SimUtil/ReadBoostRoot.hh.

13{return m_mdc;}

◆ GetMuc() [1/2]

◆ GetMuc() [2/2]

static G4int ReadBoostRoot::GetMuc ( )
inlinestatic

Definition at line 16 of file Simulation/BOOST/SimUtil/SimUtil-00-00-37/SimUtil/ReadBoostRoot.hh.

16{return m_muc;}

◆ GetTof() [1/2]

◆ GetTof() [2/2]

static G4int ReadBoostRoot::GetTof ( )
inlinestatic

Definition at line 14 of file Simulation/BOOST/SimUtil/SimUtil-00-00-37/SimUtil/ReadBoostRoot.hh.

14{return m_tof;}

◆ GetTuning() [1/2]

static G4int ReadBoostRoot::GetTuning ( )
inlinestatic

◆ GetTuning() [2/2]

static G4int ReadBoostRoot::GetTuning ( )
inlinestatic

Definition at line 19 of file Simulation/BOOST/SimUtil/SimUtil-00-00-37/SimUtil/ReadBoostRoot.hh.

19{return m_tuning;}

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