Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Par02PrimaryParticleInformation Class Reference

Primary particle information. More...

#include <Doxymodules_parameterisations.h>

Inheritance diagram for Par02PrimaryParticleInformation:
G4VUserPrimaryParticleInformation

Public Member Functions

 Par02PrimaryParticleInformation (G4int aID, G4int aPDG, G4ThreeVector aMomentum)
 A constructor.
 
virtual ~Par02PrimaryParticleInformation ()
 
virtual void Print () const
 Prints the information about the particle.
 
void SetMCMomentum (G4ThreeVector aMomentum)
 Sets the initial particle momentum (from particle generator).
 
G4ThreeVector GetMCMomentum ()
 Gets the initial particle momentum (from particle generator).
 
void SetTrackerMomentum (G4ThreeVector aMomentum)
 Sets the particle momentum at the entrance to the tracker detector.
 
G4ThreeVector GetTrackerMomentum ()
 Gets the particle momentum at the entrance to the tracker detector.
 
void SetTrackerResolution (G4double aResolution)
 Sets the tracker detector resolution.
 
G4double GetTrackerResolution ()
 Gets the tracking detector resolution.
 
void SetTrackerEfficiency (G4double aEfficiency)
 Sets the tracking detector efficiency.
 
G4double GetTrackerEfficiency ()
 Gets the tracker detector efficiency.
 
void SetEMCalPosition (G4ThreeVector aPosition)
 Sets the position of the energy deposit in the electromagnetic calorimeter.
 
G4ThreeVector GetEMCalPosition ()
 Gets the position of the energy deposit in the electromagnetic calorimeter.
 
void SetEMCalEnergy (G4double aEnergy)
 Sets the energy deposit in the electromagnetic calorimeter.
 
G4double GetEMCalEnergy ()
 Sets the energy deposit in the electromagnetic calorimeter.
 
void SetEMCalResolution (G4double aResolution)
 Sets the electromagnetic calorimeter resolution.
 
G4double GetEMCalResolution ()
 Gets the electromagnetic calorimeter resolution.
 
void SetEMCalEfficiency (G4double aEfficiency)
 Sets the electromagnetic calorimeter efficiency.
 
G4double GetEMCalEfficiency ()
 Gets the electromagnetic calorimeter efficiency.
 
void SetHCalPosition (G4ThreeVector aPosition)
 Sets the position of the energy deposit in the hadronic calorimeter.
 
G4ThreeVector GetHCalPosition ()
 Gets the position of the energy deposit in the hadronic calorimeter.
 
void SetHCalEnergy (G4double aEnergy)
 Sets the energy deposit in the hadronic calorimeter.
 
G4double GetHCalEnergy ()
 Sets the energy deposit in the hadronic calorimeter.
 
void SetHCalResolution (G4double aResolution)
 Sets the hadronic calorimeter resolution.
 
G4double GetHCalResolution ()
 Gets the hadronic calorimeter resolution.
 
void SetHCalEfficiency (G4double aEfficiency)
 Sets the hadronic calorimeter efficiency.
 
G4double GetHCalEfficiency ()
 Gets the hadronic calorimeter efficiency.
 
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.
 

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
 An efficiency of the tracking detector.
 
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
 The efficiency of the electromagnetic calorimeter.
 
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
 The efficiency of the hadronic calorimeter.
 

Detailed Description

Primary particle information.

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

Author
Anna Zaborowska

Definition at line 47 of file Doxymodules_parameterisations.h.

Constructor & Destructor Documentation

◆ Par02PrimaryParticleInformation()

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.

35 :
36 fPartID( aPartID ), fPDG( aPDG ), fMomentumMC( aMomentum ),
G4double fEnergyHCal
An energy deposited in the hadronic calorimeter.
G4ThreeVector fMomentumTracker
A particle momentum at the entrance to the tracking detector.
G4ThreeVector fPositionEMCal
A position of the energy deposited in the electromagnetic calorimeter.
G4ThreeVector fMomentumMC
A particle initial momentum (from particle generator).
G4double fEfficiencyHCal
The efficiency of the hadronic calorimeter.
G4double fResolutionHCal
The resolution of the hadronic calorimeter.
G4double fEfficiencyEMCal
The efficiency of the electromagnetic calorimeter.
G4double fEnergyEMCal
An energy deposited in the electromagnetic calorimeter.
G4double fEfficiencyTracker
An efficiency of the tracking detector.
G4double fResolutionEMCal
The resolution of the electromagnetic calorimeter.
G4ThreeVector fPositionHCal
A position of the energy deposited in the hadronic calorimeter.
G4double fResolutionTracker
A resolution of the tracking detector.

