![]() |
ATLAS Offline Software
|
#include <GainUncertainty.h>
Public Types | |
| enum class | GainType { MEDIUM , LOW , MEDIUMLOW } |
Public Member Functions | |
| GainUncertainty (const std::string &filename, bool splitGainUnc=false, const std::string &name="GainUncertainty", bool setInterpolation=false) | |
| ~GainUncertainty () | |
| double | getUncertainty (double etaCalo_input, double et_input, PATCore::ParticleType::Type ptype=PATCore::ParticleType::Electron, bool useUncertainty=false, GainType gainType=GainType::MEDIUMLOW) 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. | |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| TH1 * | m_alpha_specialGainRun |
| TH1 * | m_gain_impact_Zee |
| TH1 * | m_gain_Impact_elec [s_nEtaBins] {} |
| TH1 * | m_gain_Impact_conv [s_nEtaBins] {} |
| TH1 * | m_gain_Impact_unco [s_nEtaBins] {} |
| TH1 * | m_gain_Impact_elec_medium [s_nEtaBins] {} |
| TH1 * | m_gain_Impact_conv_medium [s_nEtaBins] {} |
| TH1 * | m_gain_Impact_unco_medium [s_nEtaBins] {} |
| TH1 * | m_gain_Impact_elec_low [s_nEtaBins] {} |
| TH1 * | m_gain_Impact_conv_low [s_nEtaBins] {} |
| TH1 * | m_gain_Impact_unco_low [s_nEtaBins] {} |
| bool | m_useInterpolation |
| 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 int | s_nEtaBins = 5 |
Definition at line 17 of file GainUncertainty.h.
|
strong |
| Enumerator | |
|---|---|
| MEDIUM | |
| LOW | |
| MEDIUMLOW | |
Definition at line 23 of file GainUncertainty.h.
| egGain::GainUncertainty::GainUncertainty | ( | const std::string & | filename, |
| bool | splitGainUnc = false, | ||
| const std::string & | name = "GainUncertainty", | ||
| bool | setInterpolation = false ) |
Definition at line 17 of file GainUncertainty.cxx.
| egGain::GainUncertainty::~GainUncertainty | ( | ) |
Definition at line 84 of file GainUncertainty.cxx.
| double egGain::GainUncertainty::getUncertainty | ( | double | etaCalo_input, |
| double | et_input, | ||
| PATCore::ParticleType::Type | ptype = PATCore::ParticleType::Electron, | ||
| bool | useUncertainty = false, | ||
| GainType | gainType = GainType::MEDIUMLOW ) const |
Definition at line 106 of file GainUncertainty.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.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.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 38 of file GainUncertainty.h.
|
private |
Definition at line 41 of file GainUncertainty.h.
|
private |
Definition at line 47 of file GainUncertainty.h.
|
private |
Definition at line 44 of file GainUncertainty.h.
|
private |
Definition at line 40 of file GainUncertainty.h.
|
private |
Definition at line 46 of file GainUncertainty.h.
|
private |
Definition at line 43 of file GainUncertainty.h.
|
private |
Definition at line 42 of file GainUncertainty.h.
|
private |
Definition at line 48 of file GainUncertainty.h.
|
private |
Definition at line 45 of file GainUncertainty.h.
|
private |
Definition at line 39 of file GainUncertainty.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Definition at line 50 of file GainUncertainty.h.
|
staticprivate |
Definition at line 37 of file GainUncertainty.h.