#include <G4HitFilter.h>
Definition at line 22 of file G4HitFilter.h.
◆ hitCntainerTypes
Enumerator |
---|
CALOCALIB | |
CSC | |
LAR | |
LUCID | |
MDT | |
RPC | |
SI | |
TGC | |
TILE | |
TRT | |
Definition at line 54 of file G4HitFilter.h.
◆ G4HitFilter()
G4UA::G4HitFilter::G4HitFilter |
( |
const Config & |
config | ) |
|
◆ BeginOfRunAction()
void G4UA::G4HitFilter::BeginOfRunAction |
( |
const G4Run * |
| ) |
|
|
overridevirtual |
Definition at line 39 of file G4HitFilter.cxx.
48 if(vol ==
"BCMHits") hitType =
SI;
49 else if(vol ==
"BLMHits") hitType =
SI;
50 else if(vol ==
"CSC_Hits") hitType =
CSC;
51 else if(vol ==
"LArCalibrationHitActive") hitType =
CALOCALIB;
52 else if(vol ==
"LArCalibrationHitDeadMaterial") hitType =
CALOCALIB;
53 else if(vol ==
"LArCalibrationHitInactive") hitType =
CALOCALIB;
54 else if(vol ==
"LArHitEMB") hitType =
LAR;
55 else if(vol ==
"LArHitEMEC") hitType =
LAR;
56 else if(vol ==
"LArHitFCAL") hitType =
LAR;
57 else if(vol ==
"LArHitHEC") hitType =
LAR;
58 else if(vol ==
"LucidSimHitsVector") hitType =
LUCID;
59 else if(vol ==
"MBTSHits") hitType =
TILE;
60 else if(vol ==
"MDT_Hits") hitType =
MDT;
61 else if(vol ==
"PixelHits") hitType =
SI;
62 else if(vol ==
"RPC_Hits") hitType =
RPC;
63 else if(vol ==
"SCT_Hits") hitType =
SI;
64 else if(vol ==
"TGC_Hits") hitType =
TGC;
65 else if(vol ==
"TRTUncompressedHits") hitType =
TRT;
66 else if(vol ==
"TileHitVec") hitType =
TILE;
◆ EndOfEventAction()
void G4UA::G4HitFilter::EndOfEventAction |
( |
const G4Event * |
| ) |
|
|
overridevirtual |
Definition at line 77 of file G4HitFilter.cxx.
87 if(! cont.isValid())
continue;
90 else if(hitCont.first ==
CSC) {
92 if(! cont.isValid())
continue;
95 else if(hitCont.first ==
LAR) {
97 if(! cont.isValid())
continue;
100 else if(hitCont.first ==
LUCID) {
102 if(! cont.isValid())
continue;
105 else if(hitCont.first ==
MDT) {
107 if(! cont.isValid())
continue;
110 else if(hitCont.first ==
RPC) {
112 if(! cont.isValid())
continue;
115 else if(hitCont.first ==
SI) {
117 if(! cont.isValid())
continue;
120 else if(hitCont.first ==
TGC) {
122 if(! cont.isValid())
continue;
125 else if(hitCont.first ==
TILE) {
127 if(! cont.isValid())
continue;
130 else if(hitCont.first ==
TRT) {
132 if(! cont.isValid())
continue;
145 G4RunManager::GetRunManager()->AbortEvent();
◆ getReport()
◆ initMessaging()
void AthMessaging::initMessaging |
( |
| ) |
const |
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
◆ msg() [1/2]
MsgStream & AthMessaging::msg |
( |
| ) |
const |
|
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.
◆ msg() [2/2]
MsgStream & AthMessaging::msg |
( |
const MSG::Level |
lvl | ) |
const |
|
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.
180 {
return msg() << lvl; }
◆ msgLvl()
bool AthMessaging::msgLvl |
( |
const MSG::Level |
lvl | ) |
const |
|
inlineinherited |
Test the output level.
- Parameters
-
lvl | The message level to test against |
- Returns
- boolean Indicating if messages at given level will be printed
- Return values
-
true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
◆ setLevel()
void AthMessaging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
inherited |
◆ ATLAS_THREAD_SAFE
std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ m_config
Config G4UA::G4HitFilter::m_config |
|
private |
◆ m_hitContainers
std::vector< std::pair<int,std::string> > G4UA::G4HitFilter::m_hitContainers |
|
private |
A list of (hitContainerTypes, volumeName) pairs, filled in BeginOfRunAction.
Definition at line 71 of file G4HitFilter.h.
◆ m_imsg
std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_lvl
std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |
|
mutableprivateinherited |
◆ m_msg_tls
boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
◆ m_nm
std::string AthMessaging::m_nm |
|
privateinherited |
◆ m_report
Report G4UA::G4HitFilter::m_report |
|
private |
The documentation for this class was generated from the following files: