31 #ifndef PAR02_EMCAL_FAST_SIM_MODEL_H
32 #define PAR02_EMCAL_FAST_SIM_MODEL_H
Definition of detector resolution and efficiency.
virtual G4bool IsApplicable(const G4ParticleDefinition &aParticle)
Checks if this model should be applied to this particle type.
Definition of the Par02DetectorParameterisation class.
~Par02FastSimModelEMCal()
Par02DetectorParametrisation::Parametrisation fParametrisation
A parametrisation type.
Parametrisation
A parametrisation type (CMS, ATLAS, ALEPH).
Shortcut to the ordinary tracking for electromagnetic calorimeters.
Par02DetectorParametrisation * fCalculateParametrisation
A pointer to Par02DetectorParametrisation used to get the efficiency and resolution of the detector f...
virtual void DoIt(const G4FastTrack &aFastTrack, G4FastStep &aFastStep)
Smears the energy deposit and saves it, together with the position of the deposit, the electromagnetic calorimeter resolution and efficiency to the Par02PrimaryParticleInformation.
Par02FastSimModelEMCal(G4String aModelName, G4Region *aEnvelope, Par02DetectorParametrisation::Parametrisation aParamType)
A constructor.
virtual G4bool ModelTrigger(const G4FastTrack &aFastTrack)
Checks if the model should be applied, taking into account the kinematics of a track.