ATLAS Offline Software
Loading...
Searching...
No Matches
BTaggingEfficiencyJsonTool Class Reference

#include <BTaggingEfficiencyJsonTool.h>

Inheritance diagram for BTaggingEfficiencyJsonTool:
Collaboration diagram for BTaggingEfficiencyJsonTool:

Classes

struct  sysData

Public Member Functions

 BTaggingEfficiencyJsonTool (const std::string &name)
virtual ~BTaggingEfficiencyJsonTool ()
StatusCode initialize () override
 Dummy implementation of the initialisation function.
virtual CP::CorrectionCode getScaleFactor (const xAOD::Jet &jet, float &scalefactor, const CP::SystematicSet &sys) const override
virtual CP::SystematicSet affectingSystematics () const override
 the list of all systematics this tool can be affected by
virtual CP::SystematicSet recommendedSystematics () const override
 the list of all systematics this tool recommends to use
virtual void print () const
 Print the state of the tool.
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysInitialize () override
 Perform system initialization for an algorithm.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const
Additional helper functions, not directly mimicking Athena
template<class T>
const T * getProperty (const std::string &name) const
 Get one of the tool's properties.
const std::string & msg_level_name () const __attribute__((deprecated))
 A deprecated function for getting the message level's name.
const std::string & getName (const void *ptr) const
 Get the name of an object that is / should be in the event store.
SG::sgkey_t getKey (const void *ptr) const
 Get the (hashed) key of an object that is in the event store.

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

StatusCode calcSystematicVariation (const CP::SystematicSet &systConfig, sysData &mySys) const
float getSFSys (const std::string &label, size_t bin_index) const
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

bool m_initialised
Gaudi::Property< std::string > m_taggerName {this, "TaggerName", "", "Tagging algorithm name"}
Gaudi::Property< std::string > m_OP {this, "OperatingPoint", "", "Operating point"}
Gaudi::Property< std::string > m_jetAuthor {this, "JetAuthor", "", "Jet collection"}
Gaudi::Property< std::string > m_json_config_path {this, "JsonConfigFile", "", "Path to JSON config file"}
Gaudi::Property< float > m_minPt {this, "MinPt", -1 , "Minimum jet pT cut (in MeV)"}
Gaudi::Property< float > m_maxEta {this, "MaxEta", 2.5, "Maximum jet eta cut"}
std::string m_truthlabel
json m_json_config
std::map< int, std::string > m_labelMap
std::map< std::string, std::vector< float > > m_ptMap
std::map< std::string, std::vector< float > > m_sfMap
std::map< std::string, std::map< std::string, std::vector< float > > > m_sysMap
CP::SystematicsCache< sysDatam_sysCache {this}
const sysDatam_currentSys {nullptr}
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default)
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Definition at line 15 of file BTaggingEfficiencyJsonTool.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ BTaggingEfficiencyJsonTool()

BTaggingEfficiencyJsonTool::BTaggingEfficiencyJsonTool ( const std::string & name)

Definition at line 10 of file BTaggingEfficiencyJsonTool.cxx.

10 :
11 asg::AsgTool ( name )
12{
13 m_initialised = false;
14}

◆ ~BTaggingEfficiencyJsonTool()

BTaggingEfficiencyJsonTool::~BTaggingEfficiencyJsonTool ( )
virtual

Definition at line 16 of file BTaggingEfficiencyJsonTool.cxx.

16 {
17}

Member Function Documentation

◆ affectingSystematics()

CP::SystematicSet BTaggingEfficiencyJsonTool::affectingSystematics ( ) const
overridevirtual

the list of all systematics this tool can be affected by

Implements CP::IReentrantSystematicsTool.

Definition at line 151 of file BTaggingEfficiencyJsonTool.cxx.

152{
153 CP::SystematicSet affectingSystematics;
154 affectingSystematics.insert(CP::SystematicVariation("BTagging_Xbb_SYST", 1));
155 affectingSystematics.insert(CP::SystematicVariation("BTagging_Xbb_SYST", -1));
156
158}
virtual CP::SystematicSet affectingSystematics() const override
the list of all systematics this tool can be affected by

◆ calcSystematicVariation()

StatusCode BTaggingEfficiencyJsonTool::calcSystematicVariation ( const CP::SystematicSet & systConfig,
sysData & mySys ) const
private

Definition at line 143 of file BTaggingEfficiencyJsonTool.cxx.

144{
145 CP::SystematicVariation syst = systConfig.getSystematicByBaseName("BTagging_Xbb_SYST");
146 sys.xbb_syst = syst.parameter();
147
148 return StatusCode::SUCCESS;
149}
SystematicVariation getSystematicByBaseName(const std::string &basename) const
description: get the first systematic matching basename
float parameter() const
description: the numeric parameter contained in the subvariation(), or 0 if the subvariation can't be...

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< AlgTool > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ getKey()

