|
ATLAS Offline Software
|
#include <IsolationCorrectionTool.h>
|
virtual void | print () const =0 |
| Print the state of the tool. More...
|
|
virtual StatusCode | sysInitialize () |
| Function initialising the tool in the correct way in Athena. More...
|
|
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 | 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 |
|
|
virtual ASG_TOOL_CLASS3(IsolationCorrectionTool, IIsolationCorrectionTool, CP::ISystematicsTool, CP::IReentrantSystematicsTool) public | ~IsolationCorrectionTool () |
|
virtual StatusCode | initialize () override final |
|
virtual CP::CorrectionCode | applyCorrection (xAOD::Egamma &) override final |
|
virtual CP::CorrectionCode | CorrectLeakage (xAOD::Egamma &) override final |
|
virtual CP::CorrectionCode | correctedCopy (const xAOD::Egamma &, xAOD::Egamma *&) override final |
|
virtual CP::SystematicSet | affectingSystematics () const override final |
| the list of all systematics this tool can be affected by More...
|
|
virtual bool | isAffectedBySystematic (const CP::SystematicVariation &systematic) const override final |
| Declare the interface that this class provides. More...
|
|
virtual CP::SystematicSet | recommendedSystematics () const override final |
| the list of all systematics this tool recommends to use More...
|
|
virtual StatusCode | applySystematicVariation (const CP::SystematicSet &systConfig) override final |
| effects: configure this tool for the given list of systematic variations. More...
|
|
virtual float | GetPtCorrectedIsolation (const xAOD::Egamma &, xAOD::Iso::IsolationType) override |
|
virtual float | GetPtCorrection (const xAOD::Egamma &, xAOD::Iso::IsolationType) const override final |
|
virtual float | GetDDCorrection (const xAOD::Egamma &, xAOD::Iso::IsolationType) override final |
|
void | Print () |
|
float | GetEtaPointing (const xAOD::Egamma *input) |
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
Definition at line 24 of file IsolationCorrectionTool.h.
◆ MetaStore_t
◆ MetaStorePtr_t
Type of the metadata store pointer in standalone mode.
Definition at line 68 of file AsgMetadataTool.h.
◆ StoreGateSvc_t
◆ ~IsolationCorrectionTool()
CP::IsolationCorrectionTool::~IsolationCorrectionTool |
( |
| ) |
|
|
privatevirtual |
◆ affectingSystematics()
|
finaloverrideprivatevirtual |
◆ applyCorrection()
|
finaloverrideprivatevirtual |
Implements CP::IIsolationCorrectionTool.
Definition at line 209 of file IsolationCorrectionTool.cxx.
216 float topoetconecoreConeEnergyCorrection = 0;
222 ATH_MSG_WARNING(
"Could not find core57cells to apply SC based core correction");
225 ATH_MSG_VERBOSE(
"SC based core correction value: " << topoetconecoreConeEnergyCorrection);
226 SCsub = - topoetconecoreConeEnergyCorrection +
core57cells;
229 float centralDensity = 0.;
230 float forwardDensity = 0.;
243 for (
auto type : topoisolation_types) {
246 ATH_MSG_DEBUG(
"leakage correction not stored for isolation type " << xAOD::Iso::toCString(
type) <<
". Nothing done");
250 bool gotIso =
eg.isolationValue(oldiso,
type);
251 if (!gotIso)
continue;
255 unsigned int theRunNumber = 0 ;
260 if (randomrunnumber.isAvailable(*eventInfo)){
261 theRunNumber = randomrunnumber(*(eventInfo)) ;
266 if (theRunNumber >= 320000)
268 else if (theRunNumber > 0)
279 iso += (SCsub + oldleak);
284 iso += (oldleak - newleak);
290 float abseta = fabs(
eg.caloCluster()->etaBE(2));
291 float densityOldCorrection = 0.;
293 densityOldCorrection = centralDensity;
296 densityOldCorrection = forwardDensity;
299 static const float a_core = 5*7*0.025*TMath::Pi()/128;
300 float area = TMath::Pi()*dR*dR-a_core;
301 float oldpu_corr = densityOldCorrection*
area;
303 float pu_mc_corr = 0.;
307 iso = iso + oldpu_corr - newpu_corr + pu_mc_corr;
308 ATH_MSG_VERBOSE(
"Applying parametrized pileup correction to " <<
eg.type() <<
" with |eta|="<< abseta);
309 ATH_MSG_VERBOSE(
"Old parametrized pileup correction for "<<xAOD::Iso::toCString(
type)<<
": "<<oldpu_corr);
310 ATH_MSG_VERBOSE(
"New parametrized pileup correction for "<<xAOD::Iso::toCString(
type)<<
": "<<newpu_corr);
311 ATH_MSG_VERBOSE(
"Parametrized mc correction for "<<xAOD::Iso::toCString(
type)<<
": "<<pu_mc_corr);
312 ATH_MSG_VERBOSE(
"Isolation after new correction for "<<xAOD::Iso::toCString(
type)<<
": "<<iso);
313 ATH_MSG_VERBOSE(
"Isolation after old correction for "<<xAOD::Iso::toCString(
type)<<
": "<<iso+newpu_corr-oldpu_corr-pu_mc_corr);
320 decDDcor20(
eg) = ddcorr;
322 decDDcor40(
eg) = ddcorr;
325 bool setIso =
eg.setIsolationValue(iso,
type);
327 ATH_MSG_VERBOSE(
"oldeak = " << oldleak <<
" ddcor = " << ddcorr <<
" leak param = " << newleak
◆ applySystematicVariation()
|
finaloverrideprivatevirtual |
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). 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
Implements CP::IIsolationCorrectionTool.
Definition at line 386 of file IsolationCorrectionTool.cxx.
387 return StatusCode::SUCCESS;
◆ beginEvent()
StatusCode asg::AsgMetadataTool::beginEvent |
( |
| ) |
|
|
protectedvirtualinherited |
Function called when a new events is loaded.
Dummy implementation that can be overridden by the derived tool.
Reimplemented in AsgElectronEfficiencyCorrectionTool, TrigConf::xAODConfigTool, TauAnalysisTools::TauSelectionTool, TauAnalysisTools::DiTauSelectionTool, TauAnalysisTools::CommonSmearingTool, TauAnalysisTools::DiTauEfficiencyCorrectionsTool, Trig::TrigDecisionTool, TauAnalysisTools::TauEfficiencyCorrectionsTool, Trig::TrigConfBunchCrossingTool, xAODMaker::TriggerMenuMetaDataTool, and Trig::xAODBunchCrossingTool.
Definition at line 196 of file AsgMetadataTool.cxx.
199 return StatusCode::SUCCESS;
◆ beginInputFile()
StatusCode asg::AsgMetadataTool::beginInputFile |
( |
| ) |
|
|
protectedvirtualinherited |
Function called when a new input file is opened.
Dummy implementation that can be overridden by the derived tool.
Reimplemented in AsgElectronEfficiencyCorrectionTool, TrigConf::xAODConfigTool, PMGTools::PMGTruthWeightTool, BookkeeperTool, xAODMaker::FileMetaDataTool, BookkeeperDumperTool, Trig::TrigDecisionTool, xAODMaker::TriggerMenuMetaDataTool, xAODMaker::TruthMetaDataTool, Trig::xAODBunchCrossingTool, TauAnalysisTools::TauEfficiencyCorrectionsTool, and TauAnalysisTools::TauSmearingTool.
Definition at line 180 of file AsgMetadataTool.cxx.
183 return StatusCode::SUCCESS;
◆ correctedCopy()
|
finaloverrideprivatevirtual |
◆ CorrectLeakage()
|
finaloverrideprivatevirtual |
◆ 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]
◆ detStore()
◆ endInputFile()
StatusCode asg::AsgMetadataTool::endInputFile |
( |
| ) |
|
|
protectedvirtualinherited |
◆ 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
◆ GetDDCorrection()
|
finaloverrideprivatevirtual |
◆ GetEtaPointing()
◆ 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.
◆ GetPtCorrectedIsolation()
◆ GetPtCorrection()
|
finaloverrideprivatevirtual |
◆ handle()
void asg::AsgMetadataTool::handle |
( |
const Incident & |
inc | ) |
|
|
protectedvirtualinherited |
Function receiving incidents from IncidentSvc/TEvent.
Reimplemented in Trig::TrigDecisionTool.
Definition at line 130 of file AsgMetadataTool.cxx.
136 if( inc.type() == IncidentType::BeginInputFile ) {
140 throw std::runtime_error(
"Couldn't call beginInputFile()" );
142 }
else if( inc.type() == IncidentType::EndInputFile ) {
145 throw std::runtime_error(
"Couldn't call endInputFile()" );
147 }
else if( inc.type() == IncidentType::BeginEvent ) {
155 throw std::runtime_error(
"Couldn't call beginInputFile()" );
160 throw std::runtime_error(
"Couldn't call beginEvent()" );
163 #ifdef XAOD_STANDALONE
164 }
else if( inc.type() == IncidentType::MetaDataStop ) {
167 throw std::runtime_error(
"Couldn't call metaDataStop()" );
170 #endif // XAOD_STANDALONE
172 ATH_MSG_WARNING(
"Unknown incident type received in AsgMetaDataTool: " << inc.type() );
◆ initialize()
StatusCode CP::IsolationCorrectionTool::initialize |
( |
| ) |
|
|
finaloverrideprivatevirtual |
Implements CP::IIsolationCorrectionTool.
Definition at line 46 of file IsolationCorrectionTool.cxx.
58 std::vector < std::string > corrFileNameList;
63 for (
unsigned int i=0;
i<corrFileNameList.size(); ++
i ){
68 ATH_MSG_ERROR (
"Could NOT resolve file name " << corrFileNameList.at(
i) );
69 return StatusCode::FAILURE ;
85 return StatusCode::FAILURE;
88 if(TString(corrFileNameList[0]).Contains(
"isolation_ptcorrections_rel17_2.root") &&
m_tool_ver_str !=
"REL17_2"){
90 return StatusCode::FAILURE;
93 if (TString(corrFileNameList[0]).Contains(
"isolation_ptcorrections_rel20_2.root") && !(
m_tool_ver_str ==
"REL20_2" ||
m_tool_ver_str ==
"REL21" ) ){
95 return StatusCode::FAILURE;
97 if (TString(corrFileNameList[0]).Contains(
"isolation_ptcorrections_rel22_") &&
m_tool_ver_str !=
"REL22" ){
99 return StatusCode::FAILURE;
114 if(
registry.registerSystematics( *
this ) != StatusCode::SUCCESS )
return StatusCode::FAILURE;
135 return StatusCode::FAILURE ;
138 std::unique_ptr<TFile>
f(TFile::Open(
filename.c_str(),
"READ"));
149 return StatusCode::FAILURE ;
152 std::unique_ptr<TFile> f_corr(TFile::Open(
filename.c_str(),
"READ"));
◆ 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.
◆ inputMetaStore()
AsgMetadataTool::MetaStorePtr_t asg::AsgMetadataTool::inputMetaStore |
( |
| ) |
const |
|
inherited |
Accessor for the input metadata store.
Definition at line 88 of file AsgMetadataTool.cxx.
90 #ifdef XAOD_STANDALONE
92 #else // XAOD_STANDALONE
94 #endif // XAOD_STANDALONE
◆ isAffectedBySystematic()
|
finaloverrideprivatevirtual |
◆ metaDataStop()
StatusCode asg::AsgMetadataTool::metaDataStop |
( |
| ) |
|
|
protectedvirtualinherited |
◆ 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.
◆ outputMetaStore()
AsgMetadataTool::MetaStorePtr_t asg::AsgMetadataTool::outputMetaStore |
( |
| ) |
const |
|
inherited |
Accessor for the output metadata store.
Definition at line 97 of file AsgMetadataTool.cxx.
99 #ifdef XAOD_STANDALONE
101 #else // XAOD_STANDALONE
103 #endif // XAOD_STANDALONE
◆ Print()
void CP::IsolationCorrectionTool::Print |
( |
| ) |
|
|
inlineprivate |
◆ print() [1/2]
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.
◆ print() [2/2]
virtual void asg::IAsgTool::print |
( |
| ) |
const |
|
pure virtualinherited |
Print the state of the tool.
Implemented in JetRecTool, JetFinder, JetModifiedMassDrop, JetFromPseudojet, JetReclusterer, JetReclusteringTool, JetTruthLabelingTool, JetPileupLabelingTool, HI::HIPileupTool, asg::AsgTool, JetDumper, JetBottomUpSoftDrop, JetRecursiveSoftDrop, JetSoftDrop, JetConstituentsRetriever, JetSubStructureMomentToolsBase, JetSplitter, JetToolRunner, JetPruner, JetPseudojetRetriever, JetTrimmer, AsgHelloTool, and KtDeltaRTool.
◆ recommendedSystematics()
|
finaloverrideprivatevirtual |
◆ renounce()
◆ renounceArray()
◆ setUseIncidents()
void asg::AsgMetadataTool::setUseIncidents |
( |
const bool |
flag | ) |
|
|
inlineprotectedinherited |
◆ sysInitialize()
StatusCode asg::AsgMetadataTool::sysInitialize |
( |
| ) |
|
|
virtualinherited |
Function initialising the tool in the correct way in Athena.
This function is used to set up the callbacks from IncidentSvc in Athena at the right time during initialisation, without the user having to do anything special in his/her code.
Reimplemented from AthCommonDataStore< AthCommonMsg< AlgTool > >.
Definition at line 110 of file AsgMetadataTool.cxx.
112 #ifndef XAOD_STANDALONE
119 incSvc->addListener(
this, IncidentType::BeginEvent, 0,
false );
124 #endif // not XAOD_STANDALONE
127 return StatusCode::SUCCESS;
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_AFII_corr
bool CP::IsolationCorrectionTool::m_AFII_corr |
|
private |
◆ m_apply_dd
bool CP::IsolationCorrectionTool::m_apply_dd {} |
|
private |
◆ m_apply_ddDefault
bool CP::IsolationCorrectionTool::m_apply_ddDefault |
|
private |
◆ m_apply_etaEDParPU_corr
bool CP::IsolationCorrectionTool::m_apply_etaEDParPU_corr |
|
private |
◆ m_apply_etaEDParPU_mc_corr
bool CP::IsolationCorrectionTool::m_apply_etaEDParPU_mc_corr |
|
private |
◆ m_apply_SC_leak_corr
bool CP::IsolationCorrectionTool::m_apply_SC_leak_corr |
|
private |
◆ m_beginInputFileCalled
bool asg::AsgMetadataTool::m_beginInputFileCalled |
|
privateinherited |
Flag helping to discover when the tool misses the opening of the first input file.
Definition at line 126 of file AsgMetadataTool.h.
◆ m_centralEventShapeKey
Initial value:{
this,
"CentralEventShapeKey",
"TopoClusterIsoCentralEventShape",
""
}
Definition at line 80 of file IsolationCorrectionTool.h.
◆ m_corr_ddshift_file
std::string CP::IsolationCorrectionTool::m_corr_ddshift_file |
|
private |
◆ m_corr_ddsmearing_file
std::string CP::IsolationCorrectionTool::m_corr_ddsmearing_file |
|
private |
◆ m_corr_etaEDPar_mc_corr_file
std::string CP::IsolationCorrectionTool::m_corr_etaEDPar_mc_corr_file |
|
private |
◆ m_corr_etaEDParPU_file
std::string CP::IsolationCorrectionTool::m_corr_etaEDParPU_file |
|
private |
◆ m_corr_file
std::string CP::IsolationCorrectionTool::m_corr_file |
|
private |
◆ m_correct_etcone
bool CP::IsolationCorrectionTool::m_correct_etcone |
|
private |
◆ m_ddVersion
std::string CP::IsolationCorrectionTool::m_ddVersion |
|
private |
◆ m_detStore
◆ m_eventInfoKey
◆ m_evtStore
◆ m_forcePartType
bool CP::IsolationCorrectionTool::m_forcePartType |
|
private |
◆ m_forwardEventShapeKey
Initial value:{
this,
"ForwardEventShape",
"TopoClusterIsoForwardEventShape",
""
}
Definition at line 87 of file IsolationCorrectionTool.h.
◆ m_inputMetaStore
◆ m_is_mc
bool CP::IsolationCorrectionTool::m_is_mc |
|
private |
◆ m_isol_corr
◆ m_map_isotype_zeta_mc_corr
◆ m_map_isotype_zetaPU
◆ m_outputMetaStore
◆ m_systDDonoff
◆ m_tool_ver_str
std::string CP::IsolationCorrectionTool::m_tool_ver_str |
|
private |
◆ m_trouble_categories
bool CP::IsolationCorrectionTool::m_trouble_categories |
|
private |
◆ m_useIncidents
bool asg::AsgMetadataTool::m_useIncidents |
|
privateinherited |
◆ m_useLogLogFit
bool CP::IsolationCorrectionTool::m_useLogLogFit |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
void SetToolVer(CP::IsolationCorrection::Version)
bool getDensity(EventDensityID id, double &v) const
Get a density variable from the object.
@ topoetcone
Topo-cluster ET-sum.
@ topoetcone20
Topo-cluster ET-sum.
Electron_v1 Electron
Definition of the current "egamma version".
void SetTroubleCategories(bool trouble_categories)
@ coreEnergy
energy stored for this correction
@ ptCorrection
egamma ptcorrection
Helper class to provide type-safe access to aux data.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Class to wrap a set of SystematicVariations.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
float GetPtCorrection(const xAOD::Egamma &, const xAOD::Iso::IsolationType) const
#define ATH_MSG_VERBOSE(x)
void SetCorrectionFile(const std::string &corr_file, const std::string &corr_ddshift_file, const std::string &corr_ddsmearing_file)
virtual void setOwner(IDataHandleHolder *o)=0
float GetDDCorrection(const xAOD::Egamma &, const xAOD::Iso::IsolationType, const std::string &year)
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
@ core57cells
core 5x7 cells
@ Error
Some error happened during the object correction.
@ etcone20
Calorimeter isolation.
float GetPtCorrectedIsolation(const xAOD::Egamma &, const xAOD::Iso::IsolationType) const
MsgStream & msg() const
The standard message stream.
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)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Data class for event shapes.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
@ coreCone
core energy (in dR<0.1).
Class describing the basic event information.
Photon_v1 Photon
Definition of the current "egamma version".
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
@ Ok
The correction was done successfully.
void ForcePartType(bool b)
#define ATH_MSG_WARNING(x)
This module implements the central registry for handling systematic uncertainties with CP tools.
float GetEtaPointing(const xAOD::Egamma *)
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
void SetAFII(bool AFII_corr)
float coneSize(IsolationConeSize type)
convert Isolation Size into cone size
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
void SetDataMC(bool is_mc)
@ pileupCorrection
fully corrected
static SystematicRegistry & getInstance()
Get the singleton instance of the registry for the curren thread.