ATLAS Offline Software
|
parameterization of correction for ADC non linearity More...
#include <LinearityADC.h>
Public Member Functions | |
LinearityADC (const std::string &filename, const std::string &name="ADCNonLinearityCorrection") | |
constructor (initialization done there reading a root file for the HV maps per period More... | |
~LinearityADC () | |
float | getCorr (float etaCalo, float et, PATCore::ParticleType::Type ptype=PATCore::ParticleType::Electron) const |
get relative correction factor to apply to energy: corrected energy should be original energy * correction factor More... | |
void | setLevel (MSG::Level lvl) |
Change the current logging level. More... | |
Private Member Functions | |
void | initMessaging () const |
Initialize our message level and MessageSvc. More... | |
Private Attributes | |
std::map< PATCore::ParticleType::Type, std::unique_ptr< TProfile2D > > | m_hcorr |
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... | |
parameterization of correction for ADC non linearity
deltaADC vs ADC parameterized from calibration runs in different eta bins for HG/MG/HG by Luca applied to single particle samples to parameterize vs eta and Et and particle type
Definition at line 25 of file LinearityADC.h.
LinearityADC::LinearityADC | ( | const std::string & | filename, |
const std::string & | name = "ADCNonLinearityCorrection" |
||
) |
constructor (initialization done there reading a root file for the HV maps per period
Definition at line 9 of file LinearityADC.cxx.
|
inline |
Definition at line 32 of file LinearityADC.h.
float LinearityADC::getCorr | ( | float | etaCalo, |
float | et, | ||
PATCore::ParticleType::Type | ptype = PATCore::ParticleType::Electron |
||
) | const |
get relative correction factor to apply to energy: corrected energy should be original energy * correction factor
inputs: etaCalo and Et in MeV, pType (enum)
Definition at line 26 of file LinearityADC.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 42 of file LinearityADC.h.
|
mutableprivateinherited |
MessageSvc pointer.
Definition at line 135 of file AthMessaging.h.
|
mutableprivateinherited |
Current logging level.
Definition at line 138 of file AthMessaging.h.
|
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.