24 m_cnvTool(
"xAODMaker::MissingETCnvTool/MissingETCnvTool", this ) {
42 return StatusCode::SUCCESS;
50 xaod->setStore(
aux );
53 std::vector< std::string >::const_iterator key_itr =
m_aodKeys.begin();
54 std::vector< std::string >::const_iterator key_end =
m_aodKeys.end();
55 for( ; key_itr != key_end; ++key_itr ) {
59 if(
evtStore()->retrieve(
met, *key_itr ).isFailure() ) {
64 ATH_MSG_DEBUG(
"Retrieved MET object with key: " << *key_itr );
80 map->setStore( mapAux );
86 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ServiceHandle< StoreGateSvc > & evtStore()
virtual StatusCode execute()
Function executing the algorithm.
MissingETCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
virtual StatusCode initialize()
Function initialising the algorithm.
std::string m_xaodKey
StoreGate key of the output MET container.
std::vector< std::string > m_aodKeys
StoreGate keys of the input MET objects.
ToolHandle< IMissingETCnvTool > m_cnvTool
Handle to the converter tool.
MissingETComponentMap_v1 MissingETComponentMap
Version control by type definition.
MissingETAuxComponentMap_v1 MissingETAuxComponentMap
Version control by type definition.
MissingETContainer_v1 MissingETContainer
MissingETAuxContainer_v1 MissingETAuxContainer