ATLAS Offline Software
MuonJetDrTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // MuonJetDrTool.h
8 #ifndef DERIVATIONFRAMEWORK_MuonJetDrTool_H
9 #define DERIVATIONFRAMEWORK_MuonJetDrTool_H
10 
11 // Gaudi & Athena basics
14 #include "GaudiKernel/ToolHandle.h"
17 #include "xAODJet/JetContainer.h"
18 #include "xAODMuon/MuonContainer.h"
19 
20 namespace DerivationFramework {
21  class MuonJetDrTool : public AthAlgTool, public IAugmentationTool {
22  public:
24  MuonJetDrTool(const std::string& t, const std::string& n, const IInterface* p);
25 
27  ~MuonJetDrTool() = default;
28 
29  virtual StatusCode addBranches() const override;
30  virtual StatusCode initialize() override;
31 
32  private:
33  SG::ReadHandleKey<xAOD::MuonContainer> m_muonSGKey{this, "ContainerKey", "Muons"};
34  SG::ReadHandleKey<xAOD::JetContainer> m_jetSGKey{this, "JetContainerKey", "AntiKt4EMTopoJets"};
35  SG::WriteDecorHandleKey<xAOD::MuonContainer> m_jetDR_SGKey{this, "dRDecoration", "DFCommonJetDr"};
36 
37  Gaudi::Property<float> m_jetMinPt{this, "JetMinPt", 20.e3, "Minimal pt cut of the jets to be considered"};
38  };
39 } // namespace DerivationFramework
40 #endif //
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
DerivationFramework::MuonJetDrTool::initialize
virtual StatusCode initialize() override
Definition: MuonJetDrTool.cxx:14
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
DerivationFramework::MuonJetDrTool::MuonJetDrTool
MuonJetDrTool(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Definition: MuonJetDrTool.cxx:11
IAugmentationTool.h
DerivationFramework::MuonJetDrTool::m_jetDR_SGKey
SG::WriteDecorHandleKey< xAOD::MuonContainer > m_jetDR_SGKey
Definition: MuonJetDrTool.h:35
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
DerivationFramework::MuonJetDrTool::m_jetSGKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetSGKey
Definition: MuonJetDrTool.h:34
DerivationFramework::MuonJetDrTool::m_jetMinPt
Gaudi::Property< float > m_jetMinPt
Definition: MuonJetDrTool.h:37
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
DerivationFramework::MuonJetDrTool::m_muonSGKey
SG::ReadHandleKey< xAOD::MuonContainer > m_muonSGKey
Definition: MuonJetDrTool.h:33
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DerivationFramework::MuonJetDrTool::addBranches
virtual StatusCode addBranches() const override
Pass the thinning service
Definition: MuonJetDrTool.cxx:21
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
MuonContainer.h
JetContainer.h
DerivationFramework::MuonJetDrTool
Definition: MuonJetDrTool.h:21
AthAlgTool
Definition: AthAlgTool.h:26
DerivationFramework::MuonJetDrTool::~MuonJetDrTool
~MuonJetDrTool()=default
Destructor.