ATLAS Offline Software
DisplacedJetPromptHypoTool.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TRIGT2DJTRIG_PROMPT_HYPOTOOL_H
5 #define TRIGT2DJTRIG_PROMPT_HYPOTOOL_H
6 
7 #include "Gaudi/Property.h"
11 #include "xAODTracking/Vertex.h"
13 #include "xAODJet/Jet.h"
16 
18 {
19 public:
20 
21  DisplacedJetPromptHypoTool( const std::string& type,
22  const std::string& name,
23  const IInterface* parent );
24 
25  virtual ~DisplacedJetPromptHypoTool() = default;
26  virtual StatusCode initialize() override;
27 
28  struct Info {
31 
32  const xAOD::Jet* jet;
33  std::vector<const xAOD::TrackParticle_v1*> tracks;
37  };
38 
39  StatusCode decide( Info& info ) const;
40 
41  private:
42 
44  Gaudi::Property<float> m_min_jet_pt{this, "min_jet_pt",{0}, "Minimum jet pt [GeV]"};
45  Gaudi::Property<float> m_min_trk_pt{this, "min_trk_pt",{0}, "Minimum pt for a track [GeV]"};
46  Gaudi::Property<float> m_d0cut{this, "trk_d0cut",{4}, "D0 cut applied to split prompt/displaced"};
47  Gaudi::Property<float> m_z0stcut{this, "max_z0st",{3.0}, "Maximum value for z0*sin(theta) [mm]"};
48  Gaudi::Property<float> m_d0sigcut{this, "d0sigcut",{25.0}, "Maximum value for z0*sin(theta) [mm]"};
49  Gaudi::Property<int> m_maxprompt{this, "max_prompt_trk",{4}, "Max number of prompt tracks in a jet"};
50  Gaudi::Property<unsigned int> m_rankcut{this, "max_jet_rank",{4}, "Maximum jet rank which will be processed"};
51  Gaudi::Property<int> m_minnjets{this, "min_njets",{2}, "Minimum number of jets left for it to be worth processing the event"};
52  Gaudi::Property<std::string> m_cutname{this, "cut_name",{""}, "Name of cuts, used for decoration names"};
53  Gaudi::Property<int> m_maxjets{this, "max_jets",{0}, "Max jets allowed in an event after ranking"};
54 
55  Gaudi::Property<bool> m_usebeamspot{this, "use_beamspot",{true}, "Use beamspot info"};
56 
57 
58  ToolHandle<GenericMonitoringTool> m_monTool{this,"MonTool","","Monitoring tool"};
59  };
60 
61  #endif //> !TRIGT2MINBIAS_TRACKCOUNTHYPOTOOL_H
grepfile.info
info
Definition: grepfile.py:38
DisplacedJetPromptHypoTool::m_usebeamspot
Gaudi::Property< bool > m_usebeamspot
Definition: DisplacedJetPromptHypoTool.h:55
Jet.h
DisplacedJetPromptHypoTool::m_maxjets
Gaudi::Property< int > m_maxjets
Definition: DisplacedJetPromptHypoTool.h:53
DisplacedJetPromptHypoTool::m_maxprompt
Gaudi::Property< int > m_maxprompt
Definition: DisplacedJetPromptHypoTool.h:49
DisplacedJetPromptHypoTool::DisplacedJetPromptHypoTool
DisplacedJetPromptHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: DisplacedJetPromptHypoTool.cxx:15
DisplacedJetPromptHypoTool::~DisplacedJetPromptHypoTool
virtual ~DisplacedJetPromptHypoTool()=default
DisplacedJetPromptHypoTool::m_d0sigcut
Gaudi::Property< float > m_d0sigcut
Definition: DisplacedJetPromptHypoTool.h:48
TrigCompositeUtils.h
DisplacedJetPromptHypoTool::m_minnjets
Gaudi::Property< int > m_minnjets
Definition: DisplacedJetPromptHypoTool.h:51
DisplacedJetPromptHypoTool::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: DisplacedJetPromptHypoTool.h:58
DisplacedJetPromptHypoTool::Info::beamspot
DisplacedJetBeamspotInfo beamspot
Definition: DisplacedJetPromptHypoTool.h:36
DisplacedJetPromptHypoTool
Definition: DisplacedJetPromptHypoTool.h:18
DisplacedJetPromptHypoTool::Info::previousDecisionIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
Definition: DisplacedJetPromptHypoTool.h:29
DisplacedJetPromptHypoTool::Info::output_decision
TrigCompositeUtils::Decision * output_decision
Definition: DisplacedJetPromptHypoTool.h:30
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DisplacedJetPromptHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition: DisplacedJetPromptHypoTool.h:43
test_pyathena.parent
parent
Definition: test_pyathena.py:15
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
DisplacedJetPromptHypoTool::m_rankcut
Gaudi::Property< unsigned int > m_rankcut
Definition: DisplacedJetPromptHypoTool.h:50
Vertex.h
HLT::Identifier
Definition: TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:20
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
DisplacedJetPromptHypoTool::initialize
virtual StatusCode initialize() override
Definition: DisplacedJetPromptHypoTool.cxx:19
DisplacedJetPromptHypoTool::Info
Definition: DisplacedJetPromptHypoTool.h:28
DisplacedJetPromptHypoTool::Info::counts
xAOD::TrigComposite * counts
Definition: DisplacedJetPromptHypoTool.h:35
DisplacedJetBeamspotInfo
Definition: DisplacedJetBeamspotInfo.h:12
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
DisplacedJetPromptHypoTool::m_cutname
Gaudi::Property< std::string > m_cutname
Definition: DisplacedJetPromptHypoTool.h:52
TrackParticle.h
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition: TrigComposite_v1.h:28
DisplacedJetPromptHypoTool::m_d0cut
Gaudi::Property< float > m_d0cut
Definition: DisplacedJetPromptHypoTool.h:46
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
DisplacedJetPromptHypoTool::Info::jet
const xAOD::Jet * jet
Definition: DisplacedJetPromptHypoTool.h:32
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HLTIdentifier.h
DisplacedJetPromptHypoTool::Info::tracks
std::vector< const xAOD::TrackParticle_v1 * > tracks
Definition: DisplacedJetPromptHypoTool.h:33
DisplacedJetPromptHypoTool::m_min_trk_pt
Gaudi::Property< float > m_min_trk_pt
Definition: DisplacedJetPromptHypoTool.h:45
AthAlgTool
Definition: AthAlgTool.h:26
DisplacedJetPromptHypoTool::Info::primary_vertex
const xAOD::Vertex * primary_vertex
Definition: DisplacedJetPromptHypoTool.h:34
DisplacedJetPromptHypoTool::decide
StatusCode decide(Info &info) const
Definition: DisplacedJetPromptHypoTool.cxx:24
DisplacedJetBeamspotInfo.h
DisplacedJetPromptHypoTool::m_min_jet_pt
Gaudi::Property< float > m_min_jet_pt
Definition: DisplacedJetPromptHypoTool.h:44
DisplacedJetPromptHypoTool::m_z0stcut
Gaudi::Property< float > m_z0stcut
Definition: DisplacedJetPromptHypoTool.h:47