Geant4  10.02.p01
Par02PrimaryParticleInformation Class Reference

Primary particle information. More...

#include <Par02PrimaryParticleInformation.hh>

+ Inheritance diagram for Par02PrimaryParticleInformation:
+ Collaboration diagram for Par02PrimaryParticleInformation:

Public Member Functions

 Par02PrimaryParticleInformation (G4int aID, G4int aPDG, G4ThreeVector aMomentum)
 A constructor. More...
 
virtual ~Par02PrimaryParticleInformation ()
 
virtual void Print () const
 Prints the information about the particle. More...
 
void SetMCMomentum (G4ThreeVector aMomentum)
 Sets the initial particle momentum (from particle generator). More...
 
G4ThreeVector GetMCMomentum ()
 Gets the initial particle momentum (from particle generator). More...
 
void SetTrackerMomentum (G4ThreeVector aMomentum)
 Sets the particle momentum at the entrance to the tracker detector. More...
 
G4ThreeVector GetTrackerMomentum ()
 Gets the particle momentum at the entrance to the tracker detector. More...
 
void SetTrackerResolution (G4double aResolution)
 Sets the tracker detector resolution. Currently equal to -1 if AtlFast type of smearing is used. More...
 
G4double GetTrackerResolution ()
 Gets the tracking detector resolution. Currently equal to -1 if AtlFast type of smearing is used. More...
 
void SetTrackerEfficiency (G4double aEfficiency)
 Sets the tracking detector efficiency. Currently not used (efficiency is 1). More...
 
G4double GetTrackerEfficiency ()
 Gets the tracker detector efficiency. Currently not used (efficiency is 1). More...
 
void SetEMCalPosition (G4ThreeVector aPosition)
 Sets the position of the energy deposit in the electromagnetic calorimeter. More...
 
G4ThreeVector GetEMCalPosition ()
 Gets the position of the energy deposit in the electromagnetic calorimeter. More...
 
void SetEMCalEnergy (G4double aEnergy)
 Sets the energy deposit in the electromagnetic calorimeter. More...
 
G4double GetEMCalEnergy ()
 Sets the energy deposit in the electromagnetic calorimeter. More...
 
void SetEMCalResolution (G4double aResolution)
 Sets the electromagnetic calorimeter resolution. Currently equal to -1 if AtlFast type of smearing is used. More...
 
G4double GetEMCalResolution ()
 Gets the electromagnetic calorimeter resolution. Currently equal to -1 if AtlFast type of smearing is used. More...
 
void SetEMCalEfficiency (G4double aEfficiency)
 Sets the electromagnetic calorimeter efficiency. Currently not used (efficiency is 1). More...
 
G4double GetEMCalEfficiency ()
 Gets the electromagnetic calorimeter efficiency. Currently not used (efficiency is 1). More...
 
void SetHCalPosition (G4ThreeVector aPosition)
 Sets the position of the energy deposit in the hadronic calorimeter. More...
 
G4ThreeVector GetHCalPosition ()
 Gets the position of the energy deposit in the hadronic calorimeter. More...
 
void SetHCalEnergy (G4double aEnergy)
 Sets the energy deposit in the hadronic calorimeter. More...
 
G4double GetHCalEnergy ()
 Sets the energy deposit in the hadronic calorimeter. More...
 
void SetHCalResolution (G4double aResolution)
 Sets the hadronic calorimeter resolution. Currently equal to -1 if AtlFast type of smearing is used. More...
 
G4double GetHCalResolution ()
 Gets the hadronic calorimeter resolution. Currently equal to -1 if AtlFast type of smearing is used. More...
 
void SetHCalEfficiency (G4double aEfficiency)
 Sets the hadronic calorimeter efficiency. Currently not used (efficiency is 1). More...
 
G4double GetHCalEfficiency ()
 Gets the hadronic calorimeter efficiency. Currently not used (efficiency is 1). More...
 
G4int GetPartID () const
 Gets the particle unique ID (within event). Can be set only in the constructor. More...
 
