Geant4
10.02.p01
|
Primary particle information. More...
#include <Par02PrimaryParticleInformation.hh>
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... | |
Primary particle information.
Describes the information that can be associated with a G4PrimaryParticle class object.
Definition at line 44 of file Par02PrimaryParticleInformation.hh.
Par02PrimaryParticleInformation::Par02PrimaryParticleInformation | ( | G4int | aID, |
G4int | aPDG, | ||
G4ThreeVector | aMomentum | ||
) |
A constructor.
aID | A unique particle ID within event. |
aPDG | A PDG code of the particle. |
aMomentum | An initial particle momentum (at the primary vertex). |
Definition at line 35 of file Par02PrimaryParticleInformation.cc.
|
virtual |
Definition at line 44 of file Par02PrimaryParticleInformation.cc.
|
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().
|
inline |
Sets the energy deposit in the electromagnetic calorimeter.
Definition at line 107 of file Par02PrimaryParticleInformation.hh.
References fEnergyEMCal.
Referenced by Par02TrackingAction::PostUserTrackingAction().
|
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().
|
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().
|
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().
|
inline |
Sets the energy deposit in the hadronic calorimeter.
Definition at line 143 of file Par02PrimaryParticleInformation.hh.
References fEnergyHCal.
Referenced by Par02TrackingAction::PostUserTrackingAction().
|
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().
|
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().
|
inline |
Gets the initial particle momentum (from particle generator).
Definition at line 63 of file Par02PrimaryParticleInformation.hh.
References fMomentumMC.
Referenced by Par02TrackingAction::PostUserTrackingAction().
|
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().
|
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().
|
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().
|
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().
|
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().
|
virtual |
Prints the information about the particle.
Implements G4VUserPrimaryParticleInformation.
Definition at line 48 of file Par02PrimaryParticleInformation.cc.
References fEfficiencyEMCal, fEfficiencyHCal, fEfficiencyTracker, fEnergyEMCal, fEnergyHCal, fMomentumMC, fMomentumTracker, fPartID, fPDG, fPositionEMCal, fPositionHCal, fResolutionEMCal, fResolutionHCal, fResolutionTracker, G4cout, and G4endl.
|
inline |
Sets the electromagnetic calorimeter efficiency. Currently not used (efficiency is 1).
aEfficiency | The detector efficiency. |
Definition at line 123 of file Par02PrimaryParticleInformation.hh.
References fEfficiencyEMCal.
|
inline |
Sets the energy deposit in the electromagnetic calorimeter.
aEnergy | The energy deposited in the detector. |
Definition at line 104 of file Par02PrimaryParticleInformation.hh.
References fEnergyEMCal.
|
inline |
Sets the position of the energy deposit in the electromagnetic calorimeter.
aPosition | The position of the energy deposit. |
Definition at line 96 of file Par02PrimaryParticleInformation.hh.
References fPositionEMCal.
|
inline |
Sets the electromagnetic calorimeter resolution. Currently equal to -1 if AtlFast type of smearing is used.
aResolution | The calorimeter resolution (particle type and momentum dependent). |
Definition at line 113 of file Par02PrimaryParticleInformation.hh.
References fResolutionEMCal.
|
inline |
Sets the hadronic calorimeter efficiency. Currently not used (efficiency is 1).
aEfficiency | The detector efficiency. |
Definition at line 159 of file Par02PrimaryParticleInformation.hh.
References fEfficiencyHCal.
Referenced by Par02FastSimModelHCal::DoIt().
|
inline |
Sets the energy deposit in the hadronic calorimeter.
aEnergy | The energy deposited in the detector. |
Definition at line 140 of file Par02PrimaryParticleInformation.hh.
References fEnergyHCal.
Referenced by Par02FastSimModelHCal::DoIt().
|
inline |
Sets the position of the energy deposit in the hadronic calorimeter.
aPosition | The position of the energy deposit. |
Definition at line 132 of file Par02PrimaryParticleInformation.hh.
References fPositionHCal.
Referenced by Par02FastSimModelHCal::DoIt().
|
inline |
Sets the hadronic calorimeter resolution. Currently equal to -1 if AtlFast type of smearing is used.
aResolution | The calorimeter resolution (particle type and momentum dependent). |
Definition at line 149 of file Par02PrimaryParticleInformation.hh.
References fResolutionHCal.
Referenced by Par02FastSimModelHCal::DoIt().
|
inline |
Sets the initial particle momentum (from particle generator).
aMomentum | The particle momentum. |
Definition at line 60 of file Par02PrimaryParticleInformation.hh.
References fMomentumMC.
|
inline |
Sets the tracking detector efficiency. Currently not used (efficiency is 1).
aEfficiency | The detector efficiency. |
Definition at line 87 of file Par02PrimaryParticleInformation.hh.
References fEfficiencyTracker.
|
inline |
Sets the particle momentum at the entrance to the tracker detector.
aMomentum | The particle momentum. |
Definition at line 67 of file Par02PrimaryParticleInformation.hh.
References fMomentumTracker.
|
inline |
Sets the tracker detector resolution. Currently equal to -1 if AtlFast type of smearing is used.
aResolution | The detector resolution (particle type and momentum dependent). |
Definition at line 77 of file Par02PrimaryParticleInformation.hh.
References fResolutionTracker.
|
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().
|
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().
|
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().
|
private |
An energy deposited in the electromagnetic calorimeter.
Definition at line 197 of file Par02PrimaryParticleInformation.hh.
Referenced by GetEMCalEnergy(), Print(), and SetEMCalEnergy().
|
private |
An energy deposited in the hadronic calorimeter.
Definition at line 210 of file Par02PrimaryParticleInformation.hh.
Referenced by GetHCalEnergy(), Print(), and SetHCalEnergy().
|
private |
A particle initial momentum (from particle generator).
Definition at line 181 of file Par02PrimaryParticleInformation.hh.
Referenced by GetMCMomentum(), Print(), and SetMCMomentum().
|
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().
|
private |
A particle unique ID.
Definition at line 170 of file Par02PrimaryParticleInformation.hh.
Referenced by GetPartID(), and Print().
|
private |
A particle type (PDG code).
Definition at line 178 of file Par02PrimaryParticleInformation.hh.
|
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().
|
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().
|
private |
The resolution of the electromagnetic calorimeter.
Definition at line 200 of file Par02PrimaryParticleInformation.hh.
Referenced by GetEMCalResolution(), Print(), and SetEMCalResolution().
|
private |
The resolution of the hadronic calorimeter.
Definition at line 213 of file Par02PrimaryParticleInformation.hh.
Referenced by GetHCalResolution(), Print(), and SetHCalResolution().
|
private |
A resolution of the tracking detector.
Definition at line 187 of file Par02PrimaryParticleInformation.hh.
Referenced by GetTrackerResolution(), Print(), and SetTrackerResolution().