ATLAS Offline Software
TauIDDecoratorWrapper.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef DERIVATIONFRAMEWORKTAU_TAUIDDECORATORWRAPPER_H
6 #define DERIVATIONFRAMEWORKTAU_TAUIDDECORATORWRAPPER_H
7 
16 
17 #include <string>
18 #include <vector>
19 
24 namespace DerivationFramework {
25 
27  public:
28  TauIDDecoratorWrapper(const std::string& t, const std::string& n, const IInterface* p);
29 
30  StatusCode initialize() override;
31  StatusCode finalize() override;
32  virtual StatusCode addBranches() const override;
33 
34  private:
35  SG::ReadHandleKey<xAOD::TauJetContainer> m_tauContainerKey { this, "TauContainerName", "TauJets", "Input tau container key" };
36  SG::ReadHandleKey<xAOD::VertexContainer> m_vtxContainerKey { this, "VertexContainerName", "PrimaryVertices", "Input PV container key" };
37  SG::WriteDecorHandleKeyArray<xAOD::TauJetContainer> m_decorKeys{ this, "DecorationKeys", {}, "List of decorations added to the tau"};
38 
39  ToolHandleArray<TauRecToolBase> m_tauIDTools { this, "TauIDTools", {}, "" };
40  bool m_doEvetoWP = false;
41  std::vector<std::string> m_scores;
42  std::vector<std::string> m_WPs;
43  };
44 }
45 
46 #endif // DERIVATIONFRAMEWORKTAU_TAUIDDECORATORWRAPPER_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DerivationFramework::TauIDDecoratorWrapper::TauIDDecoratorWrapper
TauIDDecoratorWrapper(const std::string &t, const std::string &n, const IInterface *p)
Definition: TauIDDecoratorWrapper.cxx:12
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
DerivationFramework::TauIDDecoratorWrapper::m_tauIDTools
ToolHandleArray< TauRecToolBase > m_tauIDTools
Definition: TauIDDecoratorWrapper.h:39
DerivationFramework::TauIDDecoratorWrapper::m_WPs
std::vector< std::string > m_WPs
Definition: TauIDDecoratorWrapper.h:42
IAugmentationTool.h
TauRecToolBase.h
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
DerivationFramework::TauIDDecoratorWrapper
Definition: TauIDDecoratorWrapper.h:26
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::TauIDDecoratorWrapper::m_doEvetoWP
bool m_doEvetoWP
Definition: TauIDDecoratorWrapper.h:40
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
ToolHandleArray.h
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework::TauIDDecoratorWrapper::m_vtxContainerKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vtxContainerKey
Definition: TauIDDecoratorWrapper.h:36
DerivationFramework::TauIDDecoratorWrapper::m_scores
std::vector< std::string > m_scores
Definition: TauIDDecoratorWrapper.h:41
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
TauJetContainer.h
DerivationFramework::TauIDDecoratorWrapper::initialize
StatusCode initialize() override
Definition: TauIDDecoratorWrapper.cxx:18
DerivationFramework::TauIDDecoratorWrapper::m_tauContainerKey
SG::ReadHandleKey< xAOD::TauJetContainer > m_tauContainerKey
Definition: TauIDDecoratorWrapper.h:35
DerivationFramework::TauIDDecoratorWrapper::m_decorKeys
SG::WriteDecorHandleKeyArray< xAOD::TauJetContainer > m_decorKeys
Definition: TauIDDecoratorWrapper.h:37
VertexContainer.h
WriteDecorHandleKeyArray.h
AthAlgTool
Definition: AthAlgTool.h:26
DerivationFramework::TauIDDecoratorWrapper::addBranches
virtual StatusCode addBranches() const override
Pass the thinning service
Definition: TauIDDecoratorWrapper.cxx:72
DerivationFramework::TauIDDecoratorWrapper::finalize
StatusCode finalize() override
Definition: TauIDDecoratorWrapper.cxx:67