ATLAS Offline Software
|
#include <TRTTransitionRadiation.h>
Public Member Functions | |
TRTTransitionRadiation (const G4String &processName="TransitionRadiation", const std::string &xmlfilename="TRgeomodelgeometry.xml") | |
virtual | ~TRTTransitionRadiation () |
void | Initialize () |
G4bool | IsApplicable (const G4ParticleDefinition &) |
G4double | GetMeanFreePath (const G4Track &aTrack, G4double, G4ForceCondition *) |
G4VParticleChange * | PostStepDoIt (const G4Track &aTrack, const G4Step &aStep) |
void | AddRadiatorParameters (TRTRadiatorParameters p) |
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 | |
TRTTransitionRadiation (const TRTTransitionRadiation &) | |
TRTTransitionRadiation & | operator= (const TRTTransitionRadiation &) |
G4double | ComputePhotoAbsCof (const G4Material *Material, const G4double &GammaEnergy) const |
G4double | XEmitanNevski (const G4double &PhotonEnergy, const G4double &Gamma, const G4double &GasThickness, const G4double &FoilThickness) const |
G4double | XEmitanArtru (const G4double &PhotonEnergy, const G4double &Gamma, const G4double &GasThickness, const G4double &FoilThickness) const |
G4double | NeffNevski (const G4double &sigGas, const G4double &sigFoil, const G4double &GasThickness, const G4double &FoilThickness, const G4int &FoilsTraversed) const |
G4double | NeffArtru (const G4double &sigGas, const G4double &sigFoil, const G4double &GasThickness, const G4double &FoilThickness, const G4int &FoilsTraversed) const |
G4double | XFinter (const G4double &X, const G4double *A, const G4double *F) const |
G4double | XInteg (const G4double *yy, G4double *ss) const |
void | initMessaging () const |
Initialize our message level and MessageSvc. More... | |
Private Attributes | |
TRRegionXMLHandler * | m_XMLhandler |
const std::string | m_xmlfilename |
std::vector< TRTRadiatorParameters > | m_radiators |
G4double | m_MinEnergyTR |
G4double | m_MaxEnergyTR |
G4int | m_NumBins |
G4double | m_WplasmaGas |
G4double | m_WplasmaFoil |
G4double | m_GammaMin |
G4double | m_EkinMin |
G4double * | m_Ey |
G4double * | m_Sr |
G4double * | m_om |
G4double * | m_Omg |
G4double * | m_sigmaGas |
G4double * | m_sigmaFoil |
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... | |
Definition at line 24 of file TRTTransitionRadiation.h.
TRTTransitionRadiation::TRTTransitionRadiation | ( | const G4String & | processName = "TransitionRadiation" , |
const std::string & | xmlfilename = "TRgeomodelgeometry.xml" |
||
) |
Definition at line 48 of file TRTTransitionRadiation.cxx.
|
virtual |
Definition at line 71 of file TRTTransitionRadiation.cxx.
|
private |
void TRTTransitionRadiation::AddRadiatorParameters | ( | TRTRadiatorParameters | p | ) |
Definition at line 81 of file TRTTransitionRadiation.cxx.
|
private |
Definition at line 657 of file TRTTransitionRadiation.cxx.
G4double TRTTransitionRadiation::GetMeanFreePath | ( | const G4Track & | aTrack, |
G4double | , | ||
G4ForceCondition * | condition | ||
) |
Definition at line 245 of file TRTTransitionRadiation.cxx.
void TRTTransitionRadiation::Initialize | ( | ) |
Definition at line 94 of file TRTTransitionRadiation.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
G4bool TRTTransitionRadiation::IsApplicable | ( | const G4ParticleDefinition & | particle | ) |
Definition at line 235 of file TRTTransitionRadiation.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.
|
inlineprivate |
Definition at line 450 of file TRTTransitionRadiation.cxx.
|
private |
G4VParticleChange * TRTTransitionRadiation::PostStepDoIt | ( | const G4Track & | aTrack, |
const G4Step & | aStep | ||
) |
Definition at line 261 of file TRTTransitionRadiation.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.
|
inlineprivate |
Definition at line 542 of file TRTTransitionRadiation.cxx.
|
inlineprivate |
Definition at line 486 of file TRTTransitionRadiation.cxx.
|
private |
Definition at line 629 of file TRTTransitionRadiation.cxx.
|
inlineprivate |
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 95 of file TRTTransitionRadiation.h.
|
private |
Definition at line 97 of file TRTTransitionRadiation.h.
|
private |
Definition at line 94 of file TRTTransitionRadiation.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 88 of file TRTTransitionRadiation.h.
|
private |
Definition at line 87 of file TRTTransitionRadiation.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 89 of file TRTTransitionRadiation.h.
|
private |
Definition at line 99 of file TRTTransitionRadiation.h.
|
private |
Definition at line 100 of file TRTTransitionRadiation.h.
|
private |
Definition at line 85 of file TRTTransitionRadiation.h.
|
private |
Definition at line 102 of file TRTTransitionRadiation.h.
|
private |
Definition at line 101 of file TRTTransitionRadiation.h.
|
private |
Definition at line 98 of file TRTTransitionRadiation.h.
|
private |
Definition at line 92 of file TRTTransitionRadiation.h.
|
private |
Definition at line 91 of file TRTTransitionRadiation.h.
|
private |
Definition at line 84 of file TRTTransitionRadiation.h.
|
private |
Definition at line 83 of file TRTTransitionRadiation.h.