ATLAS Offline Software
JetHistoMatchedFiller.h
Go to the documentation of this file.
1 // this file is -*- C++ -*-
2 /*
3  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
4 */
5 
6 #ifndef JETMATCHEDFILLER_H
7 #define JETMATCHEDFILLER_H
8 
10 
13 
16 
17 class JetHistoMatchedFiller : public AthAlgTool, virtual public IJetHistoFiller {
18 public:
19  JetHistoMatchedFiller( const std::string& type, const std::string & name ,const IInterface* parent);
20 
21  virtual StatusCode initialize() ;
22  virtual StatusCode processJetContainer(const JetMonitoringAlg& parentAlg, const xAOD::JetContainer & jets, const EventContext& ctx) const;
23 
24 private:
25 
26  Gaudi::Property<std::string> m_group {this,"Group", "undefined"};
27  SG::ReadDecorHandleKey<xAOD::JetContainer> m_matchedKey{this, "matched", "matched", "SG key for input matched decoration"};
28  SG::ReadDecorHandleKey<xAOD::JetContainer> m_ptdiffKey{this, "ptdiff", "ptdiff", "SG key for input matched ptdiff decoration"};
29  SG::ReadDecorHandleKey<xAOD::JetContainer> m_energydiffKey{this, "energydiff", "energydiff", "SG key for input matched energydiff decoration"};
30  SG::ReadDecorHandleKey<xAOD::JetContainer> m_massdiffKey{this, "massdiff", "massdiff", "SG key for input matched massdiff decoration"};
31  SG::ReadDecorHandleKey<xAOD::JetContainer> m_ptrespKey{this, "ptresp", "ptresp", "SG key for input matched ptresp decoration"};
32  SG::ReadDecorHandleKey<xAOD::JetContainer> m_energyrespKey{this, "energyresp", "energyresp", "SG key for input matched energyresp decoration"};
33  SG::ReadDecorHandleKey<xAOD::JetContainer> m_massrespKey{this, "massresp", "massresp", "SG key for input matched massresp decoration"};
34  SG::ReadDecorHandleKey<xAOD::JetContainer> m_ptrefKey{this, "ptref", "ptref", "SG key for input matched ptref decoration"};
35  SG::ReadDecorHandleKey<xAOD::JetContainer> m_etarefKey{this, "etaref", "etaref", "SG key for input matched etaref decoration"};
36 
37 };
38 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
JetHistoVarTool.h
JetHistoMatchedFiller
Definition: JetHistoMatchedFiller.h:17
JetHistoMatchedFiller::processJetContainer
virtual StatusCode processJetContainer(const JetMonitoringAlg &parentAlg, const xAOD::JetContainer &jets, const EventContext &ctx) const
Definition: JetHistoMatchedFiller.cxx:40
JetHistoMatchedFiller::m_ptdiffKey
SG::ReadDecorHandleKey< xAOD::JetContainer > m_ptdiffKey
Definition: JetHistoMatchedFiller.h:28
JetHistoMatchedFiller::m_group
Gaudi::Property< std::string > m_group
Definition: JetHistoMatchedFiller.h:26
JetHistoMatchedFiller::m_ptrefKey
SG::ReadDecorHandleKey< xAOD::JetContainer > m_ptrefKey
Definition: JetHistoMatchedFiller.h:34
JetHistoMatchedFiller::m_energydiffKey
SG::ReadDecorHandleKey< xAOD::JetContainer > m_energydiffKey
Definition: JetHistoMatchedFiller.h:29
JetHistoMatchedFiller::m_ptrespKey
SG::ReadDecorHandleKey< xAOD::JetContainer > m_ptrespKey
Definition: JetHistoMatchedFiller.h:31
JetHistoMatchedFiller::m_massdiffKey
SG::ReadDecorHandleKey< xAOD::JetContainer > m_massdiffKey
Definition: JetHistoMatchedFiller.h:30
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
JetHistoMatchedFiller::JetHistoMatchedFiller
JetHistoMatchedFiller(const std::string &type, const std::string &name, const IInterface *parent)
Definition: JetHistoMatchedFiller.cxx:10
JetHistoMatchedFiller::m_massrespKey
SG::ReadDecorHandleKey< xAOD::JetContainer > m_massrespKey
Definition: JetHistoMatchedFiller.h:33
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
JetHistoMatchedFiller::m_etarefKey
SG::ReadDecorHandleKey< xAOD::JetContainer > m_etarefKey
Definition: JetHistoMatchedFiller.h:35
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
IJetHistoFiller.h
JetMonitoringAlg
Definition: JetMonitoringAlg.h:26
IJetHistoFiller
Definition: IJetHistoFiller.h:24
JetHistoMatchedFiller::m_matchedKey
SG::ReadDecorHandleKey< xAOD::JetContainer > m_matchedKey
Definition: JetHistoMatchedFiller.h:27
JetHistoMatchedFiller::initialize
virtual StatusCode initialize()
Definition: JetHistoMatchedFiller.cxx:26
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
defineDB.jets
list jets
Definition: JetTagCalibration/share/defineDB.py:24
AthAlgTool
Definition: AthAlgTool.h:26
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition: StoreGate/StoreGate/ReadDecorHandleKey.h:85
JetHistoMatchedFiller::m_energyrespKey
SG::ReadDecorHandleKey< xAOD::JetContainer > m_energyrespKey
Definition: JetHistoMatchedFiller.h:32