ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigMonitoring
TrigEgammaMonitoring
src
TrigEgammaMonitorTopoAlgorithm.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 TrigEgammaMonitorTopoAlgorithm_H
6
#define TrigEgammaMonitorTopoAlgorithm_H
7
8
9
#include "
TrigEgammaMonitorBaseAlgorithm.h
"
10
#include "
xAODBase/IParticleContainer.h
"
11
12
13
14
15
class
TrigEgammaMonitorTopoAlgorithm
:
public
TrigEgammaMonitorBaseAlgorithm
16
{
17
18
19
struct
Legs
{
20
const
xAOD::IParticle
*
leg0
;
// online electron leg 0
21
const
xAOD::IParticle
*
leg1
;
// online electron leg 1
22
};
23
24
public
:
25
26
TrigEgammaMonitorTopoAlgorithm
(
const
std::string& name, ISvcLocator* pSvcLocator );
27
28
virtual
~TrigEgammaMonitorTopoAlgorithm
()
override
;
29
30
virtual
StatusCode
initialize
()
override
;
31
32
virtual
StatusCode
fillHistograms
(
const
EventContext& ctx)
const override
;
33
34
35
36
private
:
37
42
Gaudi::Property<std::vector<std::map<std::string, std::string>>>
m_trigListConfig
{
this
,
"TriggerListConfig"
, {}};
44
Gaudi::Property<float>
m_dR
{
this
,
"DeltaR"
, 0.07};
46
SG::ReadHandleKey<xAOD::ElectronContainer>
m_offElectronKey
{
this
,
"ElectronKey"
,
"Electrons"
,
""
};
47
SG::ReadHandleKey<xAOD::PhotonContainer>
m_offPhotonKey
{
this
,
"PhotonKey"
,
"Photons"
,
""
};
48
50
void
make_legs
(
const
std::string& trigger, std::string key_leg0, std::string key_leg1, std::vector<Legs> &)
const
;
51
bool
match
(
const
xAOD::IParticleContainer
&container,
const
xAOD::IParticle
*part_on ,
const
xAOD::IParticle
*&part_off)
const
;
52
53
};
54
55
#endif
TrigEgammaMonitorBaseAlgorithm.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
TrigEgammaMonitorBaseAlgorithm::TrigEgammaMonitorBaseAlgorithm
TrigEgammaMonitorBaseAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TrigEgammaMonitorBaseAlgorithm.cxx:11
TrigEgammaMonitorBaseAlgorithm::match
const ToolHandle< TrigEgammaMatchingToolMT > & match() const
Get the e/g match tool.
Definition
TrigEgammaMonitorBaseAlgorithm.h:147
TrigEgammaMonitorTopoAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
=========================================================================
Definition
TrigEgammaMonitorTopoAlgorithm.cxx:39
TrigEgammaMonitorTopoAlgorithm::TrigEgammaMonitorTopoAlgorithm
TrigEgammaMonitorTopoAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TrigEgammaMonitorTopoAlgorithm.cxx:14
TrigEgammaMonitorTopoAlgorithm::m_dR
Gaudi::Property< float > m_dR
Min Delta R between online and offline.
Definition
TrigEgammaMonitorTopoAlgorithm.h:44
TrigEgammaMonitorTopoAlgorithm::~TrigEgammaMonitorTopoAlgorithm
virtual ~TrigEgammaMonitorTopoAlgorithm() override
=========================================================================
Definition
TrigEgammaMonitorTopoAlgorithm.cxx:20
TrigEgammaMonitorTopoAlgorithm::m_offPhotonKey
SG::ReadHandleKey< xAOD::PhotonContainer > m_offPhotonKey
Definition
TrigEgammaMonitorTopoAlgorithm.h:47
TrigEgammaMonitorTopoAlgorithm::make_legs
void make_legs(const std::string &trigger, std::string key_leg0, std::string key_leg1, std::vector< Legs > &) const
Get all combinations.
Definition
TrigEgammaMonitorTopoAlgorithm.cxx:162
TrigEgammaMonitorTopoAlgorithm::m_trigListConfig
Gaudi::Property< std::vector< std::map< std::string, std::string > > > m_trigListConfig
List of configurations.
Definition
TrigEgammaMonitorTopoAlgorithm.h:42
TrigEgammaMonitorTopoAlgorithm::m_offElectronKey
SG::ReadHandleKey< xAOD::ElectronContainer > m_offElectronKey
Event Wise offline ElectronContainer Access and end iterator.
Definition
TrigEgammaMonitorTopoAlgorithm.h:46
TrigEgammaMonitorTopoAlgorithm::initialize
virtual StatusCode initialize() override
=========================================================================
Definition
TrigEgammaMonitorTopoAlgorithm.cxx:25
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
xAOD::IParticleContainer
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.
Definition
xAOD/xAODBase/xAODBase/IParticleContainer.h:32
TrigEgammaMonitorTopoAlgorithm::Legs
Definition
TrigEgammaMonitorTopoAlgorithm.h:19
TrigEgammaMonitorTopoAlgorithm::Legs::leg1
const xAOD::IParticle * leg1
Definition
TrigEgammaMonitorTopoAlgorithm.h:21
TrigEgammaMonitorTopoAlgorithm::Legs::leg0
const xAOD::IParticle * leg0
Definition
TrigEgammaMonitorTopoAlgorithm.h:20
IParticleContainer.h
Generated on
for ATLAS Offline Software by
1.17.0