#include <MucGeoCreateAlg.h>
Public Member Functions | |
StatusCode | execute () |
StatusCode | execute () |
StatusCode | finalize () |
StatusCode | finalize () |
StatusCode | initialize () |
StatusCode | initialize () |
MucGeoCreateAlg (const std::string &name, ISvcLocator *pSvcLocator) | |
MucGeoCreateAlg (const std::string &name, ISvcLocator *pSvcLocator) | |
~MucGeoCreateAlg () | |
~MucGeoCreateAlg () | |
Private Attributes | |
bool | m_bAlignFlag |
MucGeoMgr * | m_pMucGeoMgr |
MucGeoMgr * | m_pMucGeoMgr |
std::string | m_sAlignFile |
std::string | m_sCreateFlag |
|
00020 : 00021 Algorithm(name, pSvcLocator), m_bAlignFlag(true) 00022 { 00023 // Declare the properties 00024 declareProperty("CreateFlag", m_sCreateFlag); 00025 declareProperty("AlignFlag", m_bAlignFlag); 00026 declareProperty("AlignFile", m_sAlignFile = "MucGeoAlignConst.root"); 00027 }
|
|
00022 {};
|
|
|
|
00022 {};
|
|
|
|
00047 { 00048 MsgStream log(msgSvc(), name()); 00049 log << MSG::INFO << endreq << "In execute()" << endreq; 00050 00051 return StatusCode::SUCCESS; 00052 }
|
|
|
|
00055 { 00056 MsgStream log(msgSvc(), name()); 00057 log << MSG::INFO << endreq << "In finalize()" << endreq << endreq; 00058 00059 m_pMucGeoMgr->CreateEntities(); 00060 m_pMucGeoMgr->CreateRootGeo(); 00061 m_pMucGeoMgr->CreateOnlineStripGeo(); 00062 00063 return StatusCode::SUCCESS; 00064 }
|
|
|
|
00031 { 00032 MsgStream log(msgSvc(), name()); 00033 00034 log << MSG::INFO << endreq << "In initialize() " << endreq; 00035 log << MSG::INFO << "Add alignment:\t" << ((m_bAlignFlag)?"YES":"NO") << endreq << endreq; 00036 00037 if( m_bAlignFlag ) 00038 log << MSG::INFO << "Alignment file:\t" << m_sAlignFile << endreq; 00039 00040 m_pMucGeoMgr = new MucGeoMgr( m_sCreateFlag, m_bAlignFlag, m_sAlignFile ); 00041 00042 return StatusCode::SUCCESS; 00043 }
|
|
|
|
|
|
|
|
|
|
|