|
ATLAS Offline Software
|
#include <MuonCalibIntScaleSmearTool.h>
|
| MuonCalibIntScaleSmearTool (const std::string &name) |
|
virtual | ~MuonCalibIntScaleSmearTool ()=default |
|
virtual StatusCode | initialize () override |
| Dummy implementation of the initialisation function. More...
|
|
virtual CorrectionCode | applyCorrection (MCP::MuonObj &mu) const =0 |
| Declare the interface that the class provides. More...
|
|
virtual void | print () const =0 |
| Print the state of the tool. 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 | 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 |
|
|
StatusCode | calcSystematicVariation (const SystematicSet &systConfig, ParameterSetScaleSmear ¶m) const |
|
std::map< MCP::ScaleSmearParam, double > | getConstants (const MCP::TrackCalibObj &trk, const std::map< MCP::ScaleSmearParam, ScaleSmearCorrConstMap > &constants, const std::map< MCP::ScaleSmearParam, double > &direction) const |
|
double | getCorrectedPt (const MCP::MuonObj &mu, const MCP::TrackCalibObj &trk, const std::map< MCP::ScaleSmearParam, double > &calibConstant) const |
|
double | getSmearCorr (const MCP::MuonObj &mu, const MCP::TrackCalibObj &trk, double r0, double r1, double r2) const |
|
double | getCorrectedCBPtWithIDMSComb (const MCP::MuonObj &mu, const std::map< MCP::ScaleSmearParam, double > &calibIDConstant, const std::map< MCP::ScaleSmearParam, double > &calibMEConstant) const |
|
void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution More...
|
|
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. More...
|
|
|
SG::ReadHandleKey< xAOD::EventInfo > | m_eventInfo {this, "EventInfoContName", "EventInfo", "event info key"} |
|
Gaudi::Property< std::string > | m_release {this, "release", "Recs2024_05_06_Run2Run3", "Release"} |
|
Gaudi::Property< std::string > | m_sysScheme {this, "systematicScheme", "Corr_Scale", "Systematic scheme to be configured"} |
|
Gaudi::Property< bool > | m_doDirectCBCalib {this, "doDirectCBCalib", true, "Do direct calibration of CB tracks, otherwise, do ID+MS"} |
|
SystematicsCache< ParameterSetScaleSmear > | m_Parameters {this} |
|
const ParameterSetScaleSmear * | m_currentParameters {nullptr} |
|
std::map< MCP::DataYear, std::map< MCP::ScaleSmearParam, ScaleSmearCorrConstMap > > | m_IDparams |
|
std::map< MCP::DataYear, std::map< MCP::ScaleSmearParam, ScaleSmearCorrConstMap > > | m_MEparams |
|
std::map< MCP::DataYear, std::map< MCP::ScaleSmearParam, ScaleSmearCorrConstMap > > | m_CBparams |
|
std::map< MCP::DataYear, std::map< MCP::ExpectedResParam, std::shared_ptr< MCP::CalibContainer > > > | m_IDExpectedResparams |
|
std::map< MCP::DataYear, std::map< MCP::ExpectedResParam, std::shared_ptr< MCP::CalibContainer > > > | m_MEExpectedResparams |
|
|
virtual ASG_TOOL_CLASS3(MuonCalibIntScaleSmearTool, CP::IMuonCalibIntScaleSmearTool, CP::ISystematicsTool, CP::IReentrantSystematicsTool) public double | getExpectedResolution (const int &DetType, double pT, double eta, double phi, MCP::DataYear year, bool isData) const override |
| Declare the interface that the class provides. More...
|
|
virtual bool | isAffectedBySystematic (const SystematicVariation &systematic) const override |
| Declare the interface that this class provides. More...
|
|
virtual SystematicSet | affectingSystematics () const override |
| the list of all systematics this tool can be affected by More...
|
|
virtual SystematicSet | recommendedSystematics () const override |
| the list of all systematics this tool recommends to use More...
|
|
virtual StatusCode | applySystematicVariation (const SystematicSet &systConfig) override |
| effects: configure this tool for the given list of systematic variations. More...
|
|
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...
|
|
◆ ScaleSmearCorrConstMap
◆ StoreGateSvc_t
◆ MuonCalibIntScaleSmearTool()
CP::MuonCalibIntScaleSmearTool::MuonCalibIntScaleSmearTool |
( |
const std::string & |
name | ) |
|
◆ ~MuonCalibIntScaleSmearTool()
virtual CP::MuonCalibIntScaleSmearTool::~MuonCalibIntScaleSmearTool |
( |
| ) |
|
|
virtualdefault |
◆ affectingSystematics()
SystematicSet CP::MuonCalibIntScaleSmearTool::affectingSystematics |
( |
| ) |
const |
|
overrideprivatevirtual |
the list of all systematics this tool can be affected by
Scale Systematics
Implements CP::IReentrantSystematicsTool.
Definition at line 273 of file MuonCalibIntScaleSmearTool.cxx.
281 result.insert(SystematicVariation(
"MUON_CB", 1));
282 result.insert(SystematicVariation(
"MUON_CB", -1));
286 result.insert(SystematicVariation(
"MUON_ID", 1));
287 result.insert(SystematicVariation(
"MUON_ID", -1));
290 result.insert(SystematicVariation(
"MUON_MS", 1));
291 result.insert(SystematicVariation(
"MUON_MS", -1));
298 result.insert(SystematicVariation(
"MUON_SCALE", 1));
299 result.insert(SystematicVariation(
"MUON_SCALE", -1));
304 result.insert(SystematicVariation(
"MUON_SCALE_CB", 1));
305 result.insert(SystematicVariation(
"MUON_SCALE_CB", -1));
307 result.insert(SystematicVariation(
"MUON_SCALE_CB_ELOSS", 1));
308 result.insert(SystematicVariation(
"MUON_SCALE_CB_ELOSS", -1));
313 result.insert(SystematicVariation(
"MUON_SCALE_ID", 1));
314 result.insert(SystematicVariation(
"MUON_SCALE_ID", -1));
316 result.insert(SystematicVariation(
"MUON_SCALE_MS", 1));
317 result.insert(SystematicVariation(
"MUON_SCALE_MS", -1));
319 result.insert(SystematicVariation(
"MUON_SCALE_MS_ELOSS", 1));
320 result.insert(SystematicVariation(
"MUON_SCALE_MS_ELOSS", -1));
◆ applyCorrection()
Declare the interface that the class provides.
Apply the correction on a modifyable object
◆ applySystematicVariation()
StatusCode CP::MuonCalibIntScaleSmearTool::applySystematicVariation |
( |
const SystematicSet & |
systConfig | ) |
|
|
overrideprivatevirtual |
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::ISystematicsTool.
Definition at line 462 of file MuonCalibIntScaleSmearTool.cxx.
◆ calcSystematicVariation()
Definition at line 332 of file MuonCalibIntScaleSmearTool.cxx.
354 SystematicVariation syst = systConfig.getSystematicByBaseName(
"MUON_ID");
356 if (syst == SystematicVariation(
"MUON_ID", 1)) {
360 }
else if (syst == SystematicVariation(
"MUON_ID", -1)) {
364 }
else if (!syst.empty())
return StatusCode::FAILURE;
367 syst = systConfig.getSystematicByBaseName(
"MUON_MS");
369 if (syst == SystematicVariation(
"MUON_MS", 1)) {
373 }
else if (syst == SystematicVariation(
"MUON_MS", -1)) {
377 }
else if (!syst.empty())
return StatusCode::FAILURE;
380 syst = systConfig.getSystematicByBaseName(
"MUON_CB");
382 if (syst == SystematicVariation(
"MUON_CB", 1)) {
386 }
else if (syst == SystematicVariation(
"MUON_CB", -1)) {
390 }
else if (!syst.empty())
return StatusCode::FAILURE;
393 syst = systConfig.getSystematicByBaseName(
"MUON_SCALE");
395 if (syst == SystematicVariation(
"MUON_SCALE", 1)) {
405 }
else if (syst == SystematicVariation(
"MUON_SCALE", -1)) {
414 }
else if (!syst.empty())
return StatusCode::FAILURE;
417 syst = systConfig.getSystematicByBaseName(
"MUON_SCALE_ID");
419 if (syst == SystematicVariation(
"MUON_SCALE_ID", 1)) {
422 }
else if (syst == SystematicVariation(
"MUON_SCALE_ID", -1)) {
425 }
else if (!syst.empty())
return StatusCode::FAILURE;
427 syst = systConfig.getSystematicByBaseName(
"MUON_SCALE_MS");
429 if (syst == SystematicVariation(
"MUON_SCALE_MS", 1)) {
431 }
else if (syst == SystematicVariation(
"MUON_SCALE_MS", -1)) {
433 }
else if (!syst.empty())
return StatusCode::FAILURE;
435 syst = systConfig.getSystematicByBaseName(
"MUON_SCALE_MS_ELOSS");
437 if (syst == SystematicVariation(
"MUON_SCALE_MS_ELOSS", 1)) {
439 }
else if (syst == SystematicVariation(
"MUON_SCALE_MS_ELOSS", -1)) {
441 }
else if (!syst.empty())
return StatusCode::FAILURE;
443 syst = systConfig.getSystematicByBaseName(
"MUON_SCALE_CB");
445 if (syst == SystematicVariation(
"MUON_SCALE_CB", 1)) {
447 }
else if (syst == SystematicVariation(
"MUON_SCALE_CB", -1)) {
449 }
else if (!syst.empty())
return StatusCode::FAILURE;
451 syst = systConfig.getSystematicByBaseName(
"MUON_SCALE_CB_ELOSS");
453 if (syst == SystematicVariation(
"MUON_SCALE_CB_ELOSS", 1)) {
455 }
else if (syst == SystematicVariation(
"MUON_SCALE_CB_ELOSS", -1)) {
457 }
else if (!syst.empty())
return StatusCode::FAILURE;
459 return StatusCode::SUCCESS;
◆ 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()
◆ 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
◆ getConstants()
Definition at line 108 of file MuonCalibIntScaleSmearTool.cxx.
111 std::map<MCP::ScaleSmearParam, double> calibConstants;
116 const auto & contantList =
constants.at(param);
134 calibConstants[param] =
val;
137 return calibConstants;
◆ getCorrectedCBPtWithIDMSComb()
Definition at line 178 of file MuonCalibIntScaleSmearTool.cxx.
181 double weightID = 0.5;
182 double weightME = 0.5;
184 double deltaCBME =
mu.CB.calib_pt -
mu.ME.calib_pt;
185 double deltaCBID =
mu.CB.calib_pt -
mu.ID.calib_pt;
187 if (
mu.ME.calib_pt == 0)
192 else if (
mu.ID.calib_pt == 0)
197 else if (
mu.CB.calib_pt != 0)
199 if (std::abs(deltaCBME) > 0 || std::abs(deltaCBID) > 0)
201 double R = 1, Rplus = 1;
202 if (std::abs(deltaCBME) == std::abs(deltaCBID))
206 else if (std::abs(deltaCBME) != 0 &&
207 std::abs(deltaCBME) > std::abs(deltaCBID)) {
208 R = (-deltaCBID) / deltaCBME;
210 if (Rplus != 0 && R > 0) {
211 weightID = 1 / Rplus;
212 weightME =
R / Rplus;
215 else if (std::abs(deltaCBID) != 0 &&
216 std::abs(deltaCBME) < std::abs(deltaCBID)) {
217 R = (-deltaCBME) / (deltaCBID);
219 if (Rplus != 0 && R > 0) {
220 weightID =
R / Rplus;
221 weightME = 1 / Rplus;
227 if(weightID == 0.5 && weightME == 0.5)
229 double wME =
mu.ME.calib_pt /
mu.CB.calib_pt /
std::pow(
mu.expectedPercentResME, 2);
230 double wID =
mu.ID.calib_pt /
mu.CB.calib_pt /
std::pow(
mu.expectedPercentResID, 2);
231 weightID = wID / (wME + wID);
232 weightME = wME / (wME + wID);
239 double smearCorr = weightID * smearIDCorr + weightME * smearMECorr;
260 double pT =
mu.CB.calib_pt;
261 double corrpT = (
pT +
pT * scaleCB)/(1 + smearCorr);
◆ getCorrectedPt()
◆ getExpectedResolution()
double CP::MuonCalibIntScaleSmearTool::getExpectedResolution |
( |
const int & |
DetType, |
|
|
double |
pT, |
|
|
double |
eta, |
|
|
double |
phi, |
|
|
MCP::DataYear |
year, |
|
|
bool |
addMCCorrectionSmearing |
|
) |
| const |
|
overrideprivatevirtual |
Declare the interface that the class provides.
Apply the correction on a modifyable object
Implements CP::IMuonCalibIntScaleSmearTool.
Definition at line 468 of file MuonCalibIntScaleSmearTool.cxx.
485 if (
pT == 0)
return 1e12;
491 if(!addMCCorrectionSmearing)
517 if (
pT == 0)
return 1e12;
522 if(!addMCCorrectionSmearing)
527 if(p2Tan)
p2 = p2Tan;
534 if(p2Tan) expectedP2 = p2Tan;
542 if(p2Tan)
p2 =
p2 * std::sinh(eta) * std::sinh(eta);
◆ 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.
◆ getSmearCorr()
◆ initialize()
StatusCode CP::MuonCalibIntScaleSmearTool::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 23 of file MuonCalibIntScaleSmearTool.cxx.
33 for(
const auto &
year: MCP::dataYearList)
54 return StatusCode::FAILURE;
57 if (
registry.registerSystematics(*
this) != StatusCode::SUCCESS)
60 return StatusCode::FAILURE;
63 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()
◆ 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.
◆ 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()
SystematicSet CP::MuonCalibIntScaleSmearTool::recommendedSystematics |
( |
| ) |
const |
|
overrideprivatevirtual |
◆ renounce()
◆ renounceArray()
◆ 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.
◆ updateVHKA()
◆ m_CBparams
◆ m_currentParameters
◆ m_detStore
◆ m_doDirectCBCalib
Gaudi::Property<bool> CP::MuonCalibIntScaleSmearTool::m_doDirectCBCalib {this, "doDirectCBCalib", true, "Do direct calibration of CB tracks, otherwise, do ID+MS"} |
|
protected |
◆ m_eventInfo
◆ m_evtStore
◆ m_IDExpectedResparams
◆ m_IDparams
◆ m_MEExpectedResparams
◆ m_MEparams
◆ m_Parameters
◆ m_paramList
◆ m_release
Gaudi::Property<std::string> CP::MuonCalibIntScaleSmearTool::m_release {this, "release", "Recs2024_05_06_Run2Run3", "Release"} |
|
protected |
◆ m_sysScheme
Gaudi::Property<std::string> CP::MuonCalibIntScaleSmearTool::m_sysScheme {this, "systematicScheme", "Corr_Scale", "Systematic scheme to be configured"} |
|
protected |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
std::map< ExpectedResParam, std::shared_ptr< CalibContainer > > createExpectedResMap(DataYear dataYear, TrackType type, const std::string &recommendationPath)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
#define ATH_MSG_VERBOSE(x)
virtual void setOwner(IDataHandleHolder *o)=0
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
std::string toString(TrackType trkType)
const double r0
electron radius{cm}
const std::string & name(Level lvl)
Convenience function for translating message levels to strings.
double R(const INavigable4Momentum *p1, const double v_eta, const double v_phi)
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.
const double eta
Value of the track-eta.
std::map< ScaleResCorrection, std::shared_ptr< CalibContainer > > createScaleResCorrMap(DataYear dataYear, TrackType type, const std::string &recommendationPath, ScaleSmearParam param)
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
const TrackType type
Flag telling the code whether this is CB/ME/ID.
double calib_pt
Smeared track pt.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Basic object to cache all relevant information from the track.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
static SystematicRegistry & getInstance()
Get the singleton instance of the registry for the curren thread.