G4int GetPDG () const
 Gets the standard PDG code. Can be set only in the constructor. More...
 
- Public Member Functions inherited from G4VUserPrimaryParticleInformation
 G4VUserPrimaryParticleInformation ()
 
virtual ~G4VUserPrimaryParticleInformation ()
 

Private Attributes

G4int fPartID
 A particle unique ID. More...
 
G4int fPDG
 A particle type (PDG code). More...
 
G4ThreeVector fMomentumMC
 A particle initial momentum (from particle generator). More...
 
G4ThreeVector fMomentumTracker
 A particle momentum at the entrance to the tracking detector. More...
 
G4double fResolutionTracker
 A resolution of the tracking detector. More...
 
G4double fEfficiencyTracker
 An efficiency of the tracking detector. Currently not used (equal to 1). More...
 
G4ThreeVector fPositionEMCal
 A position of the energy deposited in the electromagnetic calorimeter. More...
 
G4double fEnergyEMCal
 An energy deposited in the electromagnetic calorimeter. More...
 
G4double fResolutionEMCal
 The resolution of the electromagnetic calorimeter. More...
 
G4double fEfficiencyEMCal
 The efficiency of the electromagnetic calorimeter. Currently not used (equal to 1). More...
 
G4ThreeVector fPositionHCal
 A position of the energy deposited in the hadronic calorimeter. More...
 
G4double fEnergyHCal
 An energy deposited in the hadronic calorimeter. More...
 
G4double fResolutionHCal
 The resolution of the hadronic calorimeter. More...
 
G4double fEfficiencyHCal
 The efficiency of the hadronic calorimeter. Currently not used (equal to 1). More...
 

Detailed Description

Primary particle information.

Describes the information that can be associated with a G4PrimaryParticle class object.

Author
Anna Zaborowska

Definition at line 44 of file Par02PrimaryParticleInformation.hh.

Constructor & Destructor Documentation

Par02PrimaryParticleInformation::Par02PrimaryParticleInformation ( G4int  aID,
G4int  aPDG,
G4ThreeVector  aMomentum 
)

A constructor.

Parameters
aIDA unique particle ID within event.
aPDGA PDG code of the particle.
aMomentumAn initial particle momentum (at the primary vertex).

Definition at line 35 of file Par02PrimaryParticleInformation.cc.

Par02PrimaryParticleInformation::~Par02PrimaryParticleInformation ( )
virtual

Definition at line 44 of file Par02PrimaryParticleInformation.cc.

Member Function Documentation

G4double Par02PrimaryParticleInformation::GetEMCalEfficiency ( )
inline

Gets the electromagnetic calorimeter efficiency. Currently not used (efficiency is 1).

Definition at line 128 of file Par02PrimaryParticleInformation.hh.

References fEfficiencyEMCal.

Referenced by Par02TrackingAction::PostUserTrackingAction().

+ Here is the caller graph for this function:

G4double Par02PrimaryParticleInformation::GetEMCalEnergy ( )
inline

Sets the energy deposit in the electromagnetic calorimeter.

Definition at line 107 of file Par02PrimaryParticleInformation.hh.

References fEnergyEMCal.

Referenced by Par02TrackingAction::PostUserTrackingAction().

+ Here is the caller graph for this function:

G4ThreeVector Par02PrimaryParticleInformation::GetEMCalPosition ( )
inline

Gets the position of the energy deposit in the electromagnetic calorimeter.

Definition at line 100 of file Par02PrimaryParticleInformation.hh.

References fPositionEMCal.

Referenced by Par02TrackingAction::PostUserTrackingAction().

+ Here is the caller graph for this function:

G4double Par02PrimaryParticleInformation::GetEMCalResolution ( )
inline

Gets the electromagnetic calorimeter resolution. Currently equal to -1 if AtlFast type of smearing is used.

Definition at line 118 of file Par02PrimaryParticleInformation.hh.

References fResolutionEMCal.

Referenced by Par02TrackingAction::PostUserTrackingAction().

+ Here is the caller graph for this function:

G4double Par02PrimaryParticleInformation::GetHCalEfficiency ( )
inline

