|
ATLAS Offline Software
|
#include <MuonCalibTool.h>
|
| MuonCalibTool (const std::string &name) |
|
virtual | ~MuonCalibTool ()=default |
|
virtual StatusCode | initialize () override |
| Dummy implementation of the initialisation function. 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 |
|
|
SG::ReadHandleKey< xAOD::EventInfo > | m_eventInfo {this, "EventInfoContName", "EventInfo", "event info key"} |
|
Gaudi::Property< bool > | m_isRun3 {this, "IsRun3Geo", false, "Needed for MuonSelectionTool"} |
|
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_validationMode {this, "expert_validationMode", false, "Expert only option. Puts the tool in the validation mode setup"} |
|
Gaudi::Property< bool > | m_expertMode_isData {this, "expertMode_isData", false, "Expert only option. Overwrites the isData Flag"} |
|
Gaudi::Property< int > | m_expertMode_RunNumber {this, "expertMode_RunNumber", 0, "Expert only option. Overwrites RunNumber"} |
|
Gaudi::Property< unsigned long long > | m_expertMode_EvtNumber {this, "expertMode_EvtNumber", 0, "Expert only option. Overwrites EventNumber"} |
|
Gaudi::Property< bool > | m_useRndRun {this, "useRandomRunNumber", false, "To use the random run number for deciding which calibration to apply"} |
|
Gaudi::Property< int > | m_calibMode {this, "calibMode", -1, "Calib mode"} |
|
Gaudi::Property< bool > | m_excludeNSWFromPrecisionLayers {this, "ExcludeNSWFromPrecisionLayers", false, "Cut on the number of precision layers ignores the NSW"} |
|
Gaudi::Property< bool > | m_doDirectCBCalib {this, "doDirectCBCalib", true, "Do direct calibration of CB tracks, otherwise, do ID+MS"} |
|
Gaudi::Property< bool > | m_doEtaSagittaSys {this, "doEtaSagittaSys", false, "Do Eta dependant systematic system"} |
|
Gaudi::Property< bool > | m_applyCorrectionOnData {this, "applyCorrectionOnData", true, "If to apply sagitta corrections on data, or take the full effect as systematic"} |
|
Gaudi::Property< bool > | m_2stations_highpt_smearing {this, "do2StationsHighPt", false, "Extra smearing to be applied if high pT WP is used"} |
|
Gaudi::Property< bool > | m_extra_highpt_smearing {this, "doExtraSmearing", false, "Flag provided to test if analysis are sensitive to high pT calibration. NOT TO BE USED FOR RESULTS. Please see twiki"} |
|
Gaudi::Property< float > | m_HighPtSystThreshold {this, "HighPtSystThr", 300.0, "Thershold for high pT smearing in GeV"} |
|
asg::AnaToolHandle< CP::IMuonSelectionTool > | m_MuonSelectionTool {""} |
|
asg::AnaToolHandle< CP::IMuonCalibIntTool > | m_MuonIntSagittaTool {""} |
|
asg::AnaToolHandle< CP::IMuonCalibIntScaleSmearTool > | m_MuonIntScaleSmearTool {""} |
|
asg::AnaToolHandle< CP::IMuonCalibIntTool > | m_MuonIntHighTSmearTool {""} |
|
|
virtual ASG_TOOL_CLASS3(MuonCalibTool, CP::IMuonCalibrationAndSmearingTool, CP::ISystematicsTool, CP::IReentrantSystematicsTool) public CorrectionCode | applyCorrection (xAOD::Muon &mu) const override |
| Declare the interface that the class provides. More...
|
|
virtual CorrectionCode | correctedCopy (const xAOD::Muon &input, xAOD::Muon *&output) const override |
| Create a corrected copy from a constant muon. 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...
|
|
virtual double | expectedResolution (const std::string &DetType, const xAOD::Muon &mu, const bool addMCCorrectionSmearing) const override |
| Get the expected pT resolution. More...
|
|
virtual double | expectedResolution (const int &DetType, const xAOD::Muon &mu, const bool addMCCorrectionSmearing) const override |
| Get the expected pT resolution - int argument is more efficient. More...
|
|
virtual CorrectionCode | applyCorrectionTrkOnly (xAOD::TrackParticle &inTrk, const int DetType) const override |
|
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 MuonCalibTool.h.
◆ StoreGateSvc_t
◆ MuonCalibTool()
CP::MuonCalibTool::MuonCalibTool |
( |
const std::string & |
name | ) |
|
These properties are meant to be expert properties for debugging of the code and shall not touched by the common
Definition at line 18 of file MuonCalibTool.cxx.
◆ ~MuonCalibTool()
virtual CP::MuonCalibTool::~MuonCalibTool |
( |
| ) |
|
|
virtualdefault |
◆ affectingSystematics()
◆ applyCorrection()
Declare the interface that the class provides.
Apply the correction on a modifyable object
Implements CP::IMuonCalibrationAndSmearingTool.
Definition at line 129 of file MuonCalibTool.cxx.
131 ATH_MSG_VERBOSE(
"Muon Type = " <<
mu.muonType() <<
" ( 0: Combined, 1: StandAlone, 2: SegmentTagged, 3: CaloTagged, 4: SiliconAssociatedForwardMuon)");
178 ATH_MSG_DEBUG(
"Checking Output Muon Info for data - Pt_ID: " << acc_id_pt(
mu));
179 ATH_MSG_DEBUG(
"Checking Output Muon Info for data - Pt_MS: " << acc_me_pt(
mu));
180 ATH_MSG_DEBUG(
"Checking Output Muon Info for data - Pt_CB: " <<
mu.pt());
190 if ((
mu.muonType() != xAOD::Muon::SiliconAssociatedForwardMuon))
◆ applyCorrectionTrkOnly()
◆ applySystematicVariation()
StatusCode CP::MuonCalibTool::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 299 of file MuonCalibTool.cxx.
303 if(
code != StatusCode::SUCCESS)
return code;
306 if(
code != StatusCode::SUCCESS)
return code;
310 if(
code != StatusCode::SUCCESS)
return code;
◆ convertToMuonObj() [1/2]
Definition at line 404 of file MuonCalibTool.cxx.
422 double Primary_eta =
mu.eta();
423 double Primary_phi =
mu.phi();
459 const xAOD::TrackParticle *ME_track =
mu.trackParticle(xAOD::Muon::ExtrapolatedMuonSpectrometerTrackParticle);
462 if (
mu.muonType() == xAOD::Muon::SiliconAssociatedForwardMuon)
◆ convertToMuonObj() [2/2]
◆ correctedCopy()
◆ 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]
◆ expectedResolution() [1/2]
◆ expectedResolution() [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
◆ 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
◆ getPeriod()
Definition at line 537 of file MuonCalibTool.cxx.
546 constexpr
unsigned int last_run_16 = 320000;
547 constexpr
unsigned int last_run_17 = 342000;
548 constexpr
unsigned int last_run_18 = 370000;
549 constexpr
unsigned int last_run_22 = 440614;
550 constexpr
unsigned int last_run_23 = 456750;
551 constexpr
unsigned int last_run_24 = 999999;
553 static const std::set<int> MCperiods1516{284500};
554 static const std::set<int> MCperiods17{300000, 304000, 305000};
555 static const std::set<int> MCperiods18{310000};
556 static const std::set<int> MCperiods22{330000, 410000};
557 static const std::set<int> MCperiods23{450000};
558 static const std::set<int> MCperiods24{470000};
560 static const std::set<int> MCperiodsRun4{350000, 350060, 350140, 350200};
564 unsigned int run = 0;
566 else run = evtInfo->runNumber();
569 if (acc_rnd.isAvailable(*evtInfo))
570 run = acc_rnd(*evtInfo);
573 "No random runnumber could be found although the tool is configured to assign the years based on it. Please make sure "
574 "to apply the prwTool before-hand or consider to set the property 'useRandomRunNumber' to false.");
579 if (!isData && (!
m_useRndRun || !acc_rnd.isAvailable(*evtInfo))) {
580 if (MCperiods1516.count(
run)) {
581 ATH_MSG_DEBUG(
"The current run " <<
run <<
" corresponds to data mc20a / data15-16");
583 }
else if (MCperiods17.count(
run)) {
584 ATH_MSG_DEBUG(
"The current run " <<
run <<
" corresponds to data mc20d / data17");
586 }
else if (MCperiods18.count(
run)) {
587 ATH_MSG_DEBUG(
"The current run " <<
run <<
" corresponds to data mc20e / data18");
589 }
else if (MCperiods22.count(
run)) {
590 ATH_MSG_DEBUG(
"The current run " <<
run <<
" corresponds to data mc21 / mc23a / data22");
592 }
else if (MCperiods23.count(
run)) {
593 ATH_MSG_DEBUG(
"The current run " <<
run <<
" corresponds to data mc23c / mc23d / data23");
595 }
else if (MCperiods24.count(
run)) {
596 ATH_MSG_DEBUG(
"The current run " <<
run <<
" corresponds to data mc23e / data24");
598 }
else if (MCperiodsRun4.count(
run)) {
606 if (
run < last_run_16) {
609 }
else if (
run <= last_run_17) {
612 }
else if (
run <= last_run_18) {
615 }
else if (
run <= last_run_22) {
618 }
else if (
run < last_run_23) {
621 }
else if (
run < last_run_24) {
626 static std::atomic<bool> warningPrinted {
false};
627 if (!warningPrinted) {
628 ATH_MSG_WARNING(
"Could not assign run-number " <<
run <<
" to a specific year of data-taking, using default year 24");
629 warningPrinted =
true;
◆ getProperty()
template<class T >
const T* asg::AsgTool::getProperty |
( |
const std::string & |
name | ) |
const |
|
inherited |
Get one of the tool's properties.
◆ initialize()
StatusCode CP::MuonCalibTool::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...
Create the high pT tool
Reimplemented from asg::AsgTool.
Definition at line 27 of file MuonCalibTool.cxx.
37 ATH_MSG_INFO(
"Data will be corrected for sagitta bias with CB calibration");
41 }
else if (
m_calibMode == MuonCalibTool::correctData_IDMS) {
42 ATH_MSG_INFO(
"Data will be corrected for sagitta bias with ID+MS calibration");
43 if (
m_isRun3.value())
ATH_MSG_WARNING(
"You are using the ID+MS calibration which is currenlty not recommended from the MCP group in Run3. Please refer to the MCP documentation page");
47 }
else if (
m_calibMode == MuonCalibTool::notCorrectData_IDMS) {
48 ATH_MSG_INFO(
"Data will be untouched. Instead an additional systematic will be added with ID+MS calibration");
49 if (
m_isRun3.value())
ATH_MSG_WARNING(
"You are using the ID+MS calibration which is currenlty not recommended from the MCP group in Run3. Please refer to the MCP documentation page");
53 else if (
m_calibMode == MuonCalibTool::notCorrectData_CB) {
54 ATH_MSG_INFO(
"Data will be untouched. Instead an additional systematic will be added with CB calibration");
58 else if (
m_calibMode == MuonCalibTool::userDefined) {
63 << MuonCalibTool::correctData_CB <<
") correctData_IDMS ("
64 << MuonCalibTool::correctData_IDMS <<
") or notCorrectData_IDMS ("
65 << MuonCalibTool::notCorrectData_IDMS <<
") or notCorrectData_CB ("
66 << MuonCalibTool::notCorrectData_CB <<
")");
67 return StatusCode::FAILURE;
117 return StatusCode::FAILURE;
120 if (
registry.registerSystematics(*
this) != StatusCode::SUCCESS)
123 return StatusCode::FAILURE;
126 return StatusCode::SUCCESS;
◆ initializeRandNumbers()
void CP::MuonCalibTool::initializeRandNumbers |
( |
MCP::MuonObj & |
obj | ) |
const |
|
protected |
Decorate all information that's needed to ensure reproducibility of the smearing.
Definition at line 514 of file MuonCalibTool.cxx.
517 TRandom3 loc_random3;
524 const UInt_t
seed = 1 + std::abs(muonObj.CB.phi) * 1E6 + std::abs(muonObj.CB.eta) * 1E3 +
eventNumber;
525 loc_random3.SetSeed(seed);
527 muonObj.rnd_g0 = loc_random3.Gaus(0, 1);
528 muonObj.rnd_g1 = loc_random3.Gaus(0, 1);
529 muonObj.rnd_g2 = loc_random3.Gaus(0, 1);
530 muonObj.rnd_g3 = loc_random3.Gaus(0, 1);
531 muonObj.rnd_g4 = loc_random3.Gaus(0, 1);
532 muonObj.rnd_g_highPt = loc_random3.Gaus(0, 1);
◆ 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()
Declare the interface that this class provides.
returns: whether this tool is affected by the given systematics
Implements CP::ISystematicsTool.
Definition at line 283 of file MuonCalibTool.cxx.
286 return sys.find(systematic) !=
sys.end();
◆ 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::MuonCalibTool::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_2stations_highpt_smearing
Gaudi::Property<bool> CP::MuonCalibTool::m_2stations_highpt_smearing {this, "do2StationsHighPt", false, "Extra smearing to be applied if high pT WP is used"} |
|
protected |
◆ m_applyCorrectionOnData
Gaudi::Property<bool> CP::MuonCalibTool::m_applyCorrectionOnData {this, "applyCorrectionOnData", true, "If to apply sagitta corrections on data, or take the full effect as systematic"} |
|
protected |
◆ m_calibMode
Gaudi::Property<int> CP::MuonCalibTool::m_calibMode {this, "calibMode", -1, "Calib mode"} |
|
protected |
◆ m_detStore
◆ m_doDirectCBCalib
Gaudi::Property<bool> CP::MuonCalibTool::m_doDirectCBCalib {this, "doDirectCBCalib", true, "Do direct calibration of CB tracks, otherwise, do ID+MS"} |
|
protected |
◆ m_doEtaSagittaSys
Gaudi::Property<bool> CP::MuonCalibTool::m_doEtaSagittaSys {this, "doEtaSagittaSys", false, "Do Eta dependant systematic system"} |
|
protected |
◆ m_eventInfo
◆ m_evtStore
◆ m_excludeNSWFromPrecisionLayers
Gaudi::Property<bool> CP::MuonCalibTool::m_excludeNSWFromPrecisionLayers {this, "ExcludeNSWFromPrecisionLayers", false, "Cut on the number of precision layers ignores the NSW"} |
|
protected |
◆ m_expertMode_EvtNumber
Gaudi::Property<unsigned long long> CP::MuonCalibTool::m_expertMode_EvtNumber {this, "expertMode_EvtNumber", 0, "Expert only option. Overwrites EventNumber"} |
|
protected |
◆ m_expertMode_isData
Gaudi::Property<bool> CP::MuonCalibTool::m_expertMode_isData {this, "expertMode_isData", false, "Expert only option. Overwrites the isData Flag"} |
|
protected |
◆ m_expertMode_RunNumber
Gaudi::Property<int> CP::MuonCalibTool::m_expertMode_RunNumber {this, "expertMode_RunNumber", 0, "Expert only option. Overwrites RunNumber"} |
|
protected |
◆ m_extra_highpt_smearing
Gaudi::Property<bool> CP::MuonCalibTool::m_extra_highpt_smearing {this, "doExtraSmearing", false, "Flag provided to test if analysis are sensitive to high pT calibration. NOT TO BE USED FOR RESULTS. Please see twiki"} |
|
protected |
◆ m_HighPtSystThreshold
Gaudi::Property<float> CP::MuonCalibTool::m_HighPtSystThreshold {this, "HighPtSystThr", 300.0, "Thershold for high pT smearing in GeV"} |
|
protected |
◆ m_isRun3
Gaudi::Property<bool> CP::MuonCalibTool::m_isRun3 {this, "IsRun3Geo", false, "Needed for MuonSelectionTool"} |
|
protected |
◆ m_MuonIntHighTSmearTool
◆ m_MuonIntHighTSmearToolInitialized
bool CP::MuonCalibTool::m_MuonIntHighTSmearToolInitialized {false} |
|
private |
◆ m_MuonIntSagittaTool
◆ m_MuonIntScaleSmearTool
◆ m_MuonSelectionTool
◆ m_release
Gaudi::Property<std::string> CP::MuonCalibTool::m_release {this, "release", "Recs2024_05_06_Run2Run3", "Release"} |
|
protected |
◆ m_sysScheme
Gaudi::Property<std::string> CP::MuonCalibTool::m_sysScheme {this, "systematicScheme", "Corr_Scale", "Systematic scheme to be configured"} |
|
protected |
◆ m_useRndRun
Gaudi::Property<bool> CP::MuonCalibTool::m_useRndRun {this, "useRandomRunNumber", false, "To use the random run number for deciding which calibration to apply"} |
|
protected |
◆ m_validationMode
Gaudi::Property<bool> CP::MuonCalibTool::m_validationMode {this, "expert_validationMode", false, "Expert only option. Puts the tool in the validation mode setup"} |
|
protected |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
virtual double pt() const override final
The transverse momentum ( ) of the particle.
std::vector< Identifier > ID
Helper class to provide type-safe access to aux data.
float charge() const
Returns the charge.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
float z0() const
Returns the parameter.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
void setDefiningParameters(float d0, float z0, float phi0, float theta, float qOverP)
Set the defining parameters.
Helper class to provide constant type-safe access to aux data.
#define ATH_MSG_VERBOSE(x)
@ IS_SIMULATION
true: simulation, false: data
#define AmgSymMatrix(dim)
float d0() const
Returns the parameter.
virtual void setOwner(IDataHandleHolder *o)=0
int calib_charge
Value of the track-charge (after calibration)
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
@ OutOfValidityRange
Input object is out of validity range.
Helper class to provide type-safe access to aux data.
::StatusCode StatusCode
StatusCode definition for legacy code.
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.
const double eta
Value of the track-eta.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
float phi0() const
Returns the parameter, which has range to .
Muon_v1 Muon
Reference the current persistent version:
const double phi
Value of the track-phi.
double charge(const T &p)
double calib_pt
Smeared track pt.
@ Ok
The correction was done successfully.
#define ATH_MSG_WARNING(x)
Return value from object correction CP tools.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
ResolutionCategory raw_mst_category
Class describing a TrackParticle.
Basic object to cache all relevant information from the track.
float theta() const
Returns the parameter, which has range 0 to .
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.