ATLAS Offline Software
VGammaORAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #ifndef ASG_VGAMMAORALG_H
8 #define ASG_VGAMMAORALG_H
9 
16 
18 
20 
21 namespace CP {
22 
23  class VGammaORAlg final : public EL::AnaAlgorithm {
24 
25  public:
27  virtual StatusCode initialize() override;
28  virtual StatusCode execute() override;
29  virtual StatusCode finalize() override;
30 
31  private:
34 
36  ToolHandle<IVGammaORTool> m_vgammaORTool {
37  this, "VGammaORTool", "", "the VGammaORTool"
38  };
39 
42  this, "eventInfoContainer", "EventInfo", "the input EventInfo container"
43  };
44 
47  this, "in_vgamma_overlap", "in_vgamma_overlap_%SYS%", "decoration name for the VGammaORTool overlap flag"
48  };
49 
52  this, "VGamma overlap filter"
53  };
54 
56  Gaudi::Property<bool> m_noFilter {
57  this, "noFilter", false, "whether to disable the event filter"
58  };
59 
61  Gaudi::Property<bool> m_keepOverlap {
62  this, "keepOverlap", false, "whether to keep events in the overlap region"
63  };
64 
65  };
66 
67 } // namespace
68 
69 #endif
PropertyWrapper.h
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
SysWriteDecorHandle.h
CP::VGammaORAlg::m_vgammaORTool
ToolHandle< IVGammaORTool > m_vgammaORTool
the overlap removal tool
Definition: VGammaORAlg.h:36
SysListHandle.h
IVGammaORTool.h
CP::VGammaORAlg::m_keepOverlap
Gaudi::Property< bool > m_keepOverlap
which way to run the event filter
Definition: VGammaORAlg.h:61
CP::VGammaORAlg::m_inOverlapHandle
CP::SysWriteDecorHandle< bool > m_inOverlapHandle
the decoration for the tool decision
Definition: VGammaORAlg.h:46
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition: SysReadHandle.h:32
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition: AnaAlgorithm.cxx:40
SysReadHandle.h
AnaAlgorithm.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::VGammaORAlg::m_noFilter
Gaudi::Property< bool > m_noFilter
whether to not apply an event filter
Definition: VGammaORAlg.h:56
CP::VGammaORAlg::execute
virtual StatusCode execute() override
Definition: VGammaORAlg.cxx:23
CP::VGammaORAlg::initialize
virtual StatusCode initialize() override
Definition: VGammaORAlg.cxx:13
SysFilterReporterParams.h
CP::VGammaORAlg::m_systematicsList
CP::SysListHandle m_systematicsList
the systematics
Definition: VGammaORAlg.h:33
CP::VGammaORAlg::m_eventInfoHandle
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
Definition: VGammaORAlg.h:41
EventInfo.h
CP::SysFilterReporterParams
the properties and persistent data for systematics aware filter reporters
Definition: SysFilterReporterParams.h:38
CP::SysWriteDecorHandle< bool >
CP::VGammaORAlg
Definition: VGammaORAlg.h:23
CP::VGammaORAlg::m_filterParams
CP::SysFilterReporterParams m_filterParams
the event filter for the tool decision
Definition: VGammaORAlg.h:51
CP::VGammaORAlg::finalize
virtual StatusCode finalize() override
Definition: VGammaORAlg.cxx:50