![]() |
ATLAS Offline Software
|
#include <EtaJESCorrection.h>
Public Member Functions | |
| EtaJESCorrection () | |
| EtaJESCorrection (const std::string &name, TEnv *config, TString jetAlgo, TString calibAreaTag, bool mass, bool dev) | |
| virtual | ~EtaJESCorrection () |
| 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. | |
Functions providing the same interface as AthMessaging | |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level of the object. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
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 | |
| double | getJES (double E_uncorr, double eta_det) const |
| double | getLowPtJES (double E_uncorr, double eta_det) const |
| double | getEtaCorr (double E_corr, double eta_det) const |
| double | getMassCorr (double E_corr, double eta_det) const |
| double | getLogPolN (const double *factors, double x) const |
| double | getLogPolNSlope (const double *factors, double x) const |
| double | getSplineCorr (const int etaBin, double E) const |
| double | getSplineSlope (const int ieta, const double minE) const |
| void | loadSplineHists (const TString &fileName, const std::string &etajes_name="etaJes") |
| Loads the calib constants from histograms in TFile named fileName. | |
| int | getEtaBin (double eta_det) const |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| TEnv * | m_config {} |
| TString | m_jetAlgo |
| TString | m_calibAreaTag |
| bool | m_mass {} |
| bool | m_dev {} |
| bool | m_freezeJESatHighE {} |
| bool | m_isSpline {} |
| TString | m_jesDesc |
| double | m_minPt_JES {} |
| double | m_minPt_EtaCorr {} |
| double | m_maxE_EtaCorr {} |
| unsigned int | m_lowPtExtrap {} |
| double | m_lowPtMinR {} |
| bool | m_applyMassCorrection {} |
| bool | m_useSecondaryminPt_JES {} |
| double | m_etaSecondaryminPt_JES {} |
| double | m_secondaryminPt_JES {} |
| TAxis * | m_etaBinAxis {} |
| unsigned int | m_nPar {} |
| double | m_JESFactors [s_nEtaBins][s_nParMax] ={} |
| double | m_JES_MinPt_Slopes [s_nEtaBins] ={} |
| double | m_JES_MinPt_E [s_nEtaBins] ={} |
| double | m_JES_MinPt_R [s_nEtaBins] ={} |
| double | m_JES_MinPt_Param1 [s_nEtaBins] ={} |
| double | m_JES_MinPt_Param2 [s_nEtaBins] {} |
| double | m_etaCorrFactors [s_nEtaBins][s_nParMax] ={} |
| double | m_JMSFactors [s_nEtaBins][s_nParMax] ={} |
| double | m_energyFreezeJES [s_nEtaBins] ={} |
| std::vector< std::unique_ptr< TH1 > > | m_etajesFactors |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) | |
Static Private Attributes | |
| static const unsigned int | s_nEtaBins =90 |
| static const unsigned int | s_nParMin =7 |
| static const unsigned int | s_nParMax =9 |
Definition at line 26 of file EtaJESCorrection.h.
| EtaJESCorrection::EtaJESCorrection | ( | ) |
Definition at line 12 of file EtaJESCorrection.cxx.
| EtaJESCorrection::EtaJESCorrection | ( | const std::string & | name, |
| TEnv * | config, | ||
| TString | jetAlgo, | ||
| TString | calibAreaTag, | ||
| bool | mass, | ||
| bool | dev ) |
Definition at line 20 of file EtaJESCorrection.cxx.
|
virtual |
Definition at line 28 of file EtaJESCorrection.cxx.
|
overridevirtual |
Implements JetCalibrationStep.
Definition at line 224 of file EtaJESCorrection.cxx.
|
private |
Definition at line 385 of file EtaJESCorrection.cxx.
|
private |
Definition at line 342 of file EtaJESCorrection.cxx.
|
private |
Definition at line 258 of file EtaJESCorrection.cxx.
|
private |
Definition at line 370 of file EtaJESCorrection.cxx.
|
private |
|
private |
Definition at line 298 of file EtaJESCorrection.cxx.
|
private |
Definition at line 358 of file EtaJESCorrection.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.
|
private |
Definition at line 335 of file EtaJESCorrection.cxx.
|
private |
Definition at line 322 of file EtaJESCorrection.cxx.
|
overridevirtual |
Implements JetCalibrationStep.
Definition at line 34 of file EtaJESCorrection.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
private |
Loads the calib constants from histograms in TFile named fileName.
Definition at line 204 of file EtaJESCorrection.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.
|
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 64 of file EtaJESCorrection.h.
|
private |
Definition at line 54 of file EtaJESCorrection.h.
|
private |
Definition at line 52 of file EtaJESCorrection.h.
|
private |
Definition at line 56 of file EtaJESCorrection.h.
|
private |
Definition at line 84 of file EtaJESCorrection.h.
|
private |
Definition at line 69 of file EtaJESCorrection.h.
|
private |
Definition at line 82 of file EtaJESCorrection.h.
|
private |
Definition at line 88 of file EtaJESCorrection.h.
|
private |
Definition at line 66 of file EtaJESCorrection.h.
|
private |
Definition at line 57 of file EtaJESCorrection.h.
|
protectedinherited |
Definition at line 40 of file JetCalibrationStep.h.
|
mutableprivateinherited |
|
private |
Definition at line 58 of file EtaJESCorrection.h.
|
private |
Definition at line 78 of file EtaJESCorrection.h.
|
private |
Definition at line 80 of file EtaJESCorrection.h.
|
private |
Definition at line 81 of file EtaJESCorrection.h.
|
private |
Definition at line 79 of file EtaJESCorrection.h.
|
private |
Definition at line 77 of file EtaJESCorrection.h.
|
private |
Definition at line 60 of file EtaJESCorrection.h.
|
private |
Definition at line 76 of file EtaJESCorrection.h.
|
private |
Definition at line 53 of file EtaJESCorrection.h.
|
protectedinherited |
Definition at line 41 of file JetCalibrationStep.h.
|
private |
Definition at line 83 of file EtaJESCorrection.h.
|
private |
Definition at line 62 of file EtaJESCorrection.h.
|
private |
Definition at line 63 of file EtaJESCorrection.h.
|
mutableprivateinherited |
|
private |
Definition at line 55 of file EtaJESCorrection.h.
|
private |
Definition at line 61 of file EtaJESCorrection.h.
|
private |
Definition at line 61 of file EtaJESCorrection.h.
|
private |
Definition at line 61 of file EtaJESCorrection.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 75 of file EtaJESCorrection.h.
|
private |
Definition at line 67 of file EtaJESCorrection.h.
|
private |
Definition at line 65 of file EtaJESCorrection.h.
|
staticprivate |
Definition at line 72 of file EtaJESCorrection.h.
|
staticprivate |
Definition at line 74 of file EtaJESCorrection.h.
|
staticprivate |
Definition at line 73 of file EtaJESCorrection.h.