Import Geant4 11.3.0.beta source tree
This commit is contained in:
@@ -30,58 +30,58 @@
|
||||
#ifndef PAR02_HCAL_FAST_SIM_MODEL_H
|
||||
#define PAR02_HCAL_FAST_SIM_MODEL_H
|
||||
|
||||
#include "G4VFastSimulationModel.hh"
|
||||
#include "Par02DetectorParametrisation.hh"
|
||||
|
||||
#include "G4Step.hh"
|
||||
#include "G4VFastSimulationModel.hh"
|
||||
|
||||
/// Shortcut to the ordinary tracking for hadronic calorimeters.
|
||||
///
|
||||
/// 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 hadronic calorimeter and its value
|
||||
/// is smeared (by Par02Smearer::SmearMomentum()). Based on G4
|
||||
/// is smeared (by Par02Smearer::SmearMomentum()). Based on G4
|
||||
/// examples/extended/parametrisations/Par01/include/Par01EMShowerModel.hh .
|
||||
/// @author Anna Zaborowska
|
||||
|
||||
class Par02FastSimModelHCal : public G4VFastSimulationModel {
|
||||
class Par02FastSimModelHCal : public G4VFastSimulationModel
|
||||
{
|
||||
public:
|
||||
|
||||
/// A constructor.
|
||||
/// @param aModelName A name of the fast simulation model.
|
||||
/// @param aEnvelope A region where the model can take over the ordinary tracking.
|
||||
/// @param aParamType A parametrisation type.
|
||||
Par02FastSimModelHCal( G4String aModelName, G4Region* aEnvelope,
|
||||
Par02DetectorParametrisation::Parametrisation aParamType );
|
||||
|
||||
Par02FastSimModelHCal(G4String aModelName, G4Region* aEnvelope,
|
||||
Par02DetectorParametrisation::Parametrisation aParamType);
|
||||
|
||||
/// A constructor.
|
||||
/// @param aModelName A name of the fast simulation model.
|
||||
/// @param aEnvelope A region where the model can take over the ordinary tracking.
|
||||
Par02FastSimModelHCal( G4String aModelName, G4Region* aEnvelope );
|
||||
|
||||
Par02FastSimModelHCal(G4String aModelName, G4Region* aEnvelope);
|
||||
|
||||
/// A constructor.
|
||||
/// @param aModelName A name of the fast simulation model.
|
||||
Par02FastSimModelHCal( G4String aModelName );
|
||||
Par02FastSimModelHCal(G4String aModelName);
|
||||
|
||||
~Par02FastSimModelHCal();
|
||||
|
||||
|
||||
/// Checks if this model should be applied to this particle type.
|
||||
/// @param aParticle A particle definition (type).
|
||||
virtual G4bool IsApplicable( const G4ParticleDefinition& aParticle );
|
||||
|
||||
virtual G4bool IsApplicable(const G4ParticleDefinition& aParticle);
|
||||
|
||||
/// Checks if the model should be applied, taking into account the
|
||||
/// kinematics of a track.
|
||||
/// @param aFastTrack A track.
|
||||
virtual G4bool ModelTrigger( const G4FastTrack& aFastTrack );
|
||||
|
||||
virtual G4bool ModelTrigger(const G4FastTrack& aFastTrack);
|
||||
|
||||
/// Smears the energy deposit and saves it, together with the
|
||||
/// position of the deposit, the hadronic calorimeter resolution and
|
||||
/// efficiency to the Par02PrimaryParticleInformation.
|
||||
/// @param aFastTrack A track.
|
||||
/// @param aFastStep A step.
|
||||
virtual void DoIt( const G4FastTrack& aFastTrack, G4FastStep& aFastStep );
|
||||
virtual void DoIt(const G4FastTrack& aFastTrack, G4FastStep& aFastStep);
|
||||
|
||||
private:
|
||||
|
||||
/// A pointer to Par02DetectorParametrisation used to get the efficiency and
|
||||
/// resolution of the detector for a given particle and parametrisation type.
|
||||
Par02DetectorParametrisation* fCalculateParametrisation;
|
||||
@@ -91,4 +91,3 @@ class Par02FastSimModelHCal : public G4VFastSimulationModel {
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user