BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
MucGeoCreateAlg Class Reference

#include <MucGeoCreateAlg.h>

+ Inheritance diagram for MucGeoCreateAlg:

Public Member Functions

 MucGeoCreateAlg (const std::string &name, ISvcLocator *pSvcLocator)
 
 ~MucGeoCreateAlg ()
 
StatusCode initialize ()
 
StatusCode execute ()
 
StatusCode finalize ()
 
 MucGeoCreateAlg (const std::string &name, ISvcLocator *pSvcLocator)
 
 ~MucGeoCreateAlg ()
 
StatusCode initialize ()
 
StatusCode execute ()
 
StatusCode finalize ()
 

Detailed Description

Constructor & Destructor Documentation

◆ MucGeoCreateAlg() [1/2]

MucGeoCreateAlg::MucGeoCreateAlg ( const std::string &  name,
ISvcLocator *  pSvcLocator 
)

Definition at line 20 of file MucGeoCreateAlg.cxx.

20 :
21 Algorithm(name, pSvcLocator), m_bAlignFlag(true)
22{
23 // Declare the properties
24 declareProperty("CreateFlag", m_sCreateFlag);
25 declareProperty("AlignFlag", m_bAlignFlag);
26 declareProperty("AlignFile", m_sAlignFile = "MucGeoAlignConst.root");
27}

◆ ~MucGeoCreateAlg() [1/2]

MucGeoCreateAlg::~MucGeoCreateAlg ( )
inline

◆ MucGeoCreateAlg() [2/2]

MucGeoCreateAlg::MucGeoCreateAlg ( const std::string &  name,
ISvcLocator *  pSvcLocator 
)

◆ ~MucGeoCreateAlg() [2/2]

MucGeoCreateAlg::~MucGeoCreateAlg ( )
inline

Member Function Documentation

◆ execute() [1/2]

StatusCode MucGeoCreateAlg::execute ( )

Definition at line 46 of file MucGeoCreateAlg.cxx.

47{
48 MsgStream log(msgSvc(), name());
49 log << MSG::INFO << endreq << "In execute()" << endreq;
50
51 return StatusCode::SUCCESS;
52}

◆ execute() [2/2]

StatusCode MucGeoCreateAlg::execute ( )

◆ finalize() [1/2]

StatusCode MucGeoCreateAlg::finalize ( )

Definition at line 54 of file MucGeoCreateAlg.cxx.

55{
56 MsgStream log(msgSvc(), name());
57 log << MSG::INFO << endreq << "In finalize()" << endreq << endreq;
58
59 m_pMucGeoMgr->CreateEntities();
60 m_pMucGeoMgr->CreateRootGeo();
61 m_pMucGeoMgr->CreateOnlineStripGeo();
62
63 return StatusCode::SUCCESS;
64}
StatusCode CreateOnlineStripGeo()
Definition: MucGeoMgr.cxx:336
StatusCode CreateEntities()
Definition: MucGeoMgr.cxx:222
StatusCode CreateRootGeo()
Definition: MucGeoMgr.cxx:325

◆ finalize() [2/2]

StatusCode MucGeoCreateAlg::finalize ( )

◆ initialize() [1/2]

StatusCode MucGeoCreateAlg::initialize ( )

Definition at line 30 of file MucGeoCreateAlg.cxx.

31{
32 MsgStream log(msgSvc(), name());
33
34 log << MSG::INFO << endreq << "In initialize() " << endreq;
35 log << MSG::INFO << "Add alignment:\t" << ((m_bAlignFlag)?"YES":"NO") << endreq << endreq;
36
37 if( m_bAlignFlag )
38 log << MSG::INFO << "Alignment file:\t" << m_sAlignFile << endreq;
39
40 m_pMucGeoMgr = new MucGeoMgr( m_sCreateFlag, m_bAlignFlag, m_sAlignFile );
41
42 return StatusCode::SUCCESS;
43}

◆ initialize() [2/2]

StatusCode MucGeoCreateAlg::initialize ( )

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