ATLAS Offline Software
BTaggingInformationDecoratorAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 
9 #ifndef F_TAG_ANALYSIS_ALGORITHMS__B_TAGGING_INFORMATION_DECORATION_ALG_H
10 #define F_TAG_ANALYSIS_ALGORITHMS__B_TAGGING_INFORMATION_DECORATION_ALG_H
11 
19 #include <xAODJet/JetContainer.h>
21 
22 namespace CP
23 {
25  {
27  public:
29  StatusCode initialize () override;
30  StatusCode execute () override;
31 
32 
34  private:
36 
38  private:
39  ToolHandle<IBTaggingSelectionTool> m_selectionTool {this, "selectionTool", "", "the b-tagging selection tool"};
40 
42  private:
44  this, "jets", "", "the jets collection to run on"};
45 
47  private:
49  this, "preselection", "", "the preselection to apply"};
50 
52  private:
54 
56  private:
57  Gaudi::Property<std::string> m_taggerWeightDecoration {this, "taggerWeightDecoration", "", "the decoration for the tagger weight"};
58 
60  private:
61  std::unique_ptr<const SG::AuxElement::Decorator<float> > m_taggerWeightDecorator {};
62 
64  private:
65  Gaudi::Property<std::string> m_quantileDecoration {this, "quantileDecoration", "", "the decoration for the continuous WP quantile"};
66 
68  private:
69  std::unique_ptr<const SG::AuxElement::Decorator<int> > m_quantileDecorator {};
70  };
71 }
72 
73 #endif
OutOfValidityHelper.h
CP::BTaggingInformationDecoratorAlg::m_quantileDecoration
Gaudi::Property< std::string > m_quantileDecoration
the decoration for the b-tagging quantiles
Definition: BTaggingInformationDecoratorAlg.h:65
PropertyWrapper.h
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
SysWriteDecorHandle.h
CP::BTaggingInformationDecoratorAlg::m_taggerWeightDecoration
Gaudi::Property< std::string > m_taggerWeightDecoration
the decoration for the b-tagging weight
Definition: BTaggingInformationDecoratorAlg.h:57
CP::OutOfValidityHelper
a helper to translate a CP::CorrectionCode into a ::StatusCode
Definition: OutOfValidityHelper.h:73
SysListHandle.h
CP::BTaggingInformationDecoratorAlg::m_quantileDecorator
std::unique_ptr< const SG::AuxElement::Decorator< int > > m_quantileDecorator
the decorator for m_quantileDecoration
Definition: BTaggingInformationDecoratorAlg.h:69
CP::SysReadHandle< xAOD::JetContainer >
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition: AnaAlgorithm.cxx:40
CP::BTaggingInformationDecoratorAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition: BTaggingInformationDecoratorAlg.h:48
CP::BTaggingInformationDecoratorAlg::m_selectionTool
ToolHandle< IBTaggingSelectionTool > m_selectionTool
the selection tool
Definition: BTaggingInformationDecoratorAlg.h:39
SysReadHandle.h
CP::BTaggingInformationDecoratorAlg::initialize
StatusCode initialize() override
Definition: BTaggingInformationDecoratorAlg.cxx:23
AnaAlgorithm.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
IBTaggingSelectionTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::BTaggingInformationDecoratorAlg::execute
StatusCode execute() override
Definition: BTaggingInformationDecoratorAlg.cxx:52
CP::BTaggingInformationDecoratorAlg::m_taggerWeightDecorator
std::unique_ptr< const SG::AuxElement::Decorator< float > > m_taggerWeightDecorator
the decorator for m_taggerWeightDecoration
Definition: BTaggingInformationDecoratorAlg.h:61
SysReadSelectionHandle.h
CP::BTaggingInformationDecoratorAlg::m_outOfValidity
OutOfValidityHelper m_outOfValidity
the helper for OutOfValidity results
Definition: BTaggingInformationDecoratorAlg.h:53
CP::BTaggingInformationDecoratorAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: BTaggingInformationDecoratorAlg.h:35
CP::BTaggingInformationDecoratorAlg::m_jetHandle
SysReadHandle< xAOD::JetContainer > m_jetHandle
the jets continer we run on
Definition: BTaggingInformationDecoratorAlg.h:43
JetContainer.h
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::BTaggingInformationDecoratorAlg
Definition: BTaggingInformationDecoratorAlg.h:25