ATLAS Offline Software
|
#include <MM_StripsResponseSimulation.h>
Classes | |
struct | ConfigModule |
struct | DataCache |
Public Member Functions | |
MM_StripsResponseSimulation (ConfigModule &&cfg) | |
virtual | ~MM_StripsResponseSimulation () |
MM_StripToolOutput | GetResponseFrom (const MM_DigitToolInput &digiInput, double gainFraction, double stripPitch, CLHEP::HepRandomEngine *rndmEngine) const |
float | getQThreshold () const |
float | getDriftGapWidth () const |
double | getDriftVelocity () const |
float | getInteractionDensityMean () const |
float | getInteractionDensitySigma () const |
float | getLongitudinalDiffusionSigma () const |
float | getTransversDiffusionSigma () const |
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... | |
Protected Member Functions | |
float | generateTransverseDiffusion (float posY, CLHEP::HepRandomEngine *rndmEngine) const |
float | getTransverseDiffusion (float posY, CLHEP::HepRandomEngine *rndmEngine) const |
float | getLongitudinalDiffusion (float posY, CLHEP::HepRandomEngine *rndmEngine) const |
float | getEffectiveCharge (CLHEP::HepRandomEngine *rndmEngine) const |
float | getPathLengthTraveled (CLHEP::HepRandomEngine *rndmEngine) const |
Private Member Functions | |
void | initHistos () |
void | writeHistos () |
void | whichStrips (DataCache &cache, const MM_DigitToolInput &digiInput, double gainFraction, double stripPitch, CLHEP::HepRandomEngine *rndmEngine) const |
void | initMessaging () const |
Initialize our message level and MessageSvc. More... | |
Private Attributes | |
const ConfigModule | m_cfg {} |
std::map< std::string, std::unique_ptr< TH1F > > | m_mapOfHistograms {} |
std::map< std::string, std::unique_ptr< TH2F > > | m_mapOf2DHistograms {} |
std::unique_ptr< CLHEP::RandGeneral > | m_randNelectrons {} |
std::unique_ptr< TFile > | m_outputFile {nullptr} |
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... | |
Static Private Attributes | |
static constexpr unsigned int | s_NelectronPropBins {300} |
Definition at line 61 of file MM_StripsResponseSimulation.h.
MM_StripsResponseSimulation::MM_StripsResponseSimulation | ( | ConfigModule && | cfg | ) |
Definition at line 40 of file MM_StripsResponseSimulation.cxx.
|
virtual |
Definition at line 348 of file MM_StripsResponseSimulation.cxx.
|
protected |
Definition at line 276 of file MM_StripsResponseSimulation.cxx.
|
inline |
Definition at line 92 of file MM_StripsResponseSimulation.h.
|
inline |
Definition at line 93 of file MM_StripsResponseSimulation.h.
|
protected |
Definition at line 327 of file MM_StripsResponseSimulation.cxx.
|
inline |
Definition at line 94 of file MM_StripsResponseSimulation.h.
|
inline |
Definition at line 95 of file MM_StripsResponseSimulation.h.
|
protected |
Definition at line 317 of file MM_StripsResponseSimulation.cxx.
|
inline |
Definition at line 96 of file MM_StripsResponseSimulation.h.
|
protected |
Definition at line 334 of file MM_StripsResponseSimulation.cxx.
|
inline |
Definition at line 91 of file MM_StripsResponseSimulation.h.
MM_StripToolOutput MM_StripsResponseSimulation::GetResponseFrom | ( | const MM_DigitToolInput & | digiInput, |
double | gainFraction, | ||
double | stripPitch, | ||
CLHEP::HepRandomEngine * | rndmEngine | ||
) | const |
Definition at line 102 of file MM_StripsResponseSimulation.cxx.
|
inline |
Definition at line 97 of file MM_StripsResponseSimulation.h.
|
protected |
Definition at line 291 of file MM_StripsResponseSimulation.cxx.
|
private |
Definition at line 59 of file MM_StripsResponseSimulation.cxx.
|
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.
|
private |
Definition at line 122 of file MM_StripsResponseSimulation.cxx.
|
private |
Definition at line 88 of file MM_StripsResponseSimulation.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 102 of file MM_StripsResponseSimulation.h.
|
mutableprivateinherited |
MessageSvc pointer.
Definition at line 135 of file AthMessaging.h.
|
mutableprivateinherited |
Current logging level.
Definition at line 138 of file AthMessaging.h.
|
private |
Definition at line 120 of file MM_StripsResponseSimulation.h.
|
private |
Definition at line 119 of file MM_StripsResponseSimulation.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.
|
private |
Definition at line 127 of file MM_StripsResponseSimulation.h.
|
private |
Definition at line 122 of file MM_StripsResponseSimulation.h.
|
staticconstexprprivate |
Definition at line 124 of file MM_StripsResponseSimulation.h.