ATLAS Offline Software
Loading...
Searching...
No Matches
TrigJetCRHypoTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 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"
24
26
33
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
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.
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
CaloCellContainer that can accept const cell pointers.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
CaloCellContainer that can accept const cell pointers.
Gaudi::Property< float > m_deltaR
Gaudi::Property< float > m_dBIBtime
std::pair< const xAOD::Jet *, TrigCompositeUtils::Decision * > JetDecision
Gaudi::Property< float > m_jetlogRCut
Gaudi::Property< float > m_celltime
TrigJetCRHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< bool > m_doEMFrm
bool decide_on_single_jet(JetInfo &input) const
Auxiluary method, single jet selection.
Gaudi::Property< float > m_trackPtCut
Gaudi::Property< std::string > m_chainName
StatusCode decide(std::vector< JetInfo > &decisions) const
decides upon a collection of jets
Gaudi::Property< float > m_dPhi
Gaudi::Property< bool > m_doBIBrm
const HLT::Identifier & getId() const
HLT::Identifier m_decisionId
Gaudi::Property< bool > m_visitDebug
Gaudi::Property< int > m_countCaloCell
ToolHandle< ITrigJetHypoToolHelper > m_helper
Gaudi::Property< float > m_minCellEt
Gaudi::Property< float > m_dEta
virtual StatusCode initialize() override final
std::set< DecisionID > DecisionIDContainer
Jet_v1 Jet
Definition of the current "jet version".
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
const CaloConstCellContainer * cells
const xAOD::TrackParticleContainer * allTracks
TrigCompositeUtils::Decision * decision