SG::sgkey_t asg::AsgTool::getKey ( const void * ptr) const
inherited

Get the (hashed) key of an object that is in the event store.

This is a bit of a special one. StoreGateSvc and xAOD::TEvent both provide ways for getting the SG::sgkey_t key for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.

In order to allow tools to efficiently perform this operation, they can use this helper function.

See also
asg::AsgTool::getName
Parameters
ptrThe bare pointer to the object that the event store should know about
Returns
The hashed key of the object in the store. If not found, an invalid (zero) key.

Definition at line 119 of file AsgTool.cxx.

119 {
120
121#ifdef XAOD_STANDALONE
122 // In case we use @c xAOD::TEvent, we have a direct function call
123 // for this.
124 return evtStore()->event()->getKey( ptr );
125#else
126 const SG::DataProxy* proxy = evtStore()->proxy( ptr );
127 return ( proxy == nullptr ? 0 : proxy->sgkey() );
128#endif // XAOD_STANDALONE
129 }
ServiceHandle< StoreGateSvc > & evtStore()

◆ getName()

const std::string & asg::AsgTool::getName ( const void * ptr) const
inherited

Get the name of an object that is / should be in the event store.

This is a bit of a special one. StoreGateSvc and xAOD::TEvent both provide ways for getting the std::string name for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.

In order to allow tools to efficiently perform this operation, they can use this helper function.

See also
asg::AsgTool::getKey
Parameters
ptrThe bare pointer to the object that the event store should know about
Returns
The string name of the object in the store. If not found, an empty string.

Definition at line 106 of file AsgTool.cxx.

106 {
107
108#ifdef XAOD_STANDALONE
109 // In case we use @c xAOD::TEvent, we have a direct function call
110 // for this.
111 return evtStore()->event()->getName( ptr );
112#else
113 const SG::DataProxy* proxy = evtStore()->proxy( ptr );
114 static const std::string dummy = "";
115 return ( proxy == nullptr ? dummy : proxy->name() );
116#endif // XAOD_STANDALONE
117 }

◆ getProperty()

template<class T>
const T * asg::AsgTool::getProperty ( const std::string & name) const
inherited

Get one of the tool's properties.

◆ getScaleFactor()

CP::CorrectionCode BTaggingEfficiencyJsonTool::getScaleFactor ( const xAOD::Jet & jet,
float & scalefactor,
const CP::SystematicSet & sys ) const
overridevirtual

Implements IBTaggingEfficiencyJsonTool.

Definition at line 88 of file BTaggingEfficiencyJsonTool.cxx.

89{
90 if (! m_initialised) {
91 throw std::runtime_error("BTaggingEfficiencyJsonTool has not been initialised.");
92 }
93
94 sf = 0.0;
95
96 SG::AuxElement::ConstAccessor<int> truthLabelAccessor( m_truthlabel );
97 int truthLabel = truthLabelAccessor( jet );
98 std::string labelString;
99 auto it = m_labelMap.find(truthLabel);
100 if (it != m_labelMap.end()) {
101 labelString = it->second;
102 } else {
103 ATH_MSG_WARNING("No calibration on jet with truthLabel: " << truthLabel << ". Returning scale factor of 0.");
105 }
106
107 const auto& pts = m_ptMap.at(labelString);
108 size_t bin_index = pts.size();
109 for (size_t i = 1; i < pts.size(); i++) {
110 if (jet.pt()/1000. < pts[i]) {
111 bin_index = i-1;
112 break;
113 }
114 }
115
116 const auto& SFs = m_sfMap.at(labelString);
117 if (bin_index >= SFs.size()) {
118 ATH_MSG_WARNING("No calibration for jet with pt: " << jet.pt()/1000. << ". Returning scale factor of 0.");
120 }
121
122 sf = SFs[bin_index];
123
124 sysData tempSys;
125 if (calcSystematicVariation(sys, tempSys) == StatusCode::SUCCESS && tempSys.xbb_syst != 0) {
126 sf += tempSys.xbb_syst * getSFSys(labelString, bin_index);
127 }
128
130}
#define ATH_MSG_WARNING(x)
std::map< std::string, std::vector< float > > m_ptMap
std::map< std::string, std::vector< float > > m_sfMap
float getSFSys(const std::string &label, size_t bin_index) const
StatusCode calcSystematicVariation(const CP::SystematicSet &systConfig, sysData &mySys) const
std::map< int, std::string > m_labelMap
@ OutOfValidityRange
Input object is out of validity range.
@ Ok
The correction was done successfully.
virtual double pt() const
The transverse momentum ( ) of the particle.
Definition Jet_v1.cxx:44

◆ getSFSys()

float BTaggingEfficiencyJsonTool::getSFSys ( const std::string & label,
size_t bin_index ) const
private