Gets the hadronic calorimeter efficiency. Currently not used (efficiency is 1).

Definition at line 164 of file Par02PrimaryParticleInformation.hh.

References fEfficiencyHCal.

Referenced by Par02TrackingAction::PostUserTrackingAction().

+ Here is the caller graph for this function:

G4double Par02PrimaryParticleInformation::GetHCalEnergy ( )
inline

Sets the energy deposit in the hadronic calorimeter.

Definition at line 143 of file Par02PrimaryParticleInformation.hh.

References fEnergyHCal.

Referenced by Par02TrackingAction::PostUserTrackingAction().

+ Here is the caller graph for this function:

G4ThreeVector Par02PrimaryParticleInformation::GetHCalPosition ( )
inline

Gets the position of the energy deposit in the hadronic calorimeter.

Definition at line 136 of file Par02PrimaryParticleInformation.hh.

References fPositionHCal.

Referenced by Par02TrackingAction::PostUserTrackingAction().

+ Here is the caller graph for this function:

G4double Par02PrimaryParticleInformation::GetHCalResolution ( )
inline

Gets the hadronic calorimeter resolution. Currently equal to -1 if AtlFast type of smearing is used.

Definition at line 154 of file Par02PrimaryParticleInformation.hh.

References fResolutionHCal.

Referenced by Par02TrackingAction::PostUserTrackingAction().

+ Here is the caller graph for this function:

G4ThreeVector Par02PrimaryParticleInformation::GetMCMomentum ( )
inline

Gets the initial particle momentum (from particle generator).

Definition at line 63 of file Par02PrimaryParticleInformation.hh.

References fMomentumMC.

Referenced by Par02TrackingAction::PostUserTrackingAction().

+ Here is the caller graph for this function:

G4int Par02PrimaryParticleInformation::GetPartID ( ) const
inline

Gets the particle unique ID (within event). Can be set only in the constructor.

Definition at line 167 of file Par02PrimaryParticleInformation.hh.

References fPartID.

Referenced by Par02TrackingAction::PostUserTrackingAction().

+ Here is the caller graph for this function:

G4int Par02PrimaryParticleInformation::GetPDG ( ) const
inline

Gets the standard PDG code. Can be set only in the constructor.

Definition at line 170 of file Par02PrimaryParticleInformation.hh.

References fPDG.

Referenced by Par02TrackingAction::PostUserTrackingAction().

+ Here is the caller graph for this function:

G4double Par02PrimaryParticleInformation::GetTrackerEfficiency ( )
inline

Gets the tracker detector efficiency. Currently not used (efficiency is 1).

Definition at line 92 of file Par02PrimaryParticleInformation.hh.

References fEfficiencyTracker.

Referenced by Par02TrackingAction::PostUserTrackingAction().

+ Here is the caller graph for this function:

G4ThreeVector Par02PrimaryParticleInformation::GetTrackerMomentum ( )
inline

Gets the particle momentum at the entrance to the tracker detector.

Definition at line 71 of file Par02PrimaryParticleInformation.hh.

References fMomentumTracker.

Referenced by Par02TrackingAction::PostUserTrackingAction().

+ Here is the caller graph for this function:

G4double Par02PrimaryParticleInformation::GetTrackerResolution ( )
inline

Gets the tracking detector resolution. Currently equal to -1 if AtlFast type of smearing is used.

Definition at line 82 of file Par02PrimaryParticleInformation.hh.

References fResolutionTracker.

Referenced by Par02TrackingAction::PostUserTrackingAction().

+ Here is the caller graph for this function:

void Par02PrimaryParticleInformation::Print ( void  ) const
virtual
void Par02PrimaryParticleInformation::SetEMCalEfficiency ( G4double  aEfficiency)
inline

Sets the electromagnetic calorimeter efficiency. Currently not used (efficiency is 1).

Parameters
aEfficiencyThe detector efficiency.

Definition at line 123 of file Par02PrimaryParticleInformation.hh.

References fEfficiencyEMCal.

