ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigMonitoring
TrigEgammaMonitoring
src
TrigEgammaMonitorPhotonAlgorithm.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TrigEgammaMonitorPhotonAlgorithm_H
6
#define TrigEgammaMonitorPhotonAlgorithm_H
7
8
9
#include "
TrigEgammaMonitorAnalysisAlgorithm.h
"
10
#include "
StoreGate/ReadDecorHandleKeyArray.h
"
11
#include "
StoreGate/ReadDecorHandleKey.h
"
12
13
14
class
TrigEgammaMonitorPhotonAlgorithm
:
public
TrigEgammaMonitorAnalysisAlgorithm
15
{
16
17
public
:
18
19
TrigEgammaMonitorPhotonAlgorithm
(
const
std::string& name, ISvcLocator* pSvcLocator );
20
21
virtual
~TrigEgammaMonitorPhotonAlgorithm
()
override
;
22
23
virtual
StatusCode
initialize
()
override
;
24
25
virtual
StatusCode
fillHistograms
(
const
EventContext& ctx)
const override
;
26
27
28
29
private
:
30
31
33
StatusCode
executeNavigation
(
const
EventContext& ctx,
const
TrigInfo
& info,
34
std::vector<std::pair<std::shared_ptr<const xAOD::Egamma>,
const
TrigCompositeUtils::Decision
*>> &)
const
;
35
37
std::vector<std::string>
m_trigList
;
39
Gaudi::Property<std::string>
m_photonPid
{
this
,
"PhotonPid"
,
"Tight"
};
41
Gaudi::Property<bool>
m_doUnconverted
{
this
,
"DoUnconverted"
,
false
};
43
Gaudi::Property<std::vector<std::string>>
m_trigInputList
{
this
,
"TriggerList"
, {}};
44
45
46
// Stores a map of Bootstrap triggers
47
Gaudi::Property< std::map<std::string, std::string> >
m_BSTrigMap
{
this
,
"BootstrapTriggerMap"
, {{
""
,
""
}},
"Dictionary of Triggers (as keys) and Bootstraps (value) to configure Bootstrapping of photon triggers"
};
49
Gaudi::Property<std::string>
m_anatype
{
this
,
"Analysis"
,
"Photon"
};
51
Gaudi::Property<bool>
m_forcePidSelection
{
this
,
"ForcePidSelection"
,
true
};
53
Gaudi::Property<bool>
m_onlyHLT
{
this
,
"OnlyHLT"
,
false
};
54
55
// Containers
57
SG::ReadHandleKey<xAOD::PhotonContainer>
m_offPhotonKey
{
this
,
"PhotonKey"
,
"Photons"
,
""
};
59
SG::ReadDecorHandleKeyArray<xAOD::PhotonContainer>
m_offPhotonIsolationKeys
{
this
,
"PhotonIsolationKeys"
, {
"Photons.topoetcone20"
,
"Photons.topoetcone40"
} };
60
SG::ReadDecorHandleKey<xAOD::EventInfo>
m_eventInfoDecorKey
{
this
,
"LArStatusFlag"
,
"EventInfo.larFlags"
,
"Key for EventInfo object"
};
//To get data-dependencies right
61
};
62
63
#endif
ReadDecorHandleKeyArray.h
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
TrigEgammaMonitorAnalysisAlgorithm.h
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
TrigEgammaMonitorAnalysisAlgorithm::TrigEgammaMonitorAnalysisAlgorithm
TrigEgammaMonitorAnalysisAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TrigEgammaMonitorAnalysisAlgorithm.cxx:10
TrigEgammaMonitorPhotonAlgorithm::m_forcePidSelection
Gaudi::Property< bool > m_forcePidSelection
force pid selection into photon navigation
Definition
TrigEgammaMonitorPhotonAlgorithm.h:51
TrigEgammaMonitorPhotonAlgorithm::m_doUnconverted
Gaudi::Property< bool > m_doUnconverted
doUnconverted analysis
Definition
TrigEgammaMonitorPhotonAlgorithm.h:41
TrigEgammaMonitorPhotonAlgorithm::executeNavigation
StatusCode executeNavigation(const EventContext &ctx, const TrigInfo &info, std::vector< std::pair< std::shared_ptr< const xAOD::Egamma >, const TrigCompositeUtils::Decision * > > &) const
navigation method called by executeNavigation
Definition
TrigEgammaMonitorPhotonAlgorithm.cxx:122
TrigEgammaMonitorPhotonAlgorithm::m_BSTrigMap
Gaudi::Property< std::map< std::string, std::string > > m_BSTrigMap
Definition
TrigEgammaMonitorPhotonAlgorithm.h:47
TrigEgammaMonitorPhotonAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition
TrigEgammaMonitorPhotonAlgorithm.cxx:47
TrigEgammaMonitorPhotonAlgorithm::m_anatype
Gaudi::Property< std::string > m_anatype
Directory name for each algorithm.
Definition
TrigEgammaMonitorPhotonAlgorithm.h:49
TrigEgammaMonitorPhotonAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition
TrigEgammaMonitorPhotonAlgorithm.cxx:24
TrigEgammaMonitorPhotonAlgorithm::m_trigList
std::vector< std::string > m_trigList
List of triggers to study.
Definition
TrigEgammaMonitorPhotonAlgorithm.h:37
TrigEgammaMonitorPhotonAlgorithm::m_trigInputList
Gaudi::Property< std::vector< std::string > > m_trigInputList
List of triggers from menu.
Definition
TrigEgammaMonitorPhotonAlgorithm.h:43
TrigEgammaMonitorPhotonAlgorithm::m_photonPid
Gaudi::Property< std::string > m_photonPid
Photon pid word.
Definition
TrigEgammaMonitorPhotonAlgorithm.h:39
TrigEgammaMonitorPhotonAlgorithm::m_offPhotonIsolationKeys
SG::ReadDecorHandleKeyArray< xAOD::PhotonContainer > m_offPhotonIsolationKeys
Ensure offline photon isolation decoration is retrieved after being created.
Definition
TrigEgammaMonitorPhotonAlgorithm.h:59
TrigEgammaMonitorPhotonAlgorithm::m_offPhotonKey
SG::ReadHandleKey< xAOD::PhotonContainer > m_offPhotonKey
Event Wise offline PhotonContainer Access and end iterator.
Definition
TrigEgammaMonitorPhotonAlgorithm.h:57
TrigEgammaMonitorPhotonAlgorithm::~TrigEgammaMonitorPhotonAlgorithm
virtual ~TrigEgammaMonitorPhotonAlgorithm() override
Definition
TrigEgammaMonitorPhotonAlgorithm.cxx:19
TrigEgammaMonitorPhotonAlgorithm::m_eventInfoDecorKey
SG::ReadDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Definition
TrigEgammaMonitorPhotonAlgorithm.h:60
TrigEgammaMonitorPhotonAlgorithm::TrigEgammaMonitorPhotonAlgorithm
TrigEgammaMonitorPhotonAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TrigEgammaMonitorPhotonAlgorithm.cxx:14
TrigEgammaMonitorPhotonAlgorithm::m_onlyHLT
Gaudi::Property< bool > m_onlyHLT
Compute only final HLT decision.
Definition
TrigEgammaMonitorPhotonAlgorithm.h:53
SG::ReadDecorHandleKeyArray
DecorHandleKeyArray< ReadDecorHandle< T, S >, ReadDecorHandleKey< T >, Gaudi::DataHandle::Reader > ReadDecorHandleKeyArray
Definition
StoreGate/StoreGate/ReadDecorHandleKeyArray.h:35
TrigCompositeUtils::Decision
xAOD::TrigComposite Decision
Definition
TrigComposite.h:20
TrigInfo
Definition
TrigEgammaMonitorBaseAlgorithm.h:42
Generated on
for ATLAS Offline Software by
1.17.0