21 m_bcConf(
"Trig::TrigConfBunchCrossingTool/BunchCrossingTool" ),
56 return StatusCode::SUCCESS;
69 <<
" already translated" );
70 return StatusCode::SUCCESS;
79 m_bcc->push_back( conf );
82 conf->setConfigID(
m_bcConf->configID() );
85 conf->setCollidingBCIDs(
m_bcConf->configuredBCIDs() );
86 conf->setIntensitiesBeam1(
m_bcConf->configuredIntensitiesBeam1() );
87 conf->setIntensitiesBeam2(
m_bcConf->configuredIntensitiesBeam2() );
90 conf->setUnpairedBCIDsBeam1(
m_bcConf->configuredUnpairedBCIDsBeam1() );
91 conf->setUnpairedBCIDsBeam2(
m_bcConf->configuredUnpairedBCIDsBeam2() );
92 conf->setUnpairedIntensitiesBeam1(
93 m_bcConf->configuredUnpairedIntensitiesBeam1() );
94 conf->setUnpairedIntensitiesBeam2(
95 m_bcConf->configuredUnpairedIntensitiesBeam2() );
98 return StatusCode::SUCCESS;
#define ATH_MSG_VERBOSE(x)
Helpers for checking error return status codes and reporting errors.
#define CHECK(...)
Evaluate an expression and check for errors.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ServiceHandle< StoreGateSvc > & evtStore()
ServiceHandle< StoreGateSvc > m_metaStore
Connection to the metadata store.
virtual StatusCode initialize()
Function initialising the algorithm.
std::set< uint32_t > m_convertedIDs
Configurations that have already been converted.
std::string m_eventName
StoreGate key for the event object.
std::string m_metaName
StoreGate key for the configuration object.
BunchConfCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
virtual StatusCode execute()
Function executing the algorithm.
xAOD::BunchConfContainer * m_bcc
The configuration object that is being written.
ToolHandle< Trig::IBunchCrossingConfProvider > m_bcConf
Connection to the bunch configuration provider tool.
BunchConfContainer_v1 BunchConfContainer
Define the latest version of the bunch configuration container class.
BunchConf_v1 BunchConf
Define the latest version of the bunch configuration class.
BunchConfKey_v1 BunchConfKey
Declare the current version of the bunch configuration key type.
BunchConfAuxContainer_v1 BunchConfAuxContainer
Define the latest version of the bunch configuration auxiliary container class.