void Par02PrimaryParticleInformation::SetEMCalEnergy ( G4double  aEnergy)
inline

Sets the energy deposit in the electromagnetic calorimeter.

Parameters
aEnergyThe energy deposited in the detector.

Definition at line 104 of file Par02PrimaryParticleInformation.hh.

References fEnergyEMCal.

void Par02PrimaryParticleInformation::SetEMCalPosition ( G4ThreeVector  aPosition)
inline

Sets the position of the energy deposit in the electromagnetic calorimeter.

Parameters
aPositionThe position of the energy deposit.

Definition at line 96 of file Par02PrimaryParticleInformation.hh.

References fPositionEMCal.

void Par02PrimaryParticleInformation::SetEMCalResolution ( G4double  aResolution)
inline

Sets the electromagnetic calorimeter resolution. Currently equal to -1 if AtlFast type of smearing is used.

Parameters
aResolutionThe calorimeter resolution (particle type and momentum dependent).

Definition at line 113 of file Par02PrimaryParticleInformation.hh.

References fResolutionEMCal.

void Par02PrimaryParticleInformation::SetHCalEfficiency ( G4double  aEfficiency)
inline

Sets the hadronic calorimeter efficiency. Currently not used (efficiency is 1).

Parameters
aEfficiencyThe detector efficiency.

Definition at line 159 of file Par02PrimaryParticleInformation.hh.

References fEfficiencyHCal.

Referenced by Par02FastSimModelHCal::DoIt().

+ Here is the caller graph for this function:

void Par02PrimaryParticleInformation::SetHCalEnergy ( G4double  aEnergy)
inline

Sets the energy deposit in the hadronic calorimeter.

Parameters
aEnergyThe energy deposited in the detector.

Definition at line 140 of file Par02PrimaryParticleInformation.hh.

References fEnergyHCal.

Referenced by Par02FastSimModelHCal::DoIt().

+ Here is the caller graph for this function:

void Par02PrimaryParticleInformation::SetHCalPosition ( G4ThreeVector  aPosition)
inline

Sets the position of the energy deposit in the hadronic calorimeter.

Parameters
aPositionThe position of the energy deposit.

Definition at line 132 of file Par02PrimaryParticleInformation.hh.

References fPositionHCal.

Referenced by Par02FastSimModelHCal::DoIt().

+ Here is the caller graph for this function:

void Par02PrimaryParticleInformation::SetHCalResolution ( G4double  aResolution)
inline

Sets the hadronic calorimeter resolution. Currently equal to -1 if AtlFast type of smearing is used.

Parameters
aResolutionThe calorimeter resolution (particle type and momentum dependent).

Definition at line 149 of file Par02PrimaryParticleInformation.hh.

References fResolutionHCal.

Referenced by Par02FastSimModelHCal::DoIt().

+ Here is the caller graph for this function:

void Par02PrimaryParticleInformation::SetMCMomentum ( G4ThreeVector  aMomentum)
inline

Sets the initial particle momentum (from particle generator).

Parameters
aMomentumThe particle momentum.

Definition at line 60 of file Par02PrimaryParticleInformation.hh.

References fMomentumMC.

void Par02PrimaryParticleInformation::SetTrackerEfficiency ( G4double  aEfficiency)
inline

Sets the tracking detector efficiency. Currently not used (efficiency is 1).

Parameters
aEfficiencyThe detector efficiency.

Definition at line 87 of file Par02PrimaryParticleInformation.hh.

References fEfficiencyTracker.

void Par02PrimaryParticleInformation::SetTrackerMomentum ( G4ThreeVector  aMomentum)
inline

Sets the particle momentum at the entrance to the tracker detector.

Parameters
aMomentumThe particle momentum.

Definition at line 67 of file Par02PrimaryParticleInformation.hh.

References fMomentumTracker.

void Par02PrimaryParticleInformation::SetTrackerResolution ( G4double  aResolution)
inline

Sets the tracker detector resolution. Currently equal to -1 if AtlFast type of smearing is used.

