![]() |
ATLAS Offline Software
|
#include <HVHelper.h>
Public Member Functions | |
| G4double | GetVoltageBarrett (G4double phi, G4int compartment, G4int eta_bin) const |
| G4double | GetVoltage (const G4ThreeVector &p) const |
| virtual G4double | GetVoltage (const G4ThreeVector &, G4int, G4int) const |
| virtual G4double | GetVoltage (const G4ThreeVector &, const std::pair< G4int, G4int > &) const |
| virtual | ~HVHelper () |
| 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. | |
Static Public Member Functions | |
| static std::unique_ptr< const HVHelper > | CreateHelper (const LArWheelCalculator *calc, const G4String &version, G4bool fromDB) |
Protected Member Functions | |
| const LArWheelCalculator * | lwc (void) const |
| HVHelper (const LArWheelCalculator *calc, const G4String &version) | |
| void | AcquireMaps (const G4String &version, G4bool from_DB) |
| void | GetMapFromDB (void) |
| virtual void | ReadMapFromFile (const G4String &version)=0 |
| FILE * | OpenFileAndCheckVersion (const G4String &version) |
| G4int | GetEtaSection (const G4ThreeVector &p) const |
| virtual G4int | GetPhiSection (G4int, G4int, G4int, G4int) const =0 |
Protected Attributes | |
| G4double | m_Values [s_NofAtlasSide][s_NofEtaSection][s_NofElectrodeSide][s_NofElectrodesOut] {} |
| const LArWheelCalculator * | m_calculator |
| const G4double | m_WheelShift |
| const G4int | m_NofPhiSections |
| const G4int | m_EtaMin |
| const G4int | m_EtaMax |
Static Protected Attributes | |
| static constexpr G4int | s_NofAtlasSide = 2 |
| static constexpr G4int | s_NofEtaSection = 9 |
| static constexpr G4int | s_NofElectrodeSide = 2 |
| static constexpr G4int | s_NofElectrodesOut = 768 |
| static const G4double | s_EtaLimit [s_NofEtaSection+1] |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| 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 23 of file HVHelper.h.
|
protected |
|
inlinevirtual |
Definition at line 76 of file HVHelper.h.
|
protected |
|
static |
|
protected |
|
protected |
|
protectedpure virtual |
Implemented in LArG4::EC::HVHelperV00, and LArG4::EC::HVHelperV02.
|
virtual |
|
virtual |
| G4double LArG4::EC::HVHelper::GetVoltage | ( | const G4ThreeVector & | p | ) | const |
| G4double LArG4::EC::HVHelper::GetVoltageBarrett | ( | G4double | phi, |
| G4int | compartment, | ||
| G4int | eta_bin ) const |
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inlineprotected |
Definition at line 36 of file HVHelper.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 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.
|
protected |
|
protectedpure virtual |
Implemented in LArG4::EC::HVHelperV00, and LArG4::EC::HVHelperV02.
|
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.
|
protected |
Definition at line 35 of file HVHelper.h.
|
protected |
Definition at line 41 of file HVHelper.h.
|
protected |
Definition at line 41 of file HVHelper.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.
|
protected |
Definition at line 39 of file HVHelper.h.
|
protected |
Definition at line 33 of file HVHelper.h.
|
protected |
Definition at line 38 of file HVHelper.h.
|
staticprotected |
Definition at line 31 of file HVHelper.h.
|
staticconstexprprotected |
Definition at line 26 of file HVHelper.h.
|
staticconstexprprotected |
Definition at line 28 of file HVHelper.h.
|
staticconstexprprotected |
Definition at line 29 of file HVHelper.h.
|
staticconstexprprotected |
Definition at line 27 of file HVHelper.h.