6 #ifndef PNDDSKCERENKOV_H 7 #define PNDDSKCERENKOV_H 9 #include "FairMCPoint.h" 29 PndDskCerenkov(Int_t trackID, Int_t detectorID, TVector3 position, TVector3 momentum, Double_t time, Double_t energy, Double_t wavelength, Int_t motherTrackID,
30 Int_t motherPdgCode, TString motherPdgName);
42 virtual void Print(
const Option_t *opt)
const;
65 void SetFinalValues(Int_t detNumber, Short_t detType, Double_t detTime, TVector3 detMomentum, Double_t length, Double_t primaryHitAngle, Double_t primaryAngleToCerenkov);
95 #endif // PNDDSKCERENKOV_H void SetFinalValues(Int_t detNumber, Short_t detType, Double_t detTime, TVector3 detMomentum, Double_t length, Double_t primaryHitAngle, Double_t primaryAngleToCerenkov)
TVector3 fDetMomentum
Momentum when detected [eV].
Int_t fNofReflections
Number of total reflections the Cerenkov did in the radiator.
Double_t GetPrimaryAngleToCerenkov() const
virtual ~PndDskCerenkov()
Int_t fDetNumber
Detector number that finally registered the photon.
Double_t fWavelength
Vacuum wavelength hc/energy [nm].
Double_t fPWay
Projected Way [cm].
Double_t GetNofReflections() const
Double_t fPrimaryHitAngle
Angle to the z-Axis when first registered.
Short_t fDetType
Detector type.
TString fMotherPdgName
PDG Name of particle that emitted the Cerenkov.
Double_t fEnergy
Energy of Cerenkov when created [eV].
void Set5RefPosition(TVector3 pos)
Double_t GetEnergy() const
Double_t GetDetTime() const
void AddPWay(TVector3 pos)
void SetTotalRefAngle(Double_t angle)
Double_t GetWavelength() const
TVector3 Get5RefPosition() const
Double_t fTotalRefAngle
Total reflection angle.
TVector3 GetLastPosition() const
TVector3 f5RefPosition
Just for debug. Stores position afer 5 refelctions.
Int_t GetDetNumber() const
TString GetMotherPdgName() const
Double_t GetTotalRefAngle() const
Double_t fPrimaryAngleToCerenkov
Angle between momentum of eachs first appearance.
Int_t fMotherPdgCode
PDG Code of particle that emitted the Cerenkov.
Int_t GetMotherPdgCode() const
virtual void Print(const Option_t *opt) const
TVector3 GetDetMomentum() const
Double_t fDetTime
Global time when detected [ns].
Double_t GetPrimaryHitAngle() const
Short_t GetDetType() const
Int_t GetMotherTrackID() const
Int_t fMotherTrackID
The Last known position of the Cerenkov - needed to calculate the fPWay.