![]() |
ATLAS Offline Software
|
#include <Generic4VecCorrection.h>
Public Types | |
| enum | JET_CORRTYPE { UNKNOWN = 0, PTRESIDUAL = 1, MC2MC = 2, FASTSIM = 3 } |
Public Member Functions | |
| Generic4VecCorrection () | |
| Generic4VecCorrection (const std::string &name, TEnv *config, const TString &jetAlgo, const TString &calibAreaTag, const TString &forceCalibFile, JET_CORRTYPE correctionType, const TString &mcCampaign="", const TString &simFlavour="", int mcDSID=-1, const TString &generatorsInfo="") | |
| virtual | ~Generic4VecCorrection () |
| virtual StatusCode | initialize () override |
| virtual StatusCode | calibrate (xAOD::Jet &jet, JetEventInfo &) const override |
| virtual void | setUnitsGeV (bool useGeV) |
| virtual StatusCode | getNominalResolutionData (const xAOD::Jet &, double &) const |
| virtual StatusCode | getNominalResolutionMC (const xAOD::Jet &, double &) const |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. More... | |
Protected Member Functions | |
| virtual StatusCode | setStartP4 (xAOD::Jet &jet) const |
Protected Attributes | |
| double | m_GeV |
| std::string | m_jetStartScale |
| std::string | m_name |
Private Member Functions | |
| StatusCode | readHisto (float &correctionFactor, TH2 *h_correction_2D, float x, float y) const |
| StatusCode | initialize_correctionResponse () |
| StatusCode | initialize_MC2MC () |
| StatusCode | parse_showerModel (TString &showerModel, int mcDSID, TString generatorsInfo) const |
| StatusCode | load_json (nlohmann::json &json_object, const std::string &json_filepath) const |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. More... | |
Private Attributes | |
| TEnv * | m_config |
| const TString | m_jetAlgo |
| const TString | m_calibAreaTag |
| JET_CORRTYPE | m_correctionType |
| const TString | m_simFlavour |
| int | m_mcDSID {} |
| const TString | m_generatorsInfo |
| const TString | m_mcCampaign |
| const TString | m_forceCalibFile |
| bool | m_skipCorrection {} |
| TString | m_inJetScale |
| TString | m_outJetScale |
| TString | m_correctionFilePath |
| std::map< int, TH2 * > | m_correctionHists |
| TH2 * | m_only_correction_2D {} |
| TAxis | m_etaAxis |
| std::string | m_nm |
| Message source name. More... | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) More... | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. More... | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. More... | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) More... | |
Definition at line 20 of file Generic4VecCorrection.h.
| Enumerator | |
|---|---|
| UNKNOWN | |
| PTRESIDUAL | |
| MC2MC | |
| FASTSIM | |
Definition at line 27 of file Generic4VecCorrection.h.
| Generic4VecCorrection::Generic4VecCorrection | ( | ) |
Definition at line 25 of file Generic4VecCorrection.cxx.
| Generic4VecCorrection::Generic4VecCorrection | ( | const std::string & | name, |
| TEnv * | config, | ||
| const TString & | jetAlgo, | ||
| const TString & | calibAreaTag, | ||
| const TString & | forceCalibFile, | ||
| JET_CORRTYPE | correctionType, | ||
| const TString & | mcCampaign = "", |
||
| const TString & | simFlavour = "", |
||
| int | mcDSID = -1, |
||
| const TString & | generatorsInfo = "" |
||
| ) |
Definition at line 16 of file Generic4VecCorrection.cxx.
|
virtual |
Definition at line 31 of file Generic4VecCorrection.cxx.
|
overridevirtual |
Implements JetCalibrationStep.
Definition at line 127 of file Generic4VecCorrection.cxx.
|
virtualinherited |
Reimplemented in JetSmearingCorrection.
Definition at line 33 of file JetCalibrationStep.cxx.
|
virtualinherited |
Reimplemented in JetSmearingCorrection.
Definition at line 38 of file JetCalibrationStep.cxx.
|
overridevirtual |
Implements JetCalibrationStep.
Definition at line 34 of file Generic4VecCorrection.cxx.
|
private |
Definition at line 186 of file Generic4VecCorrection.cxx.
|
private |
Definition at line 251 of file Generic4VecCorrection.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
private |
Definition at line 238 of file Generic4VecCorrection.cxx.
|
inherited |
The standard message stream.
Definition at line 49 of file AsgMessaging.cxx.
|
inherited |
The standard message stream.
| lvl | The message level to set the stream to |
Definition at line 57 of file AsgMessaging.cxx.
|
inherited |
Test the output level of the object.
| lvl | The message level to test against |
true If messages at level "lvl" will be printed Definition at line 41 of file AsgMessaging.cxx.
|
private |
Definition at line 334 of file Generic4VecCorrection.cxx.
|
private |
Definition at line 104 of file Generic4VecCorrection.cxx.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
|
protectedvirtualinherited |
Definition at line 21 of file JetCalibrationStep.cxx.
|
inlinevirtualinherited |
Definition at line 30 of file JetCalibrationStep.h.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 60 of file Generic4VecCorrection.h.
|
private |
Definition at line 58 of file Generic4VecCorrection.h.
|
private |
Definition at line 78 of file Generic4VecCorrection.h.
|
private |
Definition at line 79 of file Generic4VecCorrection.h.
|
private |
Definition at line 61 of file Generic4VecCorrection.h.
|
private |
Definition at line 81 of file Generic4VecCorrection.h.
|
private |
Definition at line 68 of file Generic4VecCorrection.h.
|
private |
Definition at line 66 of file Generic4VecCorrection.h.
|
protectedinherited |
Definition at line 40 of file JetCalibrationStep.h.
|
mutableprivateinherited |
MessageSvc pointer.
Definition at line 135 of file AthMessaging.h.
|
private |
Definition at line 74 of file Generic4VecCorrection.h.
|
private |
Definition at line 59 of file Generic4VecCorrection.h.
|
protectedinherited |
Definition at line 41 of file JetCalibrationStep.h.
|
mutableprivateinherited |
Current logging level.
Definition at line 138 of file AthMessaging.h.
|
private |
Definition at line 67 of file Generic4VecCorrection.h.
|
private |
Definition at line 65 of file Generic4VecCorrection.h.
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
protectedinherited |
Definition at line 42 of file JetCalibrationStep.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Definition at line 80 of file Generic4VecCorrection.h.
|
private |
Definition at line 75 of file Generic4VecCorrection.h.
|
private |
Definition at line 62 of file Generic4VecCorrection.h.
|
private |
Definition at line 71 of file Generic4VecCorrection.h.
1.8.18