Geant4  10.02.p02
Par02FastSimModelHCal Class Reference

Shortcut to the ordinary tracking for hadronic calorimeters. More...

#include <Par02FastSimModelHCal.hh>

+ Inheritance diagram for Par02FastSimModelHCal:
+ Collaboration diagram for Par02FastSimModelHCal:

Public Member Functions

 Par02FastSimModelHCal (G4String aModelName, G4Region *aEnvelope, Par02DetectorParametrisation::Parametrisation aParamType)
 A constructor. More...
 
 Par02FastSimModelHCal (G4String aModelName, G4Region *aEnvelope)
 A constructor. More...
 
 Par02FastSimModelHCal (G4String aModelName)
 A constructor. More...
 
 ~Par02FastSimModelHCal ()
 
virtual G4bool IsApplicable (const G4ParticleDefinition &aParticle)
 Checks if this model should be applied to this particle type. More...
 
virtual G4bool ModelTrigger (const G4FastTrack &aFastTrack)
 Checks if the model should be applied, taking into account the kinematics of a track. More...
 
virtual void DoIt (const G4FastTrack &aFastTrack, G4FastStep &aFastStep)
 Smears the energy deposit and saves it, together with the position of the deposit, the hadronic calorimeter resolution and efficiency to the Par02PrimaryParticleInformation. More...
 
- 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
 

Private Attributes

Par02DetectorParametrisationfCalculateParametrisation
 A pointer to Par02DetectorParametrisation used to get the efficiency and resolution of the detector for a given particle and parametrisation type. More...
 
Par02DetectorParametrisation::Parametrisation fParametrisation
 A parametrisation type. More...
 

Detailed Description

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 examples/extended/parametrisations/Par01/include/Par01EMShowerModel.hh .

Author
Anna Zaborowska

Definition at line 47 of file Par02FastSimModelHCal.hh.

Constructor & Destructor Documentation

Par02FastSimModelHCal::Par02FastSimModelHCal ( G4String  aModelName,
G4Region aEnvelope,
Par02DetectorParametrisation::Parametrisation  aParamType 
)

A constructor.

Parameters
aModelNameA name of the fast simulation model.
aEnvelopeA region where the model can take over the ordinary tracking.
aParamTypeA parametrisation type.

Definition at line 47 of file Par02FastSimModelHCal.cc.

Par02FastSimModelHCal::Par02FastSimModelHCal ( G4String  aModelName,
G4Region aEnvelope 
)

A constructor.

Parameters
aModelNameA name of the fast simulation model.
aEnvelopeA region where the model can take over the ordinary tracking.

Definition at line 54 of file Par02FastSimModelHCal.cc.

Par02FastSimModelHCal::Par02FastSimModelHCal ( G4String  aModelName)

A constructor.

Parameters
aModelNameA name of the fast simulation model.

Definition at line 61 of file Par02FastSimModelHCal.cc.

Par02FastSimModelHCal::~Par02FastSimModelHCal ( )

Definition at line 67 of file Par02FastSimModelHCal.cc.

Member Function Documentation

G4bool Par02FastSimModelHCal::IsApplicable ( const G4ParticleDefinition aParticle)
virtual

Checks if this model should be applied to this particle type.

Parameters
aParticleA particle definition (type).

Implements G4VFastSimulationModel.

Definition at line 71 of file Par02FastSimModelHCal.cc.

References G4ParticleDefinition::GetQuarkContent().

+ Here is the call graph for this function:

G4bool Par02FastSimModelHCal::ModelTrigger ( const G4FastTrack aFastTrack)
virtual

Checks if the model should be applied, taking into account the kinematics of a track.

Parameters
aFastTrackA track.

Implements G4VFastSimulationModel.

Definition at line 87 of file Par02FastSimModelHCal.cc.

Member Data Documentation

Par02DetectorParametrisation* Par02FastSimModelHCal::fCalculateParametrisation
private

A pointer to Par02DetectorParametrisation used to get the efficiency and resolution of the detector for a given particle and parametrisation type.

Definition at line 88 of file Par02FastSimModelHCal.hh.

Referenced by DoIt().

Par02DetectorParametrisation::Parametrisation Par02FastSimModelHCal::fParametrisation
private

A parametrisation type.

Definition at line 91 of file Par02FastSimModelHCal.hh.

Referenced by DoIt().


The documentation for this class was generated from the following files: