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