ATLAS Offline Software
RedoTruthLinksAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef XAODCREATORALGS_REDOTRUTHLINKSALG_H
6 #define XAODCREATORALGS_REDOTRUTHLINKSALG_H
7 
9 
10 
13 
16 
17 
18 namespace xAODMaker {
19 
29  public:
30 
32  RedoTruthLinksAlg( const std::string& name, ISvcLocator* svcLoc );
33 
35  virtual StatusCode initialize();
37  virtual StatusCode execute();
38 
39 
40  private:
41 
44  this, "TruthLinks", "xAODTruthLinks", "Output xAODTruthLinks container"};
45 
46  // The key for the input xAOD truth containers
48  this, "linksOnlyTruthEventContainerName", "TruthEvents", "Input TruthEvents container"};
49 
50  }; // class RedoTruthLinksAlg
51 
52 
53 } // namespace xAODMaker
54 
55 #endif // XAODCREATORALGS_REDOTRUTHLINKSALG_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
xAODMaker
Definition: StoreGateSvc.h:72
xAODMaker::RedoTruthLinksAlg::initialize
virtual StatusCode initialize()
Function initialising the algorithm.
Definition: RedoTruthLinksAlg.cxx:26
AthAlgorithm.h
SG::WriteHandleKey< xAODTruthParticleLinkVector >
xAODMaker::RedoTruthLinksAlg::m_truthLinkContainerKey
SG::WriteHandleKey< xAODTruthParticleLinkVector > m_truthLinkContainerKey
The key for the output xAOD truth containers.
Definition: RedoTruthLinksAlg.h:43
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAODMaker::RedoTruthLinksAlg::execute
virtual StatusCode execute()
Function executing the algorithm.
Definition: RedoTruthLinksAlg.cxx:40
AthAlgorithm
Definition: AthAlgorithm.h:47
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
xAODMaker::RedoTruthLinksAlg::RedoTruthLinksAlg
RedoTruthLinksAlg(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
Definition: RedoTruthLinksAlg.cxx:20
TruthEventContainer.h
xAODMaker::RedoTruthLinksAlg::m_linksOnlyTruthEventContainerKey
SG::ReadHandleKey< xAOD::TruthEventContainer > m_linksOnlyTruthEventContainerKey
Definition: RedoTruthLinksAlg.h:47
xAODMaker::RedoTruthLinksAlg
Algorithm creating xAOD truth from HepMC.
Definition: RedoTruthLinksAlg.h:28