#include <SimG4Fast/include/SimG4Fast/FastSimModelTracker.h>
|
| | FastSimModelTracker (const std::string &aModelName, G4Region *aEnvelope, ToolHandle< ISimG4ParticleSmearTool > &aSmearTool, double aMinMomentum, double aMaxMomentum, double aMaxEta) |
| | Constructor.
|
| |
| | FastSimModelTracker (const std::string &aModelName, ToolHandle< ISimG4ParticleSmearTool > &aSmearTool) |
| | Constructor.
|
| |
| virtual | ~FastSimModelTracker () |
| |
| virtual G4bool | IsApplicable (const G4ParticleDefinition &aParticle) final |
| | Check if this model should be applied to this particle type.
|
| |
| virtual G4bool | ModelTrigger (const G4FastTrack &aFastTrack) final |
| | Check if the model should be applied taking into account the kinematics of a track.
|
| |
| virtual void | DoIt (const G4FastTrack &aFastTrack, G4FastStep &aFastStep) final |
| | Apply the parametrisation.
|
| |
◆ FastSimModelTracker() [1/2]
| sim::FastSimModelTracker::FastSimModelTracker |
( |
const std::string & | aModelName, |
|
|
G4Region * | aEnvelope, |
|
|
ToolHandle< ISimG4ParticleSmearTool > & | aSmearTool, |
|
|
double | aMinMomentum, |
|
|
double | aMaxMomentum, |
|
|
double | aMaxEta ) |
|
explicit |
Constructor.
- Parameters
-
| aModelName | Name of the fast simulation model. |
| aEnvelope | Region where the model can take over the ordinary tracking. |
| aSmearToolType | Type of the implementation of ISimG4ParticleSmearTool (conrete class name) to be searched for by ToolSvc. |
| aSmearToolName | Name of the implementation of ISimG4ParticleSmearTool to be searched for by ToolSvc. |
| aMinMomentum | Minimum particle momentum that triggers that model |
| aMinMomentum | Maximum particle momentum that triggers that model |
| aMinMomentum | Maximum pseudorapidity that triggers that model |
◆ FastSimModelTracker() [2/2]
| sim::FastSimModelTracker::FastSimModelTracker |
( |
const std::string & | aModelName, |
|
|
ToolHandle< ISimG4ParticleSmearTool > & | aSmearTool ) |
|
explicit |
Constructor.
- Parameters
-
| aModelName | Name of the fast simulation model. |
◆ ~FastSimModelTracker()
| sim::FastSimModelTracker::~FastSimModelTracker |
( |
| ) |
|
|
virtual |
◆ DoIt()
| void sim::FastSimModelTracker::DoIt |
( |
const G4FastTrack & | aFastTrack, |
|
|
G4FastStep & | aFastStep ) |
|
finalvirtual |
Apply the parametrisation.
Move the particle to the exit from the volume along the computed trajectory. Smear the momentum with the smearing tool m_smearTool.
- Parameters
-
| aFastTrack | Track. |
| aFastStep | Step. |
◆ IsApplicable()
| G4bool sim::FastSimModelTracker::IsApplicable |
( |
const G4ParticleDefinition & | aParticle | ) |
|
|
finalvirtual |
Check if this model should be applied to this particle type.
- Parameters
-
| aParticle | Particle definition (type). |
◆ ModelTrigger()
| G4bool sim::FastSimModelTracker::ModelTrigger |
( |
const G4FastTrack & | aFastTrack | ) |
|
|
finalvirtual |
Check if the model should be applied taking into account the kinematics of a track.
- Parameters
-
◆ m_log
| MsgStream sim::FastSimModelTracker::m_log |
|
private |
◆ m_maxTriggerEta
| double sim::FastSimModelTracker::m_maxTriggerEta |
|
private |
maximum eta that triggers model
◆ m_maxTriggerMomentum
| double sim::FastSimModelTracker::m_maxTriggerMomentum |
|
private |
maximum P that triggers model
◆ m_minTriggerMomentum
| double sim::FastSimModelTracker::m_minTriggerMomentum |
|
private |
minimum P that triggers model
◆ m_msgSvc
| ServiceHandle<IMessageSvc> sim::FastSimModelTracker::m_msgSvc |
|
private |
◆ m_smearTool
Pointer to a smearing tool.
The documentation for this class was generated from the following files: