|
FairRoot/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
Definition at line 16 of file PndDskCerenkov.cxx.
| 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 |
Definition at line 41 of file PndDskCerenkov.cxx.
| PndDskCerenkov::PndDskCerenkov | ( | const PndDskCerenkov & | cerenkov | ) |
Copy constructor
Definition at line 67 of file PndDskCerenkov.cxx.
|
virtual |
| void PndDskCerenkov::AddPWay | ( | TVector3 | pos | ) |
Definition at line 132 of file PndDskCerenkov.cxx.
References fLastPos, fPWay, pos, and CAMath::Sqrt().
Referenced by PndDsk::ProcessHitsCerenkov().
|
inline |
Modifiers
Definition at line 66 of file PndDskCerenkov.h.
References fNofReflections.
Referenced by PndDsk::ProcessHitsCerenkov().
|
inline |
Definition at line 61 of file PndDskCerenkov.h.
References f5RefPosition.
|
inline |
Definition at line 56 of file PndDskCerenkov.h.
References fDetMomentum.
|
inline |
Definition at line 53 of file PndDskCerenkov.h.
References fDetNumber.
Referenced by draw_track(), and plot_hitpattern().
|
inline |
Definition at line 55 of file PndDskCerenkov.h.
References fDetTime.
Referenced by draw_track(), and plot_hitpattern().
|
inline |
|
inline |
Accessors
Definition at line 48 of file PndDskCerenkov.h.
References fEnergy.
|
inline |
|
inline |
Definition at line 51 of file PndDskCerenkov.h.
References fMotherPdgCode.
Referenced by plot_hitpattern().
|
inline |
Definition at line 52 of file PndDskCerenkov.h.
References fMotherPdgName.
|
inline |
Definition at line 50 of file PndDskCerenkov.h.
References fMotherTrackID.
Referenced by draw_track(), and plot_hitpattern().
|
inline |
Definition at line 59 of file PndDskCerenkov.h.
References fNofReflections.
Referenced by PndDsk::ProcessHitsCerenkov().
|
inline |
Definition at line 58 of file PndDskCerenkov.h.
References fPrimaryAngleToCerenkov.
|
inline |
Definition at line 57 of file PndDskCerenkov.h.
References fPrimaryHitAngle.
|
inline |
|
inline |
Definition at line 62 of file PndDskCerenkov.h.
References fTotalRefAngle.
|
inline |
Definition at line 49 of file PndDskCerenkov.h.
References fWavelength.
Referenced by plot_hitpattern(), and PndDsk::ProcessHitsCerenkov().
|
virtual |
|
inline |
Definition at line 71 of file PndDskCerenkov.h.
References f5RefPosition, and pos.
Referenced by PndDsk::ProcessHitsCerenkov().
| void PndDskCerenkov::SetFinalValues | ( | Int_t | detNumber, |
| Short_t | detType, | ||
| Double_t | detTime, | ||
| TVector3 | detMomentum, | ||
| Double_t | length, | ||
| Double_t | primaryHitAngle, | ||
| Double_t | primaryAngleToCerenkov | ||
| ) |
Definition at line 114 of file PndDskCerenkov.cxx.
References fDetMomentum, fDetNumber, fDetTime, fDetType, fPrimaryAngleToCerenkov, and fPrimaryHitAngle.
Referenced by PndDsk::ProcessHitsCerenkov().
|
inline |
Definition at line 72 of file PndDskCerenkov.h.
References angle, and fTotalRefAngle.
Referenced by PndDsk::ProcessHitsCerenkov().
|
protected |
Just for debug. Stores position afer 5 refelctions.
Definition at line 95 of file PndDskCerenkov.h.
Referenced by Get5RefPosition(), and Set5RefPosition().
|
protected |
Momentum when detected [eV].
Definition at line 88 of file PndDskCerenkov.h.
Referenced by GetDetMomentum(), and SetFinalValues().
|
protected |
Detector number that finally registered the photon.
Definition at line 85 of file PndDskCerenkov.h.
Referenced by GetDetNumber(), and SetFinalValues().
|
protected |
Global time when detected [ns].
Definition at line 87 of file PndDskCerenkov.h.
Referenced by GetDetTime(), and SetFinalValues().
|
protected |
Detector type.
Definition at line 86 of file PndDskCerenkov.h.
Referenced by GetDetType(), and SetFinalValues().
|
protected |
Energy of Cerenkov when created [eV].
Definition at line 76 of file PndDskCerenkov.h.
Referenced by GetEnergy().
|
protected |
Definition at line 79 of file PndDskCerenkov.h.
Referenced by AddPWay(), and GetLastPosition().
|
protected |
PDG Code of particle that emitted the Cerenkov.
Definition at line 82 of file PndDskCerenkov.h.
Referenced by GetMotherPdgCode().
|
protected |
PDG Name of particle that emitted the Cerenkov.
Definition at line 83 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 81 of file PndDskCerenkov.h.
Referenced by GetMotherTrackID().
|
protected |
Number of total reflections the Cerenkov did in the radiator.
Definition at line 90 of file PndDskCerenkov.h.
Referenced by AddReflection(), and GetNofReflections().
|
protected |
Angle between momentum of eachs first appearance.
Definition at line 93 of file PndDskCerenkov.h.
Referenced by GetPrimaryAngleToCerenkov(), and SetFinalValues().
|
protected |
Angle to the z-Axis when first registered.
Definition at line 92 of file PndDskCerenkov.h.
Referenced by GetPrimaryHitAngle(), and SetFinalValues().
|
protected |
Projected Way [cm].
Definition at line 78 of file PndDskCerenkov.h.
|
protected |
Total reflection angle.
Definition at line 96 of file PndDskCerenkov.h.
Referenced by GetTotalRefAngle(), and SetTotalRefAngle().
|
protected |
Vacuum wavelength hc/energy [nm].
Definition at line 77 of file PndDskCerenkov.h.
Referenced by GetWavelength().
1.8.8