Definition at line 132 of file BTaggingEfficiencyJsonTool.cxx.

133{
134 float result = 0.0;
135 const auto& systematics = m_sysMap.at(labelString);
136 for (auto& [systematicName, values] : systematics){
137 float sys_value = values.at(bin_index);
138 result += sys_value*sys_value;
139 }
140 return std::sqrt(result);
141}
static const std::vector< std::string > systematics
std::map< std::string, std::map< std::string, std::vector< float > > > m_sysMap

◆ initialize()

StatusCode BTaggingEfficiencyJsonTool::initialize ( void )
overridevirtual

Dummy implementation of the initialisation function.

It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...

Reimplemented from asg::AsgTool.

Definition at line 19 of file BTaggingEfficiencyJsonTool.cxx.

20{
21 ATH_MSG_INFO("Initialize BTagging Efficiency Json Tool from: " + m_json_config_path);
22
23 std::string pathToJsonConfigFile = PathResolverFindCalibFile(m_json_config_path);
24 std::ifstream jsonFile(pathToJsonConfigFile);
25
26 if (!jsonFile.is_open()) {
27 ATH_MSG_ERROR( "JSON file " + m_json_config_path + " does not exist. Please put the correct path of the file." );
28 return StatusCode::FAILURE;
29 }
30 m_json_config = json::parse(jsonFile);
31 jsonFile.close();
32
33 if (m_taggerName.empty() || !m_json_config.contains(m_taggerName)){
34 ATH_MSG_ERROR( " Tagger " + m_taggerName + " not found in JSON file: " + m_json_config_path );
35 return StatusCode::FAILURE;
36 }
37
38 if (m_jetAuthor.empty() || !m_json_config[m_taggerName].contains(m_jetAuthor)){
39 ATH_MSG_ERROR( "Tagger: " +m_taggerName+ " and Jet Collection: " +m_jetAuthor+ " not found in JSON file: " +m_json_config_path );
40 return StatusCode::FAILURE;
41 }
42
43 if (m_OP.empty() || !m_json_config[m_taggerName][m_jetAuthor].contains(m_OP)){
44 ATH_MSG_ERROR( "OP " +m_OP+ " not available for " +m_taggerName+ " tagger.");
45 return StatusCode::FAILURE;
46 }
47
48 const auto& meta = m_json_config[m_taggerName][m_jetAuthor]["meta"];
49 m_truthlabel = meta["TruthLabel"];
50
51 // map truth labels to categories
52 for (auto& el : meta["labelMapping"].items()) {
53 std::string label = el.key();
54 for (const auto& num : el.value()) {
55 int key = num;
57 }
58 }
59
60 // preload pt bins, systematics and SFs for each category
61 auto& json_config_OP = m_json_config[m_taggerName][m_jetAuthor][m_OP];
62 for (auto& label : meta["labelMapping"].items()) {
63 std::string labelString = label.key();;
64
65 for (const auto& pt : json_config_OP[labelString]["pt"]) {
66 m_ptMap[labelString].push_back(BTaggingToolUtil::getExtendedFloat(pt));
67 }
68
69 m_sfMap[labelString] = json_config_OP[labelString]["nominal"].get<std::vector<float>>();
70 for (auto& [systematicName, values] : json_config_OP[labelString]["systematics"].items()){
71 m_sysMap[labelString][systematicName] = values.get<std::vector<float>>();
72 }
73 }
74
75 m_currentSys = nullptr;
77 [this](const CP::SystematicSet& systConfig, sysData& sys)
78 {return calcSystematicVariation(systConfig, sys);});
79 if (m_sysCache.get(CP::SystematicSet(), m_currentSys) != StatusCode::SUCCESS) {
80 ATH_MSG_ERROR("Failed to initialize systematic cache");
81 return StatusCode::FAILURE;
82 }
83
84 m_initialised = true;
85 return StatusCode::SUCCESS;
86}
#define ATH_MSG_ERROR(x)
#define ATH_MSG_INFO(x)
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
Gaudi::Property< std::string > m_jetAuthor
Gaudi::Property< std::string > m_OP
CP::SystematicsCache< sysData > m_sysCache
Gaudi::Property< std::string > m_taggerName
Gaudi::Property< std::string > m_json_config_path
static float getExtendedFloat(const nlohmann::json &pt)
std::string label(const std::string &format, int i)
Definition label.h:19

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< AlgTool > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ msg()

MsgStream & AthCommonMsg< AlgTool >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msg_level_name()

const std::string & asg::AsgTool::msg_level_name ( ) const
inherited

A deprecated function for getting the message level's name.

Instead of using this, weirdly named function, user code should get the string name of the current minimum message level (in case they really need it...), with:

MSG::name( msg().level() )