◆ ~Par02PrimaryParticleInformation()

Par02PrimaryParticleInformation::~Par02PrimaryParticleInformation ( )
virtualdefault

Member Function Documentation

◆ Print()

void Par02PrimaryParticleInformation::Print ( ) const
virtual

Prints the information about the particle.

Definition at line 47 of file Par02PrimaryParticleInformation.cc.

47 {
48 G4cout << "Par02PrimaryParticleInformation: PDG code " << fPDG << G4endl
49 << "Particle unique ID: " << fPartID << G4endl
50 << "MC momentum: " << fMomentumMC << G4endl
51 << "Tracker momentum: " << fMomentumTracker << G4endl
52 << "Tracker resolution: " << fResolutionTracker << G4endl
53 << "Tracker efficiency: " << fEfficiencyTracker << G4endl
54 << "EMCal energy: " << fEnergyEMCal << " at " << fPositionEMCal << G4endl
55 << "EMCal resolution: " << fResolutionEMCal << G4endl
56 << "EMCal efficiency: " << fEfficiencyEMCal << G4endl
57 << "HCal energy: " << fEnergyHCal << " at "<< fPositionHCal << G4endl
58 << "HCal resolution: " << fResolutionHCal << G4endl
59 << "HCal efficiency: " << fEfficiencyHCal << G4endl;
60}

◆ SetMCMomentum()

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.

59{ fMomentumMC = aMomentum; };

◆ GetMCMomentum()

G4ThreeVector Par02PrimaryParticleInformation::GetMCMomentum ( )
inline

Gets the initial particle momentum (from particle generator).

Definition at line 62 of file Par02PrimaryParticleInformation.hh.

62{ return fMomentumMC; };

◆ SetTrackerMomentum()

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.

67 { fMomentumTracker = aMomentum; };

◆ GetTrackerMomentum()

G4ThreeVector Par02PrimaryParticleInformation::GetTrackerMomentum ( )
inline

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

Definition at line 70 of file Par02PrimaryParticleInformation.hh.

70{ return fMomentumTracker; }

◆ SetTrackerResolution()

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.

77 { fResolutionTracker = aResolution; };

◆ GetTrackerResolution()

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.

81{ return fResolutionTracker; };

◆ SetTrackerEfficiency()

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.

87 { fEfficiencyTracker = aEfficiency; };

◆ GetTrackerEfficiency()

G4double Par02PrimaryParticleInformation::GetTrackerEfficiency ( )
inline

Gets the tracker detector efficiency.

Currently not used (efficiency is 1).

Definition at line 91 of file Par02PrimaryParticleInformation.hh.

91{ return fEfficiencyTracker; };

◆ SetEMCalPosition()

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.

96 { fPositionEMCal = aPosition; };

◆ GetEMCalPosition()

G4ThreeVector Par02PrimaryParticleInformation::GetEMCalPosition ( )
inline

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

Definition at line 99 of file Par02PrimaryParticleInformation.hh.

99{ return fPositionEMCal; };

◆ SetEMCalEnergy()

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.

103{ fEnergyEMCal = aEnergy; };

◆ GetEMCalEnergy()

G4double Par02PrimaryParticleInformation::GetEMCalEnergy ( )
inline

Sets the energy deposit in the electromagnetic calorimeter.

Definition at line 106 of file Par02PrimaryParticleInformation.hh.

106{ return fEnergyEMCal; };

◆ SetEMCalResolution()

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.

113 { fResolutionEMCal = aResolution; };

◆ GetEMCalResolution()

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.

117{ return fResolutionEMCal; };

◆ SetEMCalEfficiency()

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.

123 { fEfficiencyEMCal = aEfficiency; };

◆ GetEMCalEfficiency()

G4double Par02PrimaryParticleInformation::GetEMCalEfficiency ( )
inline

Gets the electromagnetic calorimeter efficiency.

Currently not used (efficiency is 1).

Definition at line 127 of file Par02PrimaryParticleInformation.hh.

127{ return fEfficiencyEMCal; };

◆ SetHCalPosition()

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.

132 { fPositionHCal = aPosition; };

◆ GetHCalPosition()

G4ThreeVector Par02PrimaryParticleInformation::GetHCalPosition ( )
inline

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

Definition at line 135 of file Par02PrimaryParticleInformation.hh.