Parameters
aResolutionThe detector resolution (particle type and momentum dependent).

Definition at line 77 of file Par02PrimaryParticleInformation.hh.

References fResolutionTracker.

Member Data Documentation

G4double Par02PrimaryParticleInformation::fEfficiencyEMCal
private

The efficiency of the electromagnetic calorimeter. Currently not used (equal to 1).

Definition at line 204 of file Par02PrimaryParticleInformation.hh.

Referenced by GetEMCalEfficiency(), Print(), and SetEMCalEfficiency().

G4double Par02PrimaryParticleInformation::fEfficiencyHCal
private

The efficiency of the hadronic calorimeter. Currently not used (equal to 1).

Definition at line 217 of file Par02PrimaryParticleInformation.hh.

Referenced by GetHCalEfficiency(), Print(), and SetHCalEfficiency().

G4double Par02PrimaryParticleInformation::fEfficiencyTracker
private

An efficiency of the tracking detector. Currently not used (equal to 1).

Definition at line 191 of file Par02PrimaryParticleInformation.hh.

Referenced by GetTrackerEfficiency(), Print(), and SetTrackerEfficiency().

G4double Par02PrimaryParticleInformation::fEnergyEMCal
private

An energy deposited in the electromagnetic calorimeter.

Definition at line 197 of file Par02PrimaryParticleInformation.hh.

Referenced by GetEMCalEnergy(), Print(), and SetEMCalEnergy().

G4double Par02PrimaryParticleInformation::fEnergyHCal
private

An energy deposited in the hadronic calorimeter.

Definition at line 210 of file Par02PrimaryParticleInformation.hh.

Referenced by GetHCalEnergy(), Print(), and SetHCalEnergy().

G4ThreeVector Par02PrimaryParticleInformation::fMomentumMC
private

A particle initial momentum (from particle generator).

Definition at line 181 of file Par02PrimaryParticleInformation.hh.

Referenced by GetMCMomentum(), Print(), and SetMCMomentum().

G4ThreeVector Par02PrimaryParticleInformation::fMomentumTracker
private

A particle momentum at the entrance to the tracking detector.

Definition at line 184 of file Par02PrimaryParticleInformation.hh.

Referenced by GetTrackerMomentum(), Print(), and SetTrackerMomentum().

G4int Par02PrimaryParticleInformation::fPartID
private

A particle unique ID.

Definition at line 170 of file Par02PrimaryParticleInformation.hh.

Referenced by GetPartID(), and Print().

G4int Par02PrimaryParticleInformation::fPDG
private

A particle type (PDG code).

Definition at line 178 of file Par02PrimaryParticleInformation.hh.

Referenced by GetPDG(), and Print().

G4ThreeVector Par02PrimaryParticleInformation::fPositionEMCal
private

A position of the energy deposited in the electromagnetic calorimeter.

Definition at line 194 of file Par02PrimaryParticleInformation.hh.

Referenced by GetEMCalPosition(), Print(), and SetEMCalPosition().

G4ThreeVector Par02PrimaryParticleInformation::fPositionHCal
private

A position of the energy deposited in the hadronic calorimeter.

Definition at line 207 of file Par02PrimaryParticleInformation.hh.

Referenced by GetHCalPosition(), Print(), and SetHCalPosition().

G4double Par02PrimaryParticleInformation::fResolutionEMCal
private

The resolution of the electromagnetic calorimeter.

Definition at line 200 of file Par02PrimaryParticleInformation.hh.

Referenced by GetEMCalResolution(), Print(), and SetEMCalResolution().

G4double Par02PrimaryParticleInformation::fResolutionHCal
private

The resolution of the hadronic calorimeter.

Definition at line 213 of file Par02PrimaryParticleInformation.hh.

Referenced by GetHCalResolution(), Print(), and SetHCalResolution().

G4double Par02PrimaryParticleInformation::fResolutionTracker
private

A resolution of the tracking detector.

Definition at line 187 of file Par02PrimaryParticleInformation.hh.

Referenced by GetTrackerResolution(), Print(), and SetTrackerResolution().


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