ATLAS Offline Software
DisplacedJetDispHypoTool.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_DISP_HYPOTOOL_H
5 #define TRIGT2DJTRIG_DISP_HYPOTOOL_H
6 
7 #include "Gaudi/Property.h"
12 #include "xAODTracking/Vertex.h"
13 #include "xAODJet/Jet.h"
17 
18 class DisplacedJetDispHypoTool : virtual public ::AthAlgTool
19 {
20 public:
21 
22  DisplacedJetDispHypoTool( const std::string& type,
23  const std::string& name,
24  const IInterface* parent );
25 
26  virtual ~DisplacedJetDispHypoTool() = default;
27  virtual StatusCode initialize() override;
28 
29  struct Info {
32  const xAOD::Jet* jet;
37  };
38 
39  StatusCode decide( Info& info ) const;
40 
41  private:
42 
44  Gaudi::Property<float> m_min_trk_pt{this, "min_trk_pt",{0}, "Minimum pt for a track [GeV]"};
45  Gaudi::Property<float> m_d0cut{this, "trk_d0cut",{4}, "D0 cut applied to split prompt/displaced"};
46 
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 
50 
51  Gaudi::Property<int> m_maxprompt{this, "max_prompt_trk",{2}, "Max number of prompt tracks in a jet"};
52  Gaudi::Property<int> m_mindisp{this, "min_disp_trk",{3}, "Min number of disp tracks in a jet"};
53  Gaudi::Property<float> m_nother_frac{this, "nother_frac",{0.75}, "nother frac"};
54 
55  Gaudi::Property<std::string> m_cutname{this, "cut_name",{""}, "Name of cuts, used for decoration names"};
56 
57  Gaudi::Property<bool> m_usebeamspot{this, "use_beamspot",{true}, "Use beamspot info"};
58 
59  ToolHandle<GenericMonitoringTool> m_monTool{this,"MonTool","","Monitoring tool"};
60  };
61 
62  #endif //> !TRIGT2MINBIAS_TRACKCOUNTHYPOTOOL_H
grepfile.info
info
Definition: grepfile.py:38
DisplacedJetDispHypoTool::Info::counts
const xAOD::TrigComposite * counts
Definition: DisplacedJetDispHypoTool.h:35
Jet.h
DisplacedJetDispHypoTool::m_nother_frac
Gaudi::Property< float > m_nother_frac
Definition: DisplacedJetDispHypoTool.h:53
DisplacedJetDispHypoTool::m_d0sigcut
Gaudi::Property< float > m_d0sigcut
Definition: DisplacedJetDispHypoTool.h:48
DisplacedJetDispHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition: DisplacedJetDispHypoTool.h:43
DisplacedJetDispHypoTool::m_d0cut
Gaudi::Property< float > m_d0cut
Definition: DisplacedJetDispHypoTool.h:45
TrigCompositeUtils.h
DisplacedJetDispHypoTool::m_usebeamspot
Gaudi::Property< bool > m_usebeamspot
Definition: DisplacedJetDispHypoTool.h:57
DisplacedJetDispHypoTool::m_mindisp
Gaudi::Property< int > m_mindisp
Definition: DisplacedJetDispHypoTool.h:52
DisplacedJetDispHypoTool::m_cutname
Gaudi::Property< std::string > m_cutname
Definition: DisplacedJetDispHypoTool.h:55
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DisplacedJetDispHypoTool::DisplacedJetDispHypoTool
DisplacedJetDispHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: DisplacedJetDispHypoTool.cxx:13
DisplacedJetDispHypoTool::Info::lrt_tracks
const xAOD::TrackParticleContainer * lrt_tracks
Definition: DisplacedJetDispHypoTool.h:33
AthAlgTool.h
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
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
Vertex.h
HLT::Identifier
Definition: TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:20
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
DisplacedJetDispHypoTool::~DisplacedJetDispHypoTool
virtual ~DisplacedJetDispHypoTool()=default
DisplacedJetDispHypoTool::Info
Definition: DisplacedJetDispHypoTool.h:29
DisplacedJetBeamspotInfo
Definition: DisplacedJetBeamspotInfo.h:12
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
DisplacedJetDispHypoTool::Info::beamspot
DisplacedJetBeamspotInfo & beamspot
Definition: DisplacedJetDispHypoTool.h:36
DisplacedJetDispHypoTool::m_z0stcut
Gaudi::Property< float > m_z0stcut
Definition: DisplacedJetDispHypoTool.h:47
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
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HLTIdentifier.h
DisplacedJetDispHypoTool::Info::previousDecisionIDs
const TrigCompositeUtils::DecisionIDContainer previousDecisionIDs
Definition: DisplacedJetDispHypoTool.h:31
DisplacedJetDispHypoTool::Info::jet
const xAOD::Jet * jet
Definition: DisplacedJetDispHypoTool.h:32
DisplacedJetDispHypoTool::m_maxprompt
Gaudi::Property< int > m_maxprompt
Definition: DisplacedJetDispHypoTool.h:51
DisplacedJetDispHypoTool::decide
StatusCode decide(Info &info) const
Definition: DisplacedJetDispHypoTool.cxx:22
DisplacedJetDispHypoTool::Info::primary_vertex
const xAOD::Vertex * primary_vertex
Definition: DisplacedJetDispHypoTool.h:34
AthAlgTool
Definition: AthAlgTool.h:26
DisplacedJetDispHypoTool::initialize
virtual StatusCode initialize() override
Definition: DisplacedJetDispHypoTool.cxx:17
DisplacedJetBeamspotInfo.h
DisplacedJetDispHypoTool::m_min_trk_pt
Gaudi::Property< float > m_min_trk_pt
Definition: DisplacedJetDispHypoTool.h:44
DisplacedJetDispHypoTool::Info::decision
TrigCompositeUtils::Decision * decision
Definition: DisplacedJetDispHypoTool.h:30
DisplacedJetDispHypoTool
Definition: DisplacedJetDispHypoTool.h:19
AuxElement.h
Base class for elements of a container that can have aux data.
DisplacedJetDispHypoTool::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: DisplacedJetDispHypoTool.h:59