ATLAS Offline Software
MissingETCnvAlg.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: MissingETCnvAlg.h 586557 2014-03-06 17:56:05Z krasznaa $
8 #ifndef XAODMISSINGETCNV_MISSINGETCNVALG_H
9 #define XAODMISSINGETCNV_MISSINGETCNVALG_H
10 
11 // System include(s):
12 #include <vector>
13 #include <string>
14 
15 // Gaudi/Athena include(s):
17 #include "GaudiKernel/ToolHandle.h"
18 
19 // Local include(s):
21 
22 namespace xAODMaker {
23 
34  class MissingETCnvAlg : public AthAlgorithm {
35 
36  public:
38  MissingETCnvAlg( const std::string& name, ISvcLocator* svcLoc );
39 
41  virtual StatusCode initialize();
43  virtual StatusCode execute();
44 
45  private:
47  std::vector< std::string > m_aodKeys;
49  std::string m_xaodKey;
50 
52  ToolHandle< IMissingETCnvTool > m_cnvTool;
53 
54  }; // class MissingETCnvAlg
55 
56 } // namespace xAODMaker
57 
58 #endif // XAODMISSINGETCNV_MISSINGETCNVALG_H
xAODMaker::MissingETCnvAlg::MissingETCnvAlg
MissingETCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
Definition: MissingETCnvAlg.cxx:21
xAODMaker::MissingETCnvAlg::m_xaodKey
std::string m_xaodKey
StoreGate key of the output MET container.
Definition: MissingETCnvAlg.h:49
xAODMaker
Definition: StoreGateSvc.h:72
AthAlgorithm.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
xAODMaker::MissingETCnvAlg::initialize
virtual StatusCode initialize()
Function initialising the algorithm.
Definition: MissingETCnvAlg.cxx:31
xAODMaker::MissingETCnvAlg::m_aodKeys
std::vector< std::string > m_aodKeys
StoreGate keys of the input MET objects.
Definition: MissingETCnvAlg.h:47
xAODMaker::MissingETCnvAlg
Algorithm translating AOD-style MET to xAOD style.
Definition: MissingETCnvAlg.h:34
IMissingETCnvTool.h
xAODMaker::MissingETCnvAlg::m_cnvTool
ToolHandle< IMissingETCnvTool > m_cnvTool
Handle to the converter tool.
Definition: MissingETCnvAlg.h:52
xAODMaker::MissingETCnvAlg::execute
virtual StatusCode execute()
Function executing the algorithm.
Definition: MissingETCnvAlg.cxx:45