ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Par02PrimaryParticleInformation Class Reference

#include <geant4/tree/geant4-10.6-release/examples/extended/parameterisations/Par02/include/Par02PrimaryParticleInformation.hh>

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

Public Member Functions

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

Private Attributes

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

Detailed Description

Primary particle information

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

Author
Anna Zaborowska

Definition at line 43 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 43 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 34 of file Par02PrimaryParticleInformation.cc.

View newest version in sPHENIX GitHub at line 34 of file Par02PrimaryParticleInformation.cc

Par02PrimaryParticleInformation::~Par02PrimaryParticleInformation ( )
virtual

Definition at line 43 of file Par02PrimaryParticleInformation.cc.

View newest version in sPHENIX GitHub at line 43 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 127 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 127 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 106 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 106 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 99 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 99 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 117 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 117 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 163 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 163 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 142 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 142 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 135 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 135 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 153 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 153 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 62 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 62 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 166 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 166 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 169 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 169 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 91 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 91 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 70 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 70 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 81 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 81 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 122 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 122 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 103 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 103 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 95 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 95 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 112 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 112 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 158 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 158 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 139 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 139 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 131 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 131 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 148 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 148 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 59 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 59 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 86 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 86 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 66 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 66 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 76 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 76 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 203 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 203 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 216 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 216 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 190 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 190 of file Par02PrimaryParticleInformation.hh

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

G4double Par02PrimaryParticleInformation::fEnergyEMCal
private

An energy deposited in the electromagnetic calorimeter.

Definition at line 196 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 196 of file Par02PrimaryParticleInformation.hh

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

G4double Par02PrimaryParticleInformation::fEnergyHCal
private

An energy deposited in the hadronic calorimeter.

Definition at line 209 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 209 of file Par02PrimaryParticleInformation.hh

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

G4ThreeVector Par02PrimaryParticleInformation::fMomentumMC
private

A particle initial momentum (from particle generator).

Definition at line 180 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 180 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 183 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 183 of file Par02PrimaryParticleInformation.hh

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

G4int Par02PrimaryParticleInformation::fPartID
private

A particle unique ID.

Definition at line 169 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 169 of file Par02PrimaryParticleInformation.hh

Referenced by GetPartID(), and Print().

G4int Par02PrimaryParticleInformation::fPDG
private

A particle type (PDG code).

Definition at line 177 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 177 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 193 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 193 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 206 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 206 of file Par02PrimaryParticleInformation.hh

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

G4double Par02PrimaryParticleInformation::fResolutionEMCal
private

The resolution of the electromagnetic calorimeter.

Definition at line 199 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 199 of file Par02PrimaryParticleInformation.hh

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

G4double Par02PrimaryParticleInformation::fResolutionHCal
private

The resolution of the hadronic calorimeter.

Definition at line 212 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 212 of file Par02PrimaryParticleInformation.hh

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

G4double Par02PrimaryParticleInformation::fResolutionTracker
private

A resolution of the tracking detector.

Definition at line 186 of file Par02PrimaryParticleInformation.hh.

View newest version in sPHENIX GitHub at line 186 of file Par02PrimaryParticleInformation.hh

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


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