135{ return fPositionHCal; };

◆ SetHCalEnergy()

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.

139{ fEnergyHCal = aEnergy; };

◆ GetHCalEnergy()

G4double Par02PrimaryParticleInformation::GetHCalEnergy ( )
inline

Sets the energy deposit in the hadronic calorimeter.

Definition at line 142 of file Par02PrimaryParticleInformation.hh.

142{ return fEnergyHCal; };

◆ SetHCalResolution()

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.

149 { fResolutionHCal = aResolution; };

◆ GetHCalResolution()

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.

153{ return fResolutionHCal; };

◆ SetHCalEfficiency()

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.

159 { fEfficiencyHCal = aEfficiency; };

◆ GetHCalEfficiency()

G4double Par02PrimaryParticleInformation::GetHCalEfficiency ( )
inline

Gets the hadronic calorimeter efficiency.

Currently not used (efficiency is 1).

Definition at line 163 of file Par02PrimaryParticleInformation.hh.

163{ return fEfficiencyHCal; };

◆ GetPartID()

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.

166{ return fPartID; };

◆ GetPDG()

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.

169{ return fPDG; };

Member Data Documentation

◆ fPartID

G4int Par02PrimaryParticleInformation::fPartID
private

A particle unique ID.

Definition at line 174 of file Par02PrimaryParticleInformation.hh.

◆ fPDG

G4int Par02PrimaryParticleInformation::fPDG
private

A particle type (PDG code).

Definition at line 177 of file Par02PrimaryParticleInformation.hh.

◆ fMomentumMC

G4ThreeVector Par02PrimaryParticleInformation::fMomentumMC
private

A particle initial momentum (from particle generator).

Definition at line 180 of file Par02PrimaryParticleInformation.hh.

◆ fMomentumTracker

G4ThreeVector Par02PrimaryParticleInformation::fMomentumTracker
private

A particle momentum at the entrance to the tracking detector.

Definition at line 183 of file Par02PrimaryParticleInformation.hh.

◆ fResolutionTracker

G4double Par02PrimaryParticleInformation::fResolutionTracker
private

A resolution of the tracking detector.

Definition at line 186 of file Par02PrimaryParticleInformation.hh.

◆ fEfficiencyTracker

G4double Par02PrimaryParticleInformation::fEfficiencyTracker
private

An efficiency of the tracking detector.

Currently not used (equal to 1).

Definition at line 190 of file Par02PrimaryParticleInformation.hh.

◆ fPositionEMCal

G4ThreeVector Par02PrimaryParticleInformation::fPositionEMCal
private

A position of the energy deposited in the electromagnetic calorimeter.

Definition at line 193 of file Par02PrimaryParticleInformation.hh.

◆ fEnergyEMCal

G4double Par02PrimaryParticleInformation::fEnergyEMCal
private

An energy deposited in the electromagnetic calorimeter.

Definition at line 196 of file Par02PrimaryParticleInformation.hh.

◆ fResolutionEMCal

G4double Par02PrimaryParticleInformation::fResolutionEMCal
private

The resolution of the electromagnetic calorimeter.

Definition at line 199 of file Par02PrimaryParticleInformation.hh.

◆ fEfficiencyEMCal

G4double Par02PrimaryParticleInformation::fEfficiencyEMCal
private

The efficiency of the electromagnetic calorimeter.

Currently not used (equal to 1).

Definition at line 203 of file Par02PrimaryParticleInformation.hh.

◆ fPositionHCal

G4ThreeVector Par02PrimaryParticleInformation::fPositionHCal
private

A position of the energy deposited in the hadronic calorimeter.

Definition at line 206 of file Par02PrimaryParticleInformation.hh.

◆ fEnergyHCal

G4double Par02PrimaryParticleInformation::fEnergyHCal
private

An energy deposited in the hadronic calorimeter.

Definition at line 209 of file Par02PrimaryParticleInformation.hh.

◆ fResolutionHCal

G4double Par02PrimaryParticleInformation::fResolutionHCal
private

The resolution of the hadronic calorimeter.

Definition at line 212 of file Par02PrimaryParticleInformation.hh.

◆ fEfficiencyHCal

G4double Par02PrimaryParticleInformation::fEfficiencyHCal
private

The efficiency of the hadronic calorimeter.

Currently not used (equal to 1).

Definition at line 216 of file Par02PrimaryParticleInformation.hh.


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

Applications | User Support | Publications | Collaboration