ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigHypothesis
TrigEgammaHypo
src
TrigEgammaFastPhotonHypoTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef TRIGEGAMMAHYPO_TrigEgammaFastPhotonHypoTool_H
5
#define TRIGEGAMMAHYPO_TrigEgammaFastPhotonHypoTool_H 1
6
7
#include "Gaudi/Property.h"
8
#include "GaudiKernel/SystemOfUnits.h"
9
#include "
xAODTrigCalo/TrigEMCluster.h
"
10
#include "
xAODTrigEgamma/TrigPhoton.h
"
11
#include "
AthenaBaseComps/AthAlgTool.h
"
12
#include "
AthenaMonitoringKernel/GenericMonitoringTool.h
"
13
#include "
TrigCompositeUtils/TrigCompositeUtils.h
"
14
15
#include <vector>
16
21
22
class
TrigEgammaFastPhotonHypoTool
:
virtual
public
::AthAlgTool
23
{
24
public
:
25
TrigEgammaFastPhotonHypoTool
(
const
std::string&
type
,
26
const
std::string& name,
27
const
IInterface* parent );
28
29
virtual
StatusCode
initialize
()
override
;
30
31
struct
PhotonInfo
{
32
TrigCompositeUtils::Decision
*
decision
{};
33
const
xAOD::TrigPhoton
*
photon
{};
34
const
xAOD::TrigEMCluster
*
cluster
{};
35
const
TrigCompositeUtils::DecisionIDContainer
previousDecisionIDs
;
36
};
37
38
39
StatusCode
decide
( std::vector<PhotonInfo>& decisions )
const
;
40
41
42
private
:
43
44
bool
decide
(
const
xAOD::TrigPhoton
* photon )
const
;
45
46
int
findCutIndex
(
float
eta
)
const
;
47
48
HLT::Identifier
m_decisionId
;
49
50
Gaudi::Property<bool>
m_acceptAll
{
this
,
"AcceptAll"
,
false
,
"Ignore selection"
};
51
Gaudi::Property< std::vector<float> >
m_etabin
{
this
,
"EtaBins"
, {0, 0.6, 0.8, 1.15, 1.37, 1.52, 1.81, 2.01, 2.37, 2.47},
"Eta bins"
};
52
Gaudi::Property< std::vector<float> >
m_F1thr
{
this
,
"F1thr"
, {0.005},
"F1 Threshold"
};
53
Gaudi::Property< std::vector<float> >
m_eTthr
{
this
,
"ETthr"
, {0.*Gaudi::Units::GeV},
"et threshold"
};
54
Gaudi::Property< std::vector<float> >
m_eT2thr
{
this
,
"ET2thr"
, {90.0*Gaudi::Units::GeV},
"eT2 threshold"
};
55
Gaudi::Property< std::vector<float> >
m_hadeTthr
{
this
,
"HADETthr"
, {0.},
"hadet threshold"
};
56
Gaudi::Property< std::vector<float> >
m_hadeT2thr
{
this
,
"HADET2thr"
, {0.},
"hadet2 threshold"
};
57
Gaudi::Property< std::vector<float> >
m_carcorethr
{
this
,
"CARCOREthr"
, {0.},
"car core threshold"
};
58
Gaudi::Property< std::vector<float> >
m_caeratiothr
{
this
,
"CAERATIOthr"
, {0.},
" cera ratio threshold"
};
59
60
ToolHandle<GenericMonitoringTool>
m_monTool
{
this
,
"MonTool"
,
""
,
"Monitoring tool"
};
61
};
62
63
#endif
//> !TRIGEGAMMAHYPO_TRIGL2CALOHYPOTOOL_H
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
AthAlgTool.h
TrigEMCluster.h
TrigPhoton.h
GenericMonitoringTool.h
TrigCompositeUtils.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
HLT::Identifier
Definition
TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:19
TrigEgammaFastPhotonHypoTool::m_caeratiothr
Gaudi::Property< std::vector< float > > m_caeratiothr
Definition
TrigEgammaFastPhotonHypoTool.h:58
TrigEgammaFastPhotonHypoTool::m_etabin
Gaudi::Property< std::vector< float > > m_etabin
Definition
TrigEgammaFastPhotonHypoTool.h:51
TrigEgammaFastPhotonHypoTool::m_F1thr
Gaudi::Property< std::vector< float > > m_F1thr
Definition
TrigEgammaFastPhotonHypoTool.h:52
TrigEgammaFastPhotonHypoTool::m_hadeT2thr
Gaudi::Property< std::vector< float > > m_hadeT2thr
Definition
TrigEgammaFastPhotonHypoTool.h:56
TrigEgammaFastPhotonHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition
TrigEgammaFastPhotonHypoTool.h:48
TrigEgammaFastPhotonHypoTool::TrigEgammaFastPhotonHypoTool
TrigEgammaFastPhotonHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
TrigEgammaFastPhotonHypoTool.cxx:14
TrigEgammaFastPhotonHypoTool::m_acceptAll
Gaudi::Property< bool > m_acceptAll
Definition
TrigEgammaFastPhotonHypoTool.h:50
TrigEgammaFastPhotonHypoTool::m_hadeTthr
Gaudi::Property< std::vector< float > > m_hadeTthr
Definition
TrigEgammaFastPhotonHypoTool.h:55
TrigEgammaFastPhotonHypoTool::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition
TrigEgammaFastPhotonHypoTool.h:60
TrigEgammaFastPhotonHypoTool::m_eT2thr
Gaudi::Property< std::vector< float > > m_eT2thr
Definition
TrigEgammaFastPhotonHypoTool.h:54
TrigEgammaFastPhotonHypoTool::findCutIndex
int findCutIndex(float eta) const
Definition
TrigEgammaFastPhotonHypoTool.cxx:189
TrigEgammaFastPhotonHypoTool::initialize
virtual StatusCode initialize() override
Definition
TrigEgammaFastPhotonHypoTool.cxx:22
TrigEgammaFastPhotonHypoTool::m_eTthr
Gaudi::Property< std::vector< float > > m_eTthr
Definition
TrigEgammaFastPhotonHypoTool.h:53
TrigEgammaFastPhotonHypoTool::m_carcorethr
Gaudi::Property< std::vector< float > > m_carcorethr
Definition
TrigEgammaFastPhotonHypoTool.h:57
TrigEgammaFastPhotonHypoTool::decide
StatusCode decide(std::vector< PhotonInfo > &decisions) const
Definition
TrigEgammaFastPhotonHypoTool.cxx:52
TrigCompositeUtils::Decision
xAOD::TrigComposite Decision
Definition
TrigComposite.h:20
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition
TrigComposite_v1.h:28
xAOD::TrigPhoton
TrigPhoton_v1 TrigPhoton
Declare the latest version of TrigPhoton.
Definition
Event/xAOD/xAODTrigEgamma/xAODTrigEgamma/TrigPhoton.h:16
xAOD::TrigEMCluster
TrigEMCluster_v1 TrigEMCluster
Define the latest version of the trigger EM cluster class.
Definition
Event/xAOD/xAODTrigCalo/xAODTrigCalo/TrigEMCluster.h:17
type
TrigEgammaFastPhotonHypoTool::PhotonInfo
Definition
TrigEgammaFastPhotonHypoTool.h:31
TrigEgammaFastPhotonHypoTool::PhotonInfo::decision
TrigCompositeUtils::Decision * decision
Definition
TrigEgammaFastPhotonHypoTool.h:32
TrigEgammaFastPhotonHypoTool::PhotonInfo::cluster
const xAOD::TrigEMCluster * cluster
Definition
TrigEgammaFastPhotonHypoTool.h:34
TrigEgammaFastPhotonHypoTool::PhotonInfo::photon
const xAOD::TrigPhoton * photon
Definition
TrigEgammaFastPhotonHypoTool.h:33
TrigEgammaFastPhotonHypoTool::PhotonInfo::previousDecisionIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
Definition
TrigEgammaFastPhotonHypoTool.h:35
Generated on
for ATLAS Offline Software by
1.17.0