54 fParametrisation( aType ) {}
119 GetUserInformation() ) )->SetEMCalPosition( Pos );
122 GetUserInformation() ) )->SetEMCalEnergy( Esm );
125 GetUserInformation() ) )->SetEMCalResolution( res );
128 GetUserInformation() ) )->SetEMCalEfficiency( eff );
136 GetUserInformation() ) )->SetEMCalEnergy( Edep );
G4int GetParentID() const
const G4Track * GetPrimaryTrack() const
Definition of detector resolution and efficiency.
static Par02Smearer * Instance()
Allows the access to the unique Par02Smearer class object.
CLHEP::Hep3Vector G4ThreeVector
virtual G4bool IsApplicable(const G4ParticleDefinition &aParticle)
Checks if this model should be applied to this particle type.
const G4DynamicParticle * GetDynamicParticle() const
~Par02FastSimModelEMCal()
const G4ThreeVector & GetPosition() const
Par02DetectorParametrisation::Parametrisation fParametrisation
A parametrisation type.
static G4Electron * Definition()
Parametrisation
A parametrisation type (CMS, ATLAS, ALEPH).
static G4Positron * Definition()
Definition of the Par02FastSimModelEMCal class.
Definition of the Par02PrimaryParticleInformation class.
void FillHistogram(G4int HNo, G4double value) const
Fills the histogram.
Definition of the Par02Smearer class.
G4double GetKineticEnergy() const
void ProposePrimaryTrackPathLength(G4double)
Definition of the Par02Output class.
static Par02Output * Instance()
Allows the access to the unique Par02Output object.
G4double GetResolution(Detector aDetector, Parametrisation aParametrisation, G4double aMomentum)
Gets the resolution of a detector for a given particle.
G4PrimaryParticle * GetPrimaryParticle() const
Par02DetectorParametrisation * fCalculateParametrisation
A pointer to Par02DetectorParametrisation used to get the efficiency and resolution of the detector f...
G4ThreeVector GetMomentum() const
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.
Primary particle information.
static G4EventManager * GetEventManager()
Par02FastSimModelEMCal(G4String aModelName, G4Region *aEnvelope, Par02DetectorParametrisation::Parametrisation aParamType)
A constructor.
void ProposeTotalEnergyDeposited(G4double anEnergyPart)
G4double GetEfficiency(Detector aDetector, Parametrisation aParametrisation, G4double aMomentum)
Gets the efficiency of a detector for a given particle.
virtual G4bool ModelTrigger(const G4FastTrack &aFastTrack)
Checks if the model should be applied, taking into account the kinematics of a track.
static G4Gamma * Definition()
G4VUserEventInformation * GetUserInformation()