This function's name doesn't follow the ATLAS coding rules, and as such will be removed in the not too distant future.

Returns
The string name of the current minimum message level that's printed

Definition at line 101 of file AsgTool.cxx.

101 {
102
103 return MSG::name( msg().level() );
104 }
MsgStream & msg() const
const std::string & name(Level lvl)
Convenience function for translating message levels to strings.
Definition MsgLevel.cxx:19

◆ msgLvl()

bool AthCommonMsg< AlgTool >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< AlgTool > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ print()

◆ recommendedSystematics()

CP::SystematicSet BTaggingEfficiencyJsonTool::recommendedSystematics ( ) const
overridevirtual

the list of all systematics this tool recommends to use

Implements CP::IReentrantSystematicsTool.

Definition at line 160 of file BTaggingEfficiencyJsonTool.cxx.

161{
162 return affectingSystematics();
163}

◆ renounce()

std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > AthCommonDataStore< AthCommonMsg< AlgTool > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

Perform system initialization for an algorithm.

We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.

Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka

Member Data Documentation

◆ m_currentSys

const sysData* BTaggingEfficiencyJsonTool::m_currentSys {nullptr}
private

Definition at line 54 of file BTaggingEfficiencyJsonTool.h.

54{nullptr};

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_initialised

bool BTaggingEfficiencyJsonTool::m_initialised
private

Definition at line 33 of file BTaggingEfficiencyJsonTool.h.

◆ m_jetAuthor

Gaudi::Property<std::string> BTaggingEfficiencyJsonTool::m_jetAuthor {this, "JetAuthor", "", "Jet collection"}
private

Definition at line 37 of file BTaggingEfficiencyJsonTool.h.

37{this, "JetAuthor", "", "Jet collection"};

◆ m_json_config

json BTaggingEfficiencyJsonTool::m_json_config
private

Definition at line 44 of file BTaggingEfficiencyJsonTool.h.

◆ m_json_config_path

Gaudi::Property<std::string> BTaggingEfficiencyJsonTool::m_json_config_path {this, "JsonConfigFile", "", "Path to JSON config file"}
private

Definition at line 38 of file BTaggingEfficiencyJsonTool.h.

38{this, "JsonConfigFile", "", "Path to JSON config file"};

◆ m_labelMap

std::map<int, std::string> BTaggingEfficiencyJsonTool::m_labelMap
private

Definition at line 45 of file BTaggingEfficiencyJsonTool.h.

◆ m_maxEta

Gaudi::Property<float> BTaggingEfficiencyJsonTool::m_maxEta {this, "MaxEta", 2.5, "Maximum jet eta cut"}
private

Definition at line 41 of file BTaggingEfficiencyJsonTool.h.

41{this, "MaxEta", 2.5, "Maximum jet eta cut"};

◆ m_minPt

Gaudi::Property<float> BTaggingEfficiencyJsonTool::m_minPt {this, "MinPt", -1 , "Minimum jet pT cut (in MeV)"}
private

Definition at line 40 of file BTaggingEfficiencyJsonTool.h.

40{this, "MinPt", -1 /*MeV*/, "Minimum jet pT cut (in MeV)"};

◆ m_OP

Gaudi::Property<std::string> BTaggingEfficiencyJsonTool::m_OP {this, "OperatingPoint", "", "Operating point"}
private

Definition at line 36 of file BTaggingEfficiencyJsonTool.h.

36{this, "OperatingPoint", "", "Operating point"};

◆ m_ptMap

std::map<std::string, std::vector<float> > BTaggingEfficiencyJsonTool::m_ptMap
private

Definition at line 46 of file BTaggingEfficiencyJsonTool.h.

◆ m_sfMap

std::map<std::string, std::vector<float> > BTaggingEfficiencyJsonTool::m_sfMap
private

Definition at line 47 of file BTaggingEfficiencyJsonTool.h.

◆ m_sysCache

CP::SystematicsCache<sysData> BTaggingEfficiencyJsonTool::m_sysCache {this}
private

Definition at line 53 of file BTaggingEfficiencyJsonTool.h.

53{this};

◆ m_sysMap

std::map<std::string, std::map<std::string, std::vector<float> > > BTaggingEfficiencyJsonTool::m_sysMap
private

Definition at line 48 of file BTaggingEfficiencyJsonTool.h.

◆ m_taggerName

Gaudi::Property<std::string> BTaggingEfficiencyJsonTool::m_taggerName {this, "TaggerName", "", "Tagging algorithm name"}
private

Definition at line 35 of file BTaggingEfficiencyJsonTool.h.

35{this, "TaggerName", "", "Tagging algorithm name"};

◆ m_truthlabel

std::string BTaggingEfficiencyJsonTool::m_truthlabel
private

Definition at line 43 of file BTaggingEfficiencyJsonTool.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files: