|
ATLAS Offline Software
|
#include <JetJvtEfficiency.h>
|
| JetJvtEfficiency (const std::string &name) |
|
virtual StatusCode | initialize () override |
| Dummy implementation of the initialisation function. More...
|
|
StatusCode | histInitialize () |
|
virtual CorrectionCode | getEfficiencyScaleFactor (const xAOD::Jet &jet, float &sf) override |
|
virtual CorrectionCode | getInefficiencyScaleFactor (const xAOD::Jet &jet, float &sf) override |
|
virtual CorrectionCode | applyEfficiencyScaleFactor (const xAOD::Jet &jet) override |
|
virtual CorrectionCode | applyInefficiencyScaleFactor (const xAOD::Jet &jet) override |
|
virtual CorrectionCode | applyAllEfficiencyScaleFactor (const xAOD::IParticleContainer *jets, float &sf) override |
|
virtual bool | passesJvtCut (const xAOD::Jet &jet) const override |
|
virtual bool | isInRange (const xAOD::Jet &jet) const override |
|
virtual StatusCode | decorate (const xAOD::JetContainer &jets) const override |
| Decorate a jet collection without otherwise modifying it. More...
|
|
virtual StatusCode | recalculateScores (const xAOD::JetContainer &jets) const override |
|
bool | isAffectedBySystematic (const CP::SystematicVariation &var) const override |
| returns: whether this tool is affected by the given systematic guarantee: no-fail More...
|
|
CP::SystematicSet | affectingSystematics () const override |
| returns: the list of all systematics this tool can be affected by guarantee: strong failures: out of memory II More...
|
|
CP::SystematicSet | recommendedSystematics () const override |
| returns: the list of all systematics this tool can be affected by guarantee: strong failures: out of memory II More...
|
|
StatusCode | applySystematicVariation (const CP::SystematicSet &set) override |
| effects: configure this tool for the given list of systematic variations. More...
|
|
StatusCode | sysApplySystematicVariation (const CP::SystematicSet &) override |
| effects: configure this tool for the given list of systematic variations. More...
|
|
float | getJvtThresh () const override |
|
float | getUserPtMax () const override |
|
StatusCode | tagTruth (const xAOD::IParticleContainer *jets, const xAOD::IParticleContainer *truthJets) override |
|
virtual void | print () const |
| Print the state of the tool. More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
const SystematicSet & | appliedSystematics () const |
| returns: the list of systematics that have been applied to this tool. More...
|
|
std::string | appliedSystematicsString () const |
| returns: a string representation of appliedSystematics() guarantee: strong failures: out of memory II rationale: this is meant to be used when printing out the applied systematics for debugging purposes (or when embedding them in a string). More...
|
|
void | testInvariant () const |
| effects: test the invariance of this object guarantee: no-fail More...
|
|
virtual StatusCode | modify (xAOD::JetContainer &jets) const override final |
| Concrete implementation of the function inherited from IJetModifier. More...
|
|
Definition at line 34 of file JetJvtEfficiency.h.
◆ StoreGateSvc_t
◆ JetJvtEfficiency() [1/2]
CP::JetJvtEfficiency::JetJvtEfficiency |
( |
const std::string & |
name | ) |
|
◆ JetJvtEfficiency() [2/2]
CP::JetJvtEfficiency::JetJvtEfficiency |
( |
| ) |
|
|
private |
◆ addAffectingSystematic()
effects: add a systematic to the list of registered systematics.
It will optionally also add this sytematic to the recommended set. side effects: this will add the systematic to the global list of systematics, if not already there guarantee: strong failures: out of memory II
Definition at line 111 of file SystematicsTool.cxx.
117 reg.registerSystematic( systematic );
121 return StatusCode::FAILURE;
124 return StatusCode::SUCCESS;
◆ addAffectingSystematics()
◆ addRecommendedSystematic()
effects: add a systematic to the list of recommended systematics failures: unsupported systematic
Definition at line 127 of file SystematicsTool.cxx.
134 if( reg.addSystematicToRecommended( systematic ) !=
135 StatusCode::SUCCESS ) {
136 return StatusCode::FAILURE;
138 return StatusCode::SUCCESS;
◆ addRecommendedSystematics()
StatusCode CP::SystematicsTool::addRecommendedSystematics |
( |
const SystematicSet & |
systematics | ) |
|
|
protectedinherited |
effects: add a SystematicSet to the recommended systematics.
Definition at line 151 of file SystematicsTool.cxx.
158 if( reg.addSystematicsToRecommended(
systematics ) !=
159 StatusCode::SUCCESS ) {
160 return StatusCode::FAILURE;
162 return StatusCode::SUCCESS;
◆ affectingSystematics()
returns: the list of all systematics this tool can be affected by guarantee: strong failures: out of memory II
Reimplemented from CP::SystematicsTool.
Definition at line 61 of file JetJvtEfficiency.h.
◆ appliedSystematics()
returns: the list of systematics that have been applied to this tool.
this is not including systematics that were applied, but do not affect this tool guarantee: no-fail
Definition at line 54 of file SystematicsTool.cxx.
58 std::cerr <<
"SystematicsTool::appliedSystematics WARNING: "
59 <<
"no systematic configuration has been applied yet. "
60 <<
"Returning NULL" << std::endl;
61 static const SystematicSet
dummy;
◆ appliedSystematicsString()
std::string CP::SystematicsTool::appliedSystematicsString |
( |
| ) |
const |
|
inherited |
returns: a string representation of appliedSystematics() guarantee: strong failures: out of memory II rationale: this is meant to be used when printing out the applied systematics for debugging purposes (or when embedding them in a string).
Definition at line 67 of file SystematicsTool.cxx.
◆ applyAllEfficiencyScaleFactor()
◆ applyEfficiencyScaleFactor()
◆ applyInefficiencyScaleFactor()
◆ applySystematicVariation()
effects: configure this tool for the given list of systematic variations.
any requested systematics that are not affecting this tool will be silently ignored (unless they cause other errors). guarantee: basic failures: out of memory II failures: systematic unknown failures: requesting multiple variations on the same systematic (e.g. up & down) failures: requesting an unsupported variation on an otherwise supported systematic (e.g. a 2 sigma variation and the tool only supports 1 sigma variations) failures: unsupported combination of supported systematic failures: other tool specific errors
Reimplemented from CP::SystematicsTool.
Definition at line 63 of file JetJvtEfficiency.h.
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ decorate()
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ extraDeps_update_handler()
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
◆ getEfficiencyScaleFactor()
◆ getInefficiencyScaleFactor()
◆ getJvtThresh()
float CP::JetJvtEfficiency::getJvtThresh |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getKey()
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
-
ptr | The 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.
121 #ifdef XAOD_STANDALONE
127 return (
proxy ==
nullptr ? 0 :
proxy->sgkey() );
128 #endif // XAOD_STANDALONE
◆ 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
-
ptr | The 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.
108 #ifdef XAOD_STANDALONE
114 static const std::string
dummy =
"";
116 #endif // XAOD_STANDALONE
◆ getProperty()
template<class T >
const T* asg::AsgTool::getProperty |
( |
const std::string & |
name | ) |
const |
|
inherited |
Get one of the tool's properties.
◆ getUserPtMax()
float CP::JetJvtEfficiency::getUserPtMax |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ histInitialize()
StatusCode CP::JetJvtEfficiency::histInitialize |
( |
| ) |
|
◆ initialize()
StatusCode CP::JetJvtEfficiency::initialize |
( |
| ) |
|
|
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 62 of file JetJvtEfficiency.cxx.
67 ATH_MSG_ERROR(
"Invalid Jvt tagger selected: " <<
m_tagger <<
"! Choose between CP::JvtTagger::NNJvt, CP::JvtTagger::fJvt and CP::JvtTagger::Jvt (deprecated).");
68 return StatusCode::FAILURE;
73 ATH_MSG_WARNING(
"Only AntiKt4EMPFlowJets are supported, use other jet collections at your own risk.");
77 #ifndef XAOD_STANDALONE
85 if (
m_wp !=
"Default")
91 if (
m_wp !=
"Default")
98 ATH_MSG_WARNING(
"Supplied SF file " <<
m_file <<
" doesn't seem to contain SFs for NNJvt, falling back to dummy SFs ...");
109 ATH_MSG_INFO(
"Configuring JetJvtEfficiency tool for NNJvt algorithm.");
116 if (
m_wp ==
"Default") {
m_wp =
"FixedEffPt"; }
118 if (
m_wp ==
"FixedEffPt") {
119 m_NNJvtCutFile =
"NNJVT.Cuts.FixedEffPt.Offline.Nonprompt_All_MaxW.json";
121 else if (
m_wp ==
"TightFwd") {
122 m_NNJvtCutFile =
"NNJVT.Cuts.TightFwd.Offline.Nonprompt_All_MaxWeight.json";
125 ATH_MSG_ERROR(
"Unkown NNJvt WP " <<
m_wp <<
", choose between FixedEffPt (Default) and TightFwd.");
126 return StatusCode::FAILURE;
136 m_NNJvtParamFile =
"NNJVT.Network.graph.Offline.Nonprompt_All_MaxWeight.json";
141 ATH_MSG_INFO(
"NNJvtTool is empty! Initializing default tool ");
146 ATH_CHECK(config_NNjvt.setProperty(
"SuppressInputDependence",
true));
159 ATH_MSG_INFO(
"Configuring JetJvtEfficiency tool for fJvt algorithm.");
175 ATH_MSG_INFO(
"Configuring JetJvtEfficiency tool for Jvt algorithm.");
176 ATH_MSG_WARNING(
"Jvt is deprecated in R22 and no calibrations will be provided, please move to NNJvt.");
195 if (
m_file.find(
"DummySF") != std::string::npos) {
203 return StatusCode::FAILURE;
214 return StatusCode::SUCCESS;
◆ inputHandles()
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.
◆ isAffectedBySystematic()
◆ isInRange()
◆ modify()
|
inlinefinaloverridevirtualinherited |
◆ msg() [1/2]
◆ msg() [2/2]
◆ 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.
◆ msgLvl()
◆ outputHandles()
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.
◆ passesJvtCut()
bool CP::JetJvtEfficiency::passesJvtCut |
( |
const xAOD::Jet & |
jet | ) |
const |
|
overridevirtual |
◆ print()
void asg::AsgTool::print |
( |
| ) |
const |
|
virtualinherited |
Print the state of the tool.
Implements asg::IAsgTool.
Reimplemented in JetRecTool, JetFinder, JetModifiedMassDrop, JetFromPseudojet, JetReclusterer, JetReclusteringTool, JetTruthLabelingTool, JetPileupLabelingTool, HI::HIPileupTool, JetDumper, JetBottomUpSoftDrop, JetRecursiveSoftDrop, JetSoftDrop, JetConstituentsRetriever, JetSubStructureMomentToolsBase, JetSplitter, JetToolRunner, JetPruner, JetPseudojetRetriever, JetTrimmer, AsgHelloTool, and KtDeltaRTool.
Definition at line 131 of file AsgTool.cxx.
◆ recalculateScores()
◆ recommendedSystematics()
returns: the list of all systematics this tool can be affected by guarantee: strong failures: out of memory II
Reimplemented from CP::SystematicsTool.
Definition at line 62 of file JetJvtEfficiency.h.
◆ renounce()
◆ renounceArray()
◆ sysApplySystematicVariation()
effects: configure this tool for the given list of systematic variations.
systConfig is guaranteed to contain only supported systematics. guarantee: basic failures: out of memory II failures: unsupported combination of supported systematics failures: other tool specific errors
Implements CP::SystematicsTool.
Definition at line 334 of file JetJvtEfficiency.cxx.
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ tagTruth()
Implements CP::IJetJvtEfficiency.
Definition at line 338 of file JetJvtEfficiency.cxx.
339 for(
const auto *
const jet : *
jets) {
342 for(
const auto *
const tjet : *truthJets) {
343 if (tjet->p4().DeltaR(
jet->p4())<0.3 && tjet->pt()>10
e3) ishs =
true;
344 if (tjet->p4().DeltaR(
jet->p4())<0.6) ispu =
false;
346 (*m_isHSDec)(*jet)=ishs;
349 return StatusCode::SUCCESS;
◆ testInvariant()
void CP::SystematicsTool::testInvariant |
( |
| ) |
const |
|
inherited |
effects: test the invariance of this object guarantee: no-fail
Definition at line 165 of file SystematicsTool.cxx.
◆ updateVHKA()
◆ m_affectingSystematics
description: members directly corresponding to accessors
Definition at line 146 of file SystematicsTool.h.
◆ m_appliedSystematics
description: pointer to currenty applied systematics
Definition at line 151 of file SystematicsTool.h.
◆ m_appliedSystEnum
◆ m_detStore
◆ m_doTruthRequirement
bool CP::JetJvtEfficiency::m_doTruthRequirement {} |
|
private |
◆ m_evtStore
◆ m_file
std::string CP::JetJvtEfficiency::m_file |
|
private |
◆ m_h_EffHist
std::unique_ptr<TH2> CP::JetJvtEfficiency::m_h_EffHist |
|
private |
◆ m_h_JvtHist
std::unique_ptr<TH2> CP::JetJvtEfficiency::m_h_JvtHist |
|
private |
◆ m_isHS_decoration_name
std::string CP::JetJvtEfficiency::m_isHS_decoration_name |
|
private |
◆ m_isHSAcc
◆ m_isHSDec
◆ m_jetContainerName
std::string CP::JetJvtEfficiency::m_jetContainerName |
|
private |
◆ m_jetEtaAcc
◆ m_jetEtaName
std::string CP::JetJvtEfficiency::m_jetEtaName |
|
private |
◆ m_jetJvtMomentName
std::string CP::JetJvtEfficiency::m_jetJvtMomentName |
|
private |
◆ m_jvtCut
float CP::JetJvtEfficiency::m_jvtCut {} |
|
private |
◆ m_jvtCutBorder
float CP::JetJvtEfficiency::m_jvtCutBorder {} |
|
private |
◆ m_jvtEffTool
◆ m_jvtSelTool
◆ m_maxPtForJvt
float CP::JetJvtEfficiency::m_maxPtForJvt {} |
|
private |
◆ m_NNJvtCutFile
std::string CP::JetJvtEfficiency::m_NNJvtCutFile |
|
private |
◆ m_NNJvtParamFile
std::string CP::JetJvtEfficiency::m_NNJvtParamFile |
|
private |
◆ m_NNJvtTool_handle
◆ m_ORdec
std::string CP::JetJvtEfficiency::m_ORdec |
|
private |
◆ m_passJvtDecName
std::string CP::JetJvtEfficiency::m_passJvtDecName |
|
private |
◆ m_passJvtKey
Initial value:{this, "PassJVTKey", "passJvt",
"SG key for passJvt decoration (including jet container name)"}
Definition at line 112 of file JetJvtEfficiency.h.
◆ m_passORAcc
◆ m_recommendedSystematics
◆ m_sf_decoration_name
std::string CP::JetJvtEfficiency::m_sf_decoration_name |
|
private |
◆ m_sfDec
◆ m_suppressOutputDependence
bool CP::JetJvtEfficiency::m_suppressOutputDependence {} |
|
private |
◆ m_systFilterMap
◆ m_tagger
int CP::JetJvtEfficiency::m_tagger {} |
|
private |
◆ m_taggingAlg
JvtTagger CP::JetJvtEfficiency::m_taggingAlg {} |
|
private |
◆ m_truthJetContName
std::string CP::JetJvtEfficiency::m_truthJetContName |
|
private |
◆ m_useDummySFs
bool CP::JetJvtEfficiency::m_useDummySFs {} |
|
private |
◆ m_useMuBinsSF
bool CP::JetJvtEfficiency::m_useMuBinsSF {} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_wp
std::string CP::JetJvtEfficiency::m_wp |
|
private |
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
bool m_doTruthRequirement
std::unique_ptr< SG::AuxElement::Decorator< float > > m_sfDec
SG::WriteDecorHandleKey< xAOD::JetContainer > m_passJvtKey
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
std::string m_passJvtDecName
StatusCode applySystematicVariation(const CP::SystematicSet &set) override
effects: configure this tool for the given list of systematic variations.
ToolHandle< IJvtEfficiencyTool > m_jvtEffTool
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)
SystApplied m_appliedSystEnum
Class to wrap a set of SystematicVariations.
ToolHandle< JetPileupTag::JetVertexNNTagger > m_NNJvtTool_handle
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
std::string name() const
returns: the systematics joined into a single string.
virtual CorrectionCode getEfficiencyScaleFactor(const xAOD::Jet &jet, float &sf) override
ToolHandle< IAsgSelectionTool > m_jvtSelTool
virtual void setOwner(IDataHandleHolder *o)=0
std::string m_NNJvtParamFile
std::string m_NNJvtCutFile
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
StatusCode tagTruth(const xAOD::IParticleContainer *jets, const xAOD::IParticleContainer *truthJets) override
@ OutOfValidityRange
Input object is out of validity range.
@ Error
Some error happened during the object correction.
std::string m_isHS_decoration_name
virtual bool passesJvtCut(const xAOD::Jet &jet) const override
std::unique_ptr< SG::AuxElement::ConstAccessor< char > > m_passORAcc
std::string m_jetContainerName
Handle class for adding a decoration to an object.
bool m_suppressOutputDependence
const std::string & name(Level lvl)
Convenience function for translating message levels to strings.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
std::unique_ptr< SG::AuxElement::ConstAccessor< char > > m_isHSAcc
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
std::unique_ptr< SG::AuxElement::ConstAccessor< float > > m_jetEtaAcc
void setTypeAndName(const std::string &val_typeAndName)
set type and name at the same time
void insert(const SystematicVariation &systematic)
description: insert a systematic into the set
std::unique_ptr< TH2 > m_h_EffHist
std::unique_ptr< SG::AuxElement::Decorator< char > > m_isHSDec
@ Ok
The correction was done successfully.
std::string m_truthJetContName
std::string m_jetJvtMomentName
virtual StatusCode decorate(const xAOD::JetContainer &jets) const =0
Decorate a jet collection without otherwise modifying it.
#define ATH_MSG_WARNING(x)
StatusCode setProperty(const std::string &name, const T &value)
set the given property
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
std::unique_ptr< TH2 > m_h_JvtHist
setBGCode setTAP setLVL2ErrorBits bool
#define RCU_READ_INVARIANT(x)
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
std::string m_sf_decoration_name
Jet_v1 Jet
Definition of the current "jet version".
virtual CorrectionCode getInefficiencyScaleFactor(const xAOD::Jet &jet, float &sf) override
static SystematicRegistry & getInstance()
Get the singleton instance of the registry for the curren thread.