Geant4
10.03.p03
|
#include <Par02FastSimModelEMCal.hh>
Public Member Functions | |
Par02FastSimModelEMCal (G4String aModelName, G4Region *aEnvelope, Par02DetectorParametrisation::Parametrisation aParamType) | |
Par02FastSimModelEMCal (G4String aModelName, G4Region *aEnvelope) | |
Par02FastSimModelEMCal (G4String aModelName) | |
~Par02FastSimModelEMCal () | |
virtual G4bool | IsApplicable (const G4ParticleDefinition &aParticle) |
virtual G4bool | ModelTrigger (const G4FastTrack &aFastTrack) |
virtual void | DoIt (const G4FastTrack &aFastTrack, G4FastStep &aFastStep) |
Public Member Functions inherited from G4VFastSimulationModel | |
G4VFastSimulationModel (const G4String &aName) | |
G4VFastSimulationModel (const G4String &aName, G4Envelope *, G4bool IsUnique=FALSE) | |
virtual | ~G4VFastSimulationModel () |
virtual G4bool | AtRestModelTrigger (const G4FastTrack &) |
virtual void | AtRestDoIt (const G4FastTrack &, G4FastStep &) |
const G4String | GetName () const |
G4bool | operator== (const G4VFastSimulationModel &) const |
Shortcut to the ordinary tracking for electromagnetic calorimeters.
The fast simulation model describes what should be done instead of a normal tracking. Instead of the ordinary tracking, a particle deposits its energy at the entrance to the electromagnetic calorimeter and its value is smeared (by Par02Smearer::SmearMomentum()). Based on G4 examples/extended/parametrisations/Par01/include/Par01EMShowerModel.hh .
Definition at line 47 of file Par02FastSimModelEMCal.hh.
Par02FastSimModelEMCal::Par02FastSimModelEMCal | ( | G4String | aModelName, |
G4Region * | aEnvelope, | ||
Par02DetectorParametrisation::Parametrisation | aParamType | ||
) |
A constructor.
aModelName | A name of the fast simulation model. |
aEnvelope | A region where the model can take over the ordinary tracking. |
aParamType | A parametrisation type. |
Definition at line 51 of file Par02FastSimModelEMCal.cc.
A constructor.
aModelName | A name of the fast simulation model. |
aEnvelope | A region where the model can take over the ordinary tracking. |
Definition at line 58 of file Par02FastSimModelEMCal.cc.
Par02FastSimModelEMCal::Par02FastSimModelEMCal | ( | G4String | aModelName | ) |
A constructor.
aModelName | A name of the fast simulation model. |
Definition at line 65 of file Par02FastSimModelEMCal.cc.
Par02FastSimModelEMCal::~Par02FastSimModelEMCal | ( | ) |
Definition at line 71 of file Par02FastSimModelEMCal.cc.
|
virtual |
Smears the energy deposit and saves it, together with the position of the deposit, the electromagnetic calorimeter resolution and efficiency to the Par02PrimaryParticleInformation.
aFastTrack | A track. |
aFastStep | A step. |
Implements G4VFastSimulationModel.
Definition at line 91 of file Par02FastSimModelEMCal.cc.
|
virtual |
Checks if this model should be applied to this particle type.
aParticle | A particle definition (type). |
Implements G4VFastSimulationModel.
Definition at line 75 of file Par02FastSimModelEMCal.cc.
|
virtual |
Checks if the model should be applied, taking into account the kinematics of a track.
aFastTrack | A track. |
Implements G4VFastSimulationModel.
Definition at line 85 of file Par02FastSimModelEMCal.cc.