![]() |
ATLAS Offline Software
|
#include <TilePulseShape.h>
Public Member Functions | |
| TilePulseShape (IMessageSvc *msgSvc, const std::string &name) | |
| TilePulseShape (IMessageSvc *msgSvc, const std::string &name, const TString &fileName) | |
| TilePulseShape (IMessageSvc *msgSvc, const std::string &name, const std::vector< double > &shapevec) | |
| virtual | ~TilePulseShape () |
| void | loadPulseShape (const TString &fileName) |
| void | setPulseShape (const std::vector< double > &shapevec) |
| TGraph * | getGraph (double t0=0., double ped=0., double amp=1.) |
| double | eval (double x, bool useSpline=true, bool useUndershoot=false) |
| void | resetDeformation () |
| int | scalePulse (double leftSF=1., double rightSF=1.) |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| TGraph * | m_pulseShape {nullptr} |
| TGraph * | m_deformedShape {nullptr} |
| TSpline * | m_deformedSpline {nullptr} |
| 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). | |
Definition at line 17 of file TilePulseShape.h.
| TilePulseShape::TilePulseShape | ( | IMessageSvc * | msgSvc, |
| const std::string & | name ) |
Definition at line 19 of file TilePulseShape.cxx.
| TilePulseShape::TilePulseShape | ( | IMessageSvc * | msgSvc, |
| const std::string & | name, | ||
| const TString & | fileName ) |
Definition at line 25 of file TilePulseShape.cxx.
| TilePulseShape::TilePulseShape | ( | IMessageSvc * | msgSvc, |
| const std::string & | name, | ||
| const std::vector< double > & | shapevec ) |
Definition at line 32 of file TilePulseShape.cxx.
|
virtual |
Definition at line 39 of file TilePulseShape.cxx.
| double TilePulseShape::eval | ( | double | x, |
| bool | useSpline = true, | ||
| bool | useUndershoot = false ) |
Definition at line 75 of file TilePulseShape.cxx.
| TGraph * TilePulseShape::getGraph | ( | double | t0 = 0., |
| double | ped = 0., | ||
| double | amp = 1. ) |
Definition at line 165 of file TilePulseShape.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
| void TilePulseShape::loadPulseShape | ( | const TString & | fileName | ) |
Definition at line 47 of file TilePulseShape.cxx.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 167 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 182 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
| void TilePulseShape::resetDeformation | ( | ) |
Definition at line 126 of file TilePulseShape.cxx.
| int TilePulseShape::scalePulse | ( | double | leftSF = 1., |
| double | rightSF = 1. ) |
Definition at line 138 of file TilePulseShape.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.
| void TilePulseShape::setPulseShape | ( | const std::vector< double > & | shapevec | ) |
Definition at line 60 of file TilePulseShape.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging).
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 36 of file TilePulseShape.h.
|
private |
Definition at line 37 of file TilePulseShape.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 35 of file TilePulseShape.h.