ATLAS Offline Software
DisplacedJetPromptHypoAlg.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 TRIGDJPROMPTHYPOALG_H
5 #define TRIGDJPROMPTHYPOALG_H
6 
7 // Framework includes
14 #include "xAODJet/JetContainer.h"
16 #include <map>
17 #include "Gaudi/Property.h"
18 #include "AthViews/View.h"
19 
20 // STL includes
21 #include <string>
23 public:
24  DisplacedJetPromptHypoAlg(const std::string& name, ISvcLocator* pSvcLocator);
25 
26  virtual ~DisplacedJetPromptHypoAlg() = default;
27  virtual StatusCode initialize() override;
28  virtual StatusCode execute(const EventContext& context) const override;
29 
30 private:
32  ToolHandleArray< DisplacedJetPromptHypoTool > m_hypoTools {this, "HypoTools", {},"Tools that perform actual selection"};
33  SG::ReadHandleKey<xAOD::JetContainer> m_jetContainerKey{this,"jetContainerKey", "Undefined", ""};
35  SG::ReadHandleKey<xAOD::VertexContainer> m_vtxKey{this,"vtxKey","Undefined",""};
37 
38  Gaudi::Property<float> m_drcut{this, "dr_cut",{0.4}, "dR cut used for jet matching of trakcs"};
39  Gaudi::Property<float> m_min_trk_pt{this, "min_trk_pt",{0}, "Minimum pt for a track [GeV]"};
40 
41  SG::ReadCondHandleKey<InDet::BeamSpotData> m_beamSpotKey { this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot" };
42 };
43 #endif
DisplacedJetPromptHypoAlg::DisplacedJetPromptHypoAlg
DisplacedJetPromptHypoAlg()
DisplacedJetPromptHypoAlg::m_beamSpotKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
Definition: DisplacedJetPromptHypoAlg.h:41
DisplacedJetPromptHypoAlg::m_drcut
Gaudi::Property< float > m_drcut
Definition: DisplacedJetPromptHypoAlg.h:38
TrigCompositeUtils.h
DisplacedJetPromptHypoAlg::m_stdTracksKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_stdTracksKey
Definition: DisplacedJetPromptHypoAlg.h:34
DisplacedJetPromptHypoAlg::initialize
virtual StatusCode initialize() override
Definition: DisplacedJetPromptHypoAlg.cxx:28
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
DisplacedJetPromptHypoAlg::~DisplacedJetPromptHypoAlg
virtual ~DisplacedJetPromptHypoAlg()=default
DisplacedJetPromptHypoAlg::m_hypoTools
ToolHandleArray< DisplacedJetPromptHypoTool > m_hypoTools
Definition: DisplacedJetPromptHypoAlg.h:32
DisplacedJetPromptHypoAlg::m_min_trk_pt
Gaudi::Property< float > m_min_trk_pt
Definition: DisplacedJetPromptHypoAlg.h:39
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DisplacedJetPromptHypoAlg
Definition: DisplacedJetPromptHypoAlg.h:22
DisplacedJetPromptHypoAlg::m_jetContainerKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerKey
Definition: DisplacedJetPromptHypoAlg.h:33
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
TrigCompositeContainer.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
HypoBase
Hypothesis algorithms take the output of reco algorithms and the decision from the preceeding InputMa...
Definition: HypoBase.h:13
DisplacedJetPromptHypoAlg::m_countsKey
SG::WriteHandleKey< xAOD::TrigCompositeContainer > m_countsKey
Definition: DisplacedJetPromptHypoAlg.h:36
DisplacedJetPromptHypoAlg::execute
virtual StatusCode execute(const EventContext &context) const override
Definition: DisplacedJetPromptHypoAlg.cxx:41
SG::ReadCondHandleKey< InDet::BeamSpotData >
VertexContainer.h
JetContainer.h
DisplacedJetPromptHypoTool.h
HypoBase.h
DisplacedJetPromptHypoAlg::m_vtxKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vtxKey
Definition: DisplacedJetPromptHypoAlg.h:35
View.h
TrackParticleContainer.h