ATLAS Offline Software
|
User action for default processing of calibration energy deposits. More...
#include <CalibrationDefaultProcessing.h>
Classes | |
struct | Config |
Configuration options for constructing this action. More... | |
Public Member Functions | |
CalibrationDefaultProcessing (const Config &config) | |
Constructor. More... | |
virtual void | BeginOfEventAction (const G4Event *) override |
the BoE actions More... | |
virtual void | UserSteppingAction (const G4Step *) override |
the stepping action More... | |
G4VSensitiveDetector * | GetDefaultSD () |
Make the default sensitive detector available to other routines. More... | |
bool | msgLvl (const MSG::Level lvl) const |
Test the output level. More... | |
MsgStream & | msg () const |
The standard message stream. More... | |
MsgStream & | msg (const MSG::Level lvl) const |
The standard message stream. 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 | |
Config | m_config |
Configuration options. More... | |
G4VSensitiveDetector * | m_defaultSD |
The default sensitive detector to be applied to all G4Steps in volumes without a CalibrationSensitiveDetector. More... | |
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... | |
User action for default processing of calibration energy deposits.
04-Mar-2004 William Seligman
21-Sep-2004 WGS: Moved to CaloG4Sim.
The calibration studies rely on every volume in the simulation being made into a sensitive detector. There is a practical problem: What if we're still in the middle of developing code, and not every volume has been made sensitive yet? What if we've overlooked a volume?
This class provides a "default behavior" for all energy deposits that are not made in a volume that's been made sensitive for calibration studies.
Since we need to examine the particles at every G4Step, this class makes use of a UserAction interface class.
Definition at line 43 of file CalibrationDefaultProcessing.h.
Constructor.
|
overridevirtual |
the BoE actions
|
inline |
Make the default sensitive detector available to other routines.
Definition at line 65 of file CalibrationDefaultProcessing.h.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.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 164 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 179 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.
|
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.
|
overridevirtual |
the stepping action
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Configuration options.
Definition at line 70 of file CalibrationDefaultProcessing.h.
|
private |
The default sensitive detector to be applied to all G4Steps in volumes without a CalibrationSensitiveDetector.
Definition at line 74 of file CalibrationDefaultProcessing.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.