ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigHypothesis
TrigHLTJetHypo
src
TrigJetCRVARHypoTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGJETCRVARHYPOTOOL_H
6
#define TRIGJETCRVARHYPOTOOL_H
7
/********************************************************************
8
*
9
* NAME: TrigJetCRVARHypoTool.h
10
* PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
11
*
12
* * @class TrigJetCRVARHypoTool
13
* * @brief HypoTool for
14
* * @details HypoTool needed to decide on exotic jet selections
15
* * @author
16
*
17
*
18
********************************************************************/
19
20
#include "
TrigCompositeUtils/HLTIdentifier.h
"
21
#include "
AthenaBaseComps/AthAlgTool.h
"
22
#include "
TrigCompositeUtils/TrigCompositeUtils.h
"
23
#include "
AthenaMonitoringKernel/GenericMonitoringTool.h
"
24
#include "
TrigHLTJetHypo/ITrigJetHypoToolHelper.h
"
25
26
#include "
xAODEventInfo/EventInfo.h
"
27
#include "
xAODJet/JetContainer.h
"
28
#include "
xAODTracking/TrackParticlexAODHelpers.h
"
29
#include "
xAODTracking/TrackParticleContainer.h
"
30
#include "
xAODTracking/VertexContainer.h
"
31
#include <
CaloEvent/CaloConstCellContainer.h
>
32
33
class
TrigJetCRVARHypoTool
:
public
AthAlgTool
{
34
35
public
:
36
37
TrigJetCRVARHypoTool
(
const
std::string&
type
,
38
const
std::string& name,
39
const
IInterface* parent);
40
41
~TrigJetCRVARHypoTool
();
42
virtual
StatusCode
initialize
()
override
final
;
43
44
// typedef for passing jet - decision object assocation
45
using
JetDecision
= std::pair<const xAOD::Jet*,TrigCompositeUtils::Decision*>;
46
47
struct
JetInfo
{
48
const
TrigCompositeUtils::DecisionIDContainer
previousDecisionIDs
;
49
const
xAOD::Jet
*
jet
=
nullptr
;
50
const
CaloConstCellContainer
*
cells
=
nullptr
;
51
TrigCompositeUtils::Decision
*
decision
=
nullptr
;
52
};
53
54
bool
emf_dis
(
const
xAOD::Jet
*
jet
)
const
;
55
59
StatusCode
decide
( std::vector<JetInfo>& decisions )
const
;
60
61
65
bool
decide_on_single_jet
(
JetInfo
& input )
const
;
66
67
68
const
HLT::Identifier
&
getId
()
const
;
69
70
private
:
71
72
// Identifier is used to keep track of which tool made which decision.
73
// The information is stored in the event store.
74
HLT::Identifier
m_decisionId
;
75
76
ToolHandle<ITrigJetHypoToolHelper>
m_helper
{
77
this
,
"helper_tool"
, {},
"Jet hypo helper AlgTool"
};
78
79
Gaudi::Property<bool>
80
m_visitDebug
{
this
,
"visit_debug"
,
false
,
"debug flag"
};
81
82
Gaudi::Property<std::string>
m_chainName
{
83
this
,
"chain_name"
, {},
"chain name"
};
84
85
// minjetlogR may be read from trigger chain name -- to be updated
86
Gaudi::Property< float >
m_jetlogRCut
{
this
,
"MinjetlogR"
, { float(1.2 ) },
"Jet logR requirement"
};
87
88
Gaudi::Property< float >
m_pufixLogRatio
{
this
,
"MpufixLogRatio"
, { float(1.2 ) },
"Jet pufix logR requirement"
};
89
Gaudi::Property< float >
m_trackPtCut
{
this
,
"MintrackPt"
, { float( 2.0*Gaudi::Units::GeV ) },
"Track pT requirement"
};
90
Gaudi::Property< float >
m_deltaR
{
this
,
"MindeltaR"
, { float( 0.2 ) },
"deltaR(jet, track) requirement"
};
91
92
Gaudi::Property< bool >
m_doBIBrm
{
this
,
"doBIBremoval"
, { int(0) },
"option to include BIB removal"
};
93
94
Gaudi::Property< float >
m_dEta
{
this
,
"BibMinDeltaEta"
, { float( 0.4 ) },
"BIB deltaEta requirement"
};
95
Gaudi::Property< float >
m_dPhi
{
this
,
"BibMinDeltaPhi"
, { float( 0.2 ) },
"BIB deltaPhi requirement"
};
96
Gaudi::Property< float >
m_minCellEt
{
this
,
"BibMinCellEt"
, { float( 240.0 ) },
"BIB cell Et requirement"
};
97
Gaudi::Property< float >
m_celltime
{
this
,
"BibCelltiming"
, { float( -2.0 ) },
"BIB cell timing requirement"
};
98
Gaudi::Property< float >
m_dBIBtime
{
this
,
"BibDeltatiming"
, { float( 5.0 ) },
"BIB delta timing requirement"
};
99
Gaudi::Property< int >
m_countCaloCell
{
this
,
"countBIBcells"
, { int( 4 ) },
"requirement on number of BIB cells"
};
100
101
102
};
103
#endif
AthAlgTool.h
CaloConstCellContainer.h
CaloCellContainer that can accept const cell pointers.
TrackParticleContainer.h
GenericMonitoringTool.h
ITrigJetHypoToolHelper.h
JetContainer.h
TrackParticlexAODHelpers.h
HLTIdentifier.h
TrigCompositeUtils.h
VertexContainer.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
CaloConstCellContainer
CaloCellContainer that can accept const cell pointers.
Definition
CaloConstCellContainer.h:45
HLT::Identifier
Definition
TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:19
TrigJetCRVARHypoTool::decide_on_single_jet
bool decide_on_single_jet(JetInfo &input) const
Auxiluary method, single jet selection.
Definition
TrigJetCRVARHypoTool.cxx:142
TrigJetCRVARHypoTool::m_helper
ToolHandle< ITrigJetHypoToolHelper > m_helper
Definition
TrigJetCRVARHypoTool.h:76
TrigJetCRVARHypoTool::TrigJetCRVARHypoTool
TrigJetCRVARHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
TrigJetCRVARHypoTool.cxx:37
TrigJetCRVARHypoTool::initialize
virtual StatusCode initialize() override final
Definition
TrigJetCRVARHypoTool.cxx:51
TrigJetCRVARHypoTool::m_dBIBtime
Gaudi::Property< float > m_dBIBtime
Definition
TrigJetCRVARHypoTool.h:98
TrigJetCRVARHypoTool::m_dEta
Gaudi::Property< float > m_dEta
Definition
TrigJetCRVARHypoTool.h:94
TrigJetCRVARHypoTool::emf_dis
bool emf_dis(const xAOD::Jet *jet) const
Definition
TrigJetCRVARHypoTool.cxx:68
TrigJetCRVARHypoTool::m_pufixLogRatio
Gaudi::Property< float > m_pufixLogRatio
Definition
TrigJetCRVARHypoTool.h:88
TrigJetCRVARHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition
TrigJetCRVARHypoTool.h:74
TrigJetCRVARHypoTool::m_trackPtCut
Gaudi::Property< float > m_trackPtCut
Definition
TrigJetCRVARHypoTool.h:89
TrigJetCRVARHypoTool::decide
StatusCode decide(std::vector< JetInfo > &decisions) const
decides upon a collection of jets
Definition
TrigJetCRVARHypoTool.cxx:211
TrigJetCRVARHypoTool::m_countCaloCell
Gaudi::Property< int > m_countCaloCell
Definition
TrigJetCRVARHypoTool.h:99
TrigJetCRVARHypoTool::m_chainName
Gaudi::Property< std::string > m_chainName
Definition
TrigJetCRVARHypoTool.h:82
TrigJetCRVARHypoTool::~TrigJetCRVARHypoTool
~TrigJetCRVARHypoTool()
Definition
TrigJetCRVARHypoTool.cxx:46
TrigJetCRVARHypoTool::m_celltime
Gaudi::Property< float > m_celltime
Definition
TrigJetCRVARHypoTool.h:97
TrigJetCRVARHypoTool::getId
const HLT::Identifier & getId() const
TrigJetCRVARHypoTool::m_deltaR
Gaudi::Property< float > m_deltaR
Definition
TrigJetCRVARHypoTool.h:90
TrigJetCRVARHypoTool::JetDecision
std::pair< const xAOD::Jet *, TrigCompositeUtils::Decision * > JetDecision
Definition
TrigJetCRVARHypoTool.h:45
TrigJetCRVARHypoTool::m_jetlogRCut
Gaudi::Property< float > m_jetlogRCut
Definition
TrigJetCRVARHypoTool.h:86
TrigJetCRVARHypoTool::m_minCellEt
Gaudi::Property< float > m_minCellEt
Definition
TrigJetCRVARHypoTool.h:96
TrigJetCRVARHypoTool::m_doBIBrm
Gaudi::Property< bool > m_doBIBrm
Definition
TrigJetCRVARHypoTool.h:92
TrigJetCRVARHypoTool::m_dPhi
Gaudi::Property< float > m_dPhi
Definition
TrigJetCRVARHypoTool.h:95
TrigJetCRVARHypoTool::m_visitDebug
Gaudi::Property< bool > m_visitDebug
Definition
TrigJetCRVARHypoTool.h:80
TrigCompositeUtils::Decision
xAOD::TrigComposite Decision
Definition
TrigComposite.h:20
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition
TrigComposite_v1.h:28
jet
Definition
JetCalibTools_PlotJESFactors.cxx:23
xAOD::Jet
Jet_v1 Jet
Definition of the current "jet version".
Definition
Event/xAOD/xAODJet/xAODJet/Jet.h:17
type
TrigJetCRVARHypoTool::JetInfo
Definition
TrigJetCRVARHypoTool.h:47
TrigJetCRVARHypoTool::JetInfo::previousDecisionIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
Definition
TrigJetCRVARHypoTool.h:48
TrigJetCRVARHypoTool::JetInfo::decision
TrigCompositeUtils::Decision * decision
Definition
TrigJetCRVARHypoTool.h:51
TrigJetCRVARHypoTool::JetInfo::cells
const CaloConstCellContainer * cells
Definition
TrigJetCRVARHypoTool.h:50
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0