![]() |
ATLAS Offline Software
|
#include <ZdcInjPulserAmpMap.h>
Classes | |
| class | Token |
Public Types | |
| using | json = nlohmann::json |
Public Member Functions | |
| ZdcInjPulserAmpMap () | |
| const std::string & | getFilePath () const |
| Token | lookupRun (unsigned int runNumber, bool allowDefault=false) |
| unsigned int | getFirstLumiBlock (const Token &token) const |
| unsigned int | getNumSteps (const Token &token) const |
| int | getCycleNumber (const Token &token, unsigned int lumiBlock) const |
| float | getPulserAmplitude (const Token &token, unsigned int lumiBlock) 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. | |
Static Public Member Functions | |
| static const ZdcInjPulserAmpMap * | getInstance () |
Private Types | |
| using | StepsVector = std::vector<float> |
| using | StepsDescr = std::pair<unsigned int, StepsVector> |
| using | RunRangeDescr = std::tuple<unsigned int, unsigned int, std::string, float> |
Private Member Functions | |
| bool | parseJsonFile (std::ifstream &ifs) |
| void | readPulserSteps (StepsDescr &steps, const json &stepsJson) |
| void | fillVVector (StepsVector &stepVec, const nlohmann::json &entry) |
| std::pair< unsigned int, StepsVector > | getContext (const Token &token) const |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| std::mutex | m_lock |
| std::string | m_filePath |
| bool | m_validJSon {false} |
| std::vector< RunRangeDescr > | m_runRangeDescrs |
| std::map< std::string, StepsDescr > | m_stepsConfigs |
| std::vector< const StepsDescr * > | m_activeConfigs |
| 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 24 of file ZdcInjPulserAmpMap.h.
| using ZdcInjPulserAmpMap::json = nlohmann::json |
Definition at line 51 of file ZdcInjPulserAmpMap.h.
|
private |
Definition at line 58 of file ZdcInjPulserAmpMap.h.
|
private |
Definition at line 56 of file ZdcInjPulserAmpMap.h.
|
private |
Definition at line 55 of file ZdcInjPulserAmpMap.h.
| ZdcInjPulserAmpMap::ZdcInjPulserAmpMap | ( | ) |
Definition at line 19 of file ZdcInjPulserAmpMap.cxx.
|
private |
Definition at line 129 of file ZdcInjPulserAmpMap.cxx.
|
inlineprivate |
Definition at line 88 of file ZdcInjPulserAmpMap.h.
|
inline |
Definition at line 130 of file ZdcInjPulserAmpMap.h.
|
inline |
Definition at line 112 of file ZdcInjPulserAmpMap.h.
|
inline |
Definition at line 118 of file ZdcInjPulserAmpMap.h.
|
static |
Definition at line 11 of file ZdcInjPulserAmpMap.cxx.
|
inline |
Definition at line 123 of file ZdcInjPulserAmpMap.h.
|
inline |
Definition at line 140 of file ZdcInjPulserAmpMap.h.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
| ZdcInjPulserAmpMap::Token ZdcInjPulserAmpMap::lookupRun | ( | unsigned int | runNumber, |
| bool | allowDefault = false ) |
Definition at line 142 of file ZdcInjPulserAmpMap.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 46 of file ZdcInjPulserAmpMap.cxx.
|
private |
Definition at line 107 of file ZdcInjPulserAmpMap.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 80 of file ZdcInjPulserAmpMap.h.
|
private |
Definition at line 67 of file ZdcInjPulserAmpMap.h.
|
mutableprivateinherited |
|
private |
Definition at line 62 of file ZdcInjPulserAmpMap.h.
|
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 72 of file ZdcInjPulserAmpMap.h.
|
private |
Definition at line 76 of file ZdcInjPulserAmpMap.h.
|
private |
Definition at line 68 of file ZdcInjPulserAmpMap.h.