ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Algorithms
AsgAnalysisAlgorithms
AsgAnalysisAlgorithms
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
10
#include <
AnaAlgorithm/AnaReentrantAlgorithm.h
>
11
#include <
AsgDataHandles/ReadHandleKey.h
>
12
#include <
AsgDataHandles/WriteDecorHandleKey.h
>
13
#include <
AsgTools/PropertyWrapper.h
>
14
#include <
EventBookkeeperTools/FilterReporterParams.h
>
15
16
#include <
xAODEventInfo/EventInfo.h
>
17
18
#include "
GammaORTools/IVGammaORTool.h
"
19
20
namespace
CP
{
21
22
class
VGammaORAlg
final :
public
EL::AnaReentrantAlgorithm
{
23
24
public
:
25
using
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
;
26
virtual
StatusCode
initialize
()
override
;
27
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
28
virtual
StatusCode
finalize
()
override
;
29
30
private
:
32
ToolHandle<IVGammaORTool>
m_vgammaORTool
{
33
this
,
"VGammaORTool"
,
""
,
"the VGammaORTool"
34
};
35
37
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
38
this
,
"eventInfoContainer"
,
"EventInfo"
,
"the input EventInfo container"
39
};
40
42
SG::WriteDecorHandleKey<xAOD::EventInfo>
m_inOverlapKey
{
43
this
,
"in_vgamma_overlap"
,
m_eventInfoKey
,
"in_vgamma_overlap"
,
"decoration name for the VGammaORTool overlap flag"
44
};
45
47
FilterReporterParams
m_filterParams
{
48
this
,
"VGammaORFilter"
,
"VGamma overlap filter"
49
};
50
52
Gaudi::Property<bool>
m_noFilter
{
53
this
,
"noFilter"
,
false
,
"whether to disable the event filter"
54
};
55
57
Gaudi::Property<bool>
m_keepOverlap
{
58
this
,
"keepOverlap"
,
false
,
"whether to keep events in the overlap region"
59
};
60
61
};
62
63
}
// namespace
64
65
#endif
AnaReentrantAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
FilterReporterParams.h
IVGammaORTool.h
PropertyWrapper.h
CP::VGammaORAlg
Definition
VGammaORAlg.h:22
CP::VGammaORAlg::m_vgammaORTool
ToolHandle< IVGammaORTool > m_vgammaORTool
the overlap removal tool
Definition
VGammaORAlg.h:32
CP::VGammaORAlg::m_noFilter
Gaudi::Property< bool > m_noFilter
whether to not apply an event filter
Definition
VGammaORAlg.h:52
CP::VGammaORAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
VGammaORAlg.cxx:24
CP::VGammaORAlg::finalize
virtual StatusCode finalize() override
Definition
VGammaORAlg.cxx:47
CP::VGammaORAlg::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
the event info key
Definition
VGammaORAlg.h:37
CP::VGammaORAlg::m_inOverlapKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_inOverlapKey
the decoration for the tool decision
Definition
VGammaORAlg.h:42
CP::VGammaORAlg::m_keepOverlap
Gaudi::Property< bool > m_keepOverlap
which way to run the event filter
Definition
VGammaORAlg.h:57
CP::VGammaORAlg::initialize
virtual StatusCode initialize() override
Definition
VGammaORAlg.cxx:14
CP::VGammaORAlg::m_filterParams
FilterReporterParams m_filterParams
the event filter for the tool decision
Definition
VGammaORAlg.h:47
EL::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition
AnaReentrantAlgorithm.h:51
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaReentrantAlgorithm.cxx:29
FilterReporterParams
a handle for applying algorithm filter decisions
Definition
FilterReporterParams.h:57
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0