ATLAS Offline Software
BadBatmanAugmentationTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // Author: Chris Young (christopher.young@cern.ch)
8 
9 #ifndef DERIVATIONFRAMEWORK_BADBATMANAUGMENTATIONTOOL_H
10 #define DERIVATIONFRAMEWORK_BADBATMANAUGMENTATIONTOOL_H
11 
12 #include <string>
13 #include <vector>
14 
18 
21 #include "GaudiKernel/ToolHandle.h"
24 
25 namespace DerivationFramework {
26 
27  class BadBatmanAugmentationTool : public extends<AthAlgTool, IAugmentationTool> {
28  public:
29 
30  using base_class::base_class;
31 
32  virtual StatusCode initialize() override final;
33  virtual StatusCode addBranches(const EventContext& ctx) const override final;
34 
35  private:
36 
37  SG::ReadHandleKey<xAOD::EventInfo> m_eventInfo_key{this, "EventInfo", "EventInfo", "Input event information"};
38  SG::ReadHandleKey<xAOD::CaloClusterContainer> m_clusterContainer_key{this, "CaloCalTopoClusters", "CaloCalTopoClusters", "Input cluster container"};
39 
41  ,"IsBadBatmanKey"
42  ,m_eventInfo_key, "DFCommonJets_isBadBatman"
43  ,"Decoration for isBadBatman flag"};
44 
45  };
46 }
47 
48 #endif // DERIVATIONFRAMEWORK_PFLOWAUGMENTATIONTOOL_H
SG::WriteDecorHandleKey< xAOD::EventInfo >
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
DerivationFramework::BadBatmanAugmentationTool
Definition: BadBatmanAugmentationTool.h:27
IAugmentationTool.h
DerivationFramework::BadBatmanAugmentationTool::m_clusterContainer_key
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterContainer_key
Definition: BadBatmanAugmentationTool.h:38
DerivationFramework::BadBatmanAugmentationTool::m_isBadBatmanKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_isBadBatmanKey
Definition: BadBatmanAugmentationTool.h:40
SG::ReadHandleKey< xAOD::EventInfo >
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
CaloCluster.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DerivationFramework::BadBatmanAugmentationTool::initialize
virtual StatusCode initialize() override final
Definition: BadBatmanAugmentationTool.cxx:20
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::BadBatmanAugmentationTool::m_eventInfo_key
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo_key
Definition: BadBatmanAugmentationTool.h:37
EventInfo.h
DerivationFramework::BadBatmanAugmentationTool::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition: BadBatmanAugmentationTool.cxx:33
CaloClusterContainer.h