#include <MucGeoCreateAlg.h>
Definition at line 18 of file MucGeoCreateAlg.h.
◆ MucGeoCreateAlg()
| MucGeoCreateAlg::MucGeoCreateAlg |
( |
const std::string & | name, |
|
|
ISvcLocator * | pSvcLocator ) |
Definition at line 20 of file MucGeoCreateAlg.cxx.
21 : Algorithm( name, pSvcLocator ), m_bAlignFlag( true ) {
22
23 declareProperty( "CreateFlag", m_sCreateFlag );
24 declareProperty( "AlignFlag", m_bAlignFlag );
25 declareProperty( "AlignFile", m_sAlignFile = "MucGeoAlignConst.root" );
26}
Referenced by MucGeoCreateAlg().
◆ ~MucGeoCreateAlg()
| MucGeoCreateAlg::~MucGeoCreateAlg |
( |
| ) |
|
|
inline |
◆ execute()
| StatusCode MucGeoCreateAlg::execute |
( |
| ) |
|
Definition at line 44 of file MucGeoCreateAlg.cxx.
44 {
45 MsgStream log(
msgSvc(), name() );
46 log << MSG::INFO << endmsg << "In execute()" << endmsg;
47
48 return StatusCode::SUCCESS;
49}
◆ finalize()
| StatusCode MucGeoCreateAlg::finalize |
( |
| ) |
|
Definition at line 51 of file MucGeoCreateAlg.cxx.
51 {
52 MsgStream log(
msgSvc(), name() );
53 log << MSG::INFO << endmsg << "In finalize()" << endmsg << endmsg;
54
55 m_pMucGeoMgr->CreateEntities();
56 m_pMucGeoMgr->CreateRootGeo();
57 m_pMucGeoMgr->CreateOnlineStripGeo();
58
59 return StatusCode::SUCCESS;
60}
◆ initialize()
| StatusCode MucGeoCreateAlg::initialize |
( |
| ) |
|
Definition at line 29 of file MucGeoCreateAlg.cxx.
29 {
30 MsgStream log(
msgSvc(), name() );
31
32 log << MSG::INFO << endmsg << "In initialize() " << endmsg;
33 log << MSG::INFO << "Add alignment:\t" << ( ( m_bAlignFlag ) ? "YES" : "NO" ) << endmsg
34 << endmsg;
35
36 if ( m_bAlignFlag ) log << MSG::INFO << "Alignment file:\t" << m_sAlignFile << endmsg;
37
38 m_pMucGeoMgr = new MucGeoMgr( m_sCreateFlag, m_bAlignFlag, m_sAlignFile );
39
40 return StatusCode::SUCCESS;
41}
The documentation for this class was generated from the following files: