![]() |
PandaRoot
|
#include <PndDskCerenkov.h>
Public Member Functions | |
PndDskCerenkov () | |
PndDskCerenkov (Int_t trackID, Int_t detectorID, TVector3 position, TVector3 momentum, Double_t time, Double_t energy, Double_t wavelength, Int_t motherTrackID, Int_t motherPdgCode, TString motherPdgName) | |
PndDskCerenkov (const PndDskCerenkov &cerenkov) | |
virtual | ~PndDskCerenkov () |
virtual void | Print (const Option_t *opt) const |
Double_t | GetEnergy () const |
Double_t | GetWavelength () const |
Int_t | GetMotherTrackID () const |
Int_t | GetMotherPdgCode () const |
TString | GetMotherPdgName () const |
Int_t | GetDetNumber () const |
Short_t | GetDetType () const |
Double_t | GetDetTime () const |
TVector3 | GetDetMomentum () const |
Double_t | GetPrimaryHitAngle () const |
Double_t | GetPrimaryAngleToCerenkov () const |
Double_t | GetNofReflections () const |
Double_t | GetPWay () const |
TVector3 | Get5RefPosition () const |
Double_t | GetTotalRefAngle () const |
TVector3 | GetLastPosition () const |
void | AddReflection () |
void | AddPWay (TVector3 pos) |
void | SetFinalValues (Int_t detNumber, Short_t detType, Double_t detTime, TVector3 detMomentum, Double_t length, Double_t primaryHitAngle, Double_t primaryAngleToCerenkov) |
void | Set5RefPosition (TVector3 pos) |
void | SetTotalRefAngle (Double_t angle) |
Protected Attributes | |
Double_t | fEnergy |
Energy of Cerenkov when created [eV]. More... | |
Double_t | fWavelength |
Vacuum wavelength hc/energy [nm]. More... | |
Double_t | fPWay |
Projected Way [cm]. More... | |
TVector3 | fLastPos |
Int_t | fMotherTrackID |
The Last known position of the Cerenkov - needed to calculate the fPWay. More... | |
Int_t | fMotherPdgCode |
PDG Code of particle that emitted the Cerenkov. More... | |
TString | fMotherPdgName |
PDG Name of particle that emitted the Cerenkov. More... | |
Int_t | fDetNumber |
Detector number that finally registered the photon. More... | |
Short_t | fDetType |
Detector type. More... | |
Double_t | fDetTime |
Global time when detected [ns]. More... | |
TVector3 | fDetMomentum |
Momentum when detected [eV]. More... | |
Int_t | fNofReflections |
Number of total reflections the Cerenkov did in the radiator. More... | |
Double_t | fPrimaryHitAngle |
Angle to the z-Axis when first registered. More... | |
Double_t | fPrimaryAngleToCerenkov |
Angle between momentum of eachs first appearance. More... | |
TVector3 | f5RefPosition |
Just for debug. Stores position afer 5 refelctions. More... | |
Double_t | fTotalRefAngle |
Total reflection angle. More... | |
Definition at line 11 of file PndDskCerenkov.h.
PndDskCerenkov::PndDskCerenkov | ( | ) |
Default constructor
PndDskCerenkov::PndDskCerenkov | ( | Int_t | trackID, |
Int_t | detectorID, | ||
TVector3 | position, | ||
TVector3 | momentum, | ||
Double_t | time, | ||
Double_t | energy, | ||
Double_t | wavelength, | ||
Int_t | motherTrackID, | ||
Int_t | motherPdgCode, | ||
TString | motherPdgName | ||
) |
Standard constructor with arguments
trackID | Index of MCTrack |
detectorID | Detector ID where the first hit is produced |
position | Position of Cerenkov when created [cm] |
momentum | Momentum of Cerenkov when created [eV] |
time | Time since event start when created [ns] |
energy | Energy of the Cerenkov when created [eV] |
wavelength | Vacuum wavelength hc/energy [nm] |
motherTrackID | Track ID of particle that emitted the Cerenkov |
motherPdgCode | PDG Code of particle that emitted the Cerenkov |
motherPdgName | PDG Name of particle that emitted the Cerenkov |
PndDskCerenkov::PndDskCerenkov | ( | const PndDskCerenkov & | cerenkov | ) |
Copy constructor
|
virtual |
Destructor
void PndDskCerenkov::AddPWay | ( | TVector3 | pos | ) |
Referenced by AddReflection().
|
inline |
Modifiers
Definition at line 63 of file PndDskCerenkov.h.
References AddPWay(), fNofReflections, and SetFinalValues().
|
inline |
Definition at line 58 of file PndDskCerenkov.h.
References f5RefPosition.
|
inline |
Definition at line 53 of file PndDskCerenkov.h.
References fDetMomentum.
|
inline |
Definition at line 50 of file PndDskCerenkov.h.
References fDetNumber.
|
inline |
Definition at line 52 of file PndDskCerenkov.h.
References fDetTime.
|
inline |
|
inline |
Accessors
Definition at line 45 of file PndDskCerenkov.h.
References fEnergy.
|
inline |
|
inline |
Definition at line 48 of file PndDskCerenkov.h.
References fMotherPdgCode.
|
inline |
Definition at line 49 of file PndDskCerenkov.h.
References fMotherPdgName.
|
inline |
Definition at line 47 of file PndDskCerenkov.h.
References fMotherTrackID.
|
inline |
Definition at line 56 of file PndDskCerenkov.h.
References fNofReflections.
|
inline |
Definition at line 55 of file PndDskCerenkov.h.
References fPrimaryAngleToCerenkov.
|
inline |
Definition at line 54 of file PndDskCerenkov.h.
References fPrimaryHitAngle.
|
inline |
|
inline |
Definition at line 59 of file PndDskCerenkov.h.
References fTotalRefAngle.
|
inline |
Definition at line 46 of file PndDskCerenkov.h.
References fWavelength.
|
virtual |
Virtual method Print
Screen output of Cerenkov
|
inline |
Definition at line 66 of file PndDskCerenkov.h.
References f5RefPosition.
void PndDskCerenkov::SetFinalValues | ( | Int_t | detNumber, |
Short_t | detType, | ||
Double_t | detTime, | ||
TVector3 | detMomentum, | ||
Double_t | length, | ||
Double_t | primaryHitAngle, | ||
Double_t | primaryAngleToCerenkov | ||
) |
Referenced by AddReflection().
|
inline |
Definition at line 67 of file PndDskCerenkov.h.
References fTotalRefAngle.
|
protected |
Just for debug. Stores position afer 5 refelctions.
Definition at line 89 of file PndDskCerenkov.h.
Referenced by Get5RefPosition(), and Set5RefPosition().
|
protected |
Momentum when detected [eV].
Definition at line 82 of file PndDskCerenkov.h.
Referenced by GetDetMomentum().
|
protected |
Detector number that finally registered the photon.
Definition at line 79 of file PndDskCerenkov.h.
Referenced by GetDetNumber().
|
protected |
Global time when detected [ns].
Definition at line 81 of file PndDskCerenkov.h.
Referenced by GetDetTime().
|
protected |
|
protected |
Energy of Cerenkov when created [eV].
Definition at line 70 of file PndDskCerenkov.h.
Referenced by GetEnergy().
|
protected |
Definition at line 73 of file PndDskCerenkov.h.
Referenced by GetLastPosition().
|
protected |
PDG Code of particle that emitted the Cerenkov.
Definition at line 76 of file PndDskCerenkov.h.
Referenced by GetMotherPdgCode().
|
protected |
PDG Name of particle that emitted the Cerenkov.
Definition at line 77 of file PndDskCerenkov.h.
Referenced by GetMotherPdgName().
|
protected |
The Last known position of the Cerenkov - needed to calculate the fPWay.
Track ID of particle that emitted the Cerenkov
Definition at line 75 of file PndDskCerenkov.h.
Referenced by GetMotherTrackID().
|
protected |
Number of total reflections the Cerenkov did in the radiator.
Definition at line 84 of file PndDskCerenkov.h.
Referenced by AddReflection(), and GetNofReflections().
|
protected |
Angle between momentum of eachs first appearance.
Definition at line 87 of file PndDskCerenkov.h.
Referenced by GetPrimaryAngleToCerenkov().
|
protected |
Angle to the z-Axis when first registered.
Definition at line 86 of file PndDskCerenkov.h.
Referenced by GetPrimaryHitAngle().
|
protected |
|
protected |
Total reflection angle.
Definition at line 90 of file PndDskCerenkov.h.
Referenced by GetTotalRefAngle(), and SetTotalRefAngle().
|
protected |
Vacuum wavelength hc/energy [nm].
Definition at line 71 of file PndDskCerenkov.h.
Referenced by GetWavelength().