ATLAS Offline Software
egammaDeltaEmax2Alg.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 /*
3  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4 */
13 #ifndef EGAMMAD3PDANALYSIS_EGAMMADELTAEMAX2_H
14 #define EGAMMAD3PDANALYSIS_EGAMMADELTAEMAX2_H
15 
16 
19 #include "xAODEgamma/Egamma.h"
20 #include "GaudiKernel/ToolHandle.h"
21 
22 
23 namespace D3PD {
24 
25 
30  : public AthAlgorithm
31 {
32 public:
38  egammaDeltaEmax2Alg (const std::string& name,
39  ISvcLocator* svcloc);
40 
41 
43  virtual StatusCode initialize() override;
44 
45 
47  virtual StatusCode execute() override;
48 
49 
50 private:
52  std::string m_auxPrefix;
53 
55  ToolHandle<ICollectionGetterTool> m_getter;
56 
59 
61  bool m_highLum;
62 };
63 
64 
65 } // namespace D3PD
66 
67 
68 #endif // EGAMMAD3PDANALYSIS_EGAMMADELTAEMAX2_H
D3PD::egammaDeltaEmax2Alg::egammaDeltaEmax2Alg
egammaDeltaEmax2Alg(const std::string &name, ISvcLocator *svcloc)
Standard Gaudi algorithm constructor.
Definition: egammaDeltaEmax2Alg.cxx:21
D3PD::egammaDeltaEmax2Alg::m_getter
ToolHandle< ICollectionGetterTool > m_getter
Property: Getter for input photon objects.
Definition: egammaDeltaEmax2Alg.h:55
D3PD::egammaDeltaEmax2Alg::initialize
virtual StatusCode initialize() override
Standard Gaudi initialize method.
Definition: egammaDeltaEmax2Alg.cxx:41
ICollectionGetterTool.h
Abstract interface to get a collection of objects and iterate over it.
D3PD::egammaDeltaEmax2Alg::m_auxPrefix
std::string m_auxPrefix
Property: Prefix to add to aux data items.
Definition: egammaDeltaEmax2Alg.h:52
AthAlgorithm.h
Egamma.h
D3PD
Block filler tool for noisy FEB information.
Definition: InnerDetector/InDetMonitoring/InDetGlobalMonitoring/macros/EnhancedPrimaryVertexMonitoring/TrigD3PD/ChainGroup.h:21
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
D3PD::egammaDeltaEmax2Alg::m_allowMissing
bool m_allowMissing
Property: If true, don't complain if input objects are missing.
Definition: egammaDeltaEmax2Alg.h:58
AthAlgorithm
Definition: AthAlgorithm.h:47
D3PD::egammaDeltaEmax2Alg::execute
virtual StatusCode execute() override
Standard Gaudi execute method.
Definition: egammaDeltaEmax2Alg.cxx:53
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
D3PD::egammaDeltaEmax2Alg
Calculate deltaEmax2 for egamma objects and store as UD.
Definition: egammaDeltaEmax2Alg.h:31
D3PD::egammaDeltaEmax2Alg::m_highLum
bool m_highLum
Property: True if we should use the high-lum definition of deltaEmax2.
Definition: egammaDeltaEmax2Alg.h:61