#include <DigiPhoton.h>
Inheritance diagram for DigiPhoton:

Public Member Functions | |
| DigiPhoton () | |
| DigiPhoton (const DigiScintHit *hit, double wavelength, double t, double x, double y, double z, double u, double v, double w) | |
| DigiPhoton (const DigiScintHit *hit, double wavelength, double t, const TVector3 &pos, const TVector3 &dir) | |
| const DigiScintHit * | ParentHit () const |
| Double_t | WaveLength () const |
| Double_t | E () const |
| Double_t | T () const |
| const TVector3 & | GetPos () const |
| Double_t | X () const |
| Double_t | Y () const |
| Double_t | Z () const |
| const TVector3 & | GetDir () const |
| Double_t | GetCosX () const |
| Double_t | GetCosY () const |
| Double_t | GetCosZ () const |
| Double_t | U () const |
| Double_t | V () const |
| Double_t | W () const |
| Double_t | DxDz () const |
| Double_t | DyDz () const |
| void | SetParentHit (const DigiScintHit *hit) |
| void | SetWavelength (double l) |
| void | SetTime (double t) |
| void | SetPosition (const TVector3 &in) |
| void | SetPosition (Double_t x, Double_t y, Double_t z) |
| void | SetDirection (const TVector3 &in) |
| void | SetDirection (Double_t u, Double_t v, Double_t w) |
| virtual void | Print (Option_t *option="") const |
Public Attributes | |
| const DigiScintHit * | fHit |
| Double_t | fWavelength |
| Double_t | fT |
| TVector3 | fPos |
| TVector3 | fDir |
|
|
Definition at line 22 of file DigiPhoton.cxx. 00022 : 00023 fHit(0), 00024 fWavelength(0), 00025 fT(0), 00026 fPos(0,0,0), 00027 fDir(0,0,0) 00028 { }
|
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 32 of file DigiPhoton.cxx. 00035 : 00036 fHit(hit), 00037 fWavelength(wavelength), 00038 fT(t), 00039 fPos(x,y,z), 00040 fDir(u,v,w) 00041 { }
|
|
||||||||||||||||||||||||
|
Definition at line 43 of file DigiPhoton.cxx. 00046 : 00047 fHit(hit), 00048 fWavelength(wavelength), 00049 fT(t), 00050 fPos(pos), 00051 fDir(dir) 00052 { 00053 }
|
|
|
Definition at line 63 of file DigiPhoton.h. References fDir.
|
|
|
Definition at line 64 of file DigiPhoton.h. References fDir.
|
|
|
Definition at line 89 of file DigiPhoton.h. References C. 00090 {
00091 // E = hc/lambda
00092 // H() in Js, C() in m/s, fWavelength in meters, convert J to energy standard..
00093 return (TMath::H() * TMath::C() / fWavelength) * TMath::Qe() / Munits::eV;
00094 }
|
|
|
Definition at line 57 of file DigiPhoton.h. References fDir. Referenced by PhotonFullGreenTracker::GreenPhotonToPe(), PhotonDefaultModel::GreenPhotonToPe(), PhotonCompositeGreenTracker::GreenPhotonToPe(), and PhotonTransport::SimulateScintHit(). 00057 { return fDir.X(); };
|
|
|
Definition at line 58 of file DigiPhoton.h. References fDir. 00058 { return fDir.Y(); };
|
|
|
Definition at line 59 of file DigiPhoton.h. References fDir. 00059 { return fDir.Z(); };
|
|
|
Definition at line 56 of file DigiPhoton.h. Referenced by PhotonFullFibreModel::FindBlueAbsorptionPosition(), and PhotonFullFibreModel::IsGreenTrapped(). 00056 { return fDir; };
|
|
|
Definition at line 51 of file DigiPhoton.h. Referenced by PhotonFullFibreModel::FindBlueAbsorptionPosition(), and PhotonFullFibreModel::IsGreenTrapped(). 00051 { return fPos; };
|
|
|
Definition at line 45 of file DigiPhoton.h. Referenced by PhotonDefaultModel::FibreHitToGreenPhoton(), PhotonFullGreenTracker::GreenPhotonToPe(), PhotonDefaultModel::GreenPhotonToPe(), PhotonCompositeGreenTracker::GreenPhotonToPe(), and PhotonFullFibreModel::MakeGreenPhoton(). 00045 { return fHit; };
|
|
|
Reimplemented in ScintPhoton. Definition at line 56 of file DigiPhoton.cxx. References T(), U(), V(), W(), WaveLength(), X(), Y(), and Z(). 00057 {
00058 cout << "DigiPhoton: "
00059 << WaveLength()/Munits::nm << "nm "
00060 << T()/Munits::ns << "ns "
00061 << "(" << X() << "," << Y() << "," << Z() << ") "
00062 << "<" << U() << "," << V() << "," << W() << "> "
00063 << endl;
00064 }
|
|
||||||||||||||||
|
Definition at line 73 of file DigiPhoton.h. References fDir. 00073 { fDir.SetXYZ(u,v,w); };
|
|
|
Definition at line 72 of file DigiPhoton.h. References fDir.
|
|
|
Definition at line 67 of file DigiPhoton.h. References fHit. Referenced by ScintPhoton::Reset(). 00067 { fHit = hit; };
|
|
||||||||||||||||
|
Definition at line 71 of file DigiPhoton.h. References fPos. 00071 { fPos.SetXYZ(x,y,z); };
|
|
|
Definition at line 70 of file DigiPhoton.h. References fPos. 00070 { fPos = in; };
|
|
|
Definition at line 69 of file DigiPhoton.h. References fT. 00069 { fT = t; };
|
|
|
Definition at line 68 of file DigiPhoton.h. References fWavelength. Referenced by PhotonFullBlueTracker::ScintPhotonToFibreHit(). 00068 { fWavelength = l; };
|
|
|
Definition at line 49 of file DigiPhoton.h. Referenced by PhotonDefaultModel::FibreHitToGreenPhoton(), PhotonFullGreenTracker::GreenPhotonToPe(), PhotonDefaultModel::GreenPhotonToPe(), PhotonCompositeGreenTracker::GreenPhotonToPe(), PhotonFullFibreModel::MakeGreenPhoton(), Print(), and PhotonTransport::SimulateScintHit(). 00049 { return fT; }
|
|
|
Definition at line 60 of file DigiPhoton.h. References fDir. Referenced by Print(). 00060 { return fDir.X(); };
|
|
|
Definition at line 61 of file DigiPhoton.h. References fDir. Referenced by Print(). 00061 { return fDir.Y(); };
|
|
|
Definition at line 62 of file DigiPhoton.h. References fDir. Referenced by Print(). 00062 { return fDir.Z(); };
|
|
|
Definition at line 47 of file DigiPhoton.h. Referenced by PhotonFullFibreModel::FindBlueAbsorptionPosition(), PhotonFullGreenTracker::GreenPhotonToPe(), and Print(). 00047 { return fWavelength; };
|
|
|
Definition at line 52 of file DigiPhoton.h. References fPos. Referenced by PhotonDefaultModel::FibreHitToGreenPhoton(), PhotonFullGreenTracker::GreenPhotonToPe(), PhotonDefaultModel::GreenPhotonToPe(), PhotonCompositeGreenTracker::GreenPhotonToPe(), ScintPhoton::Print(), Print(), PhotonFullBlueTracker::ScintPhotonToFibreHit(), PhotonDefaultModel::ScintPhotonToFibreHit(), and PhotonTransport::SimulateScintHit(). 00052 { return fPos.X(); }
|
|
|
Definition at line 53 of file DigiPhoton.h. References fPos. Referenced by ScintPhoton::InteractAtSurface(), ScintPhoton::Print(), and Print(). 00053 { return fPos.Y(); }
|
|
|
Definition at line 54 of file DigiPhoton.h. References fPos. Referenced by ScintPhoton::InteractAtSurface(), ScintPhoton::Print(), and Print(). 00054 { return fPos.Z(); }
|
|
|
Definition at line 83 of file DigiPhoton.h. Referenced by DxDz(), DyDz(), GetCosX(), GetCosY(), GetCosZ(), SetDirection(), U(), V(), and W(). |
|
|
Definition at line 78 of file DigiPhoton.h. Referenced by SetParentHit(). |
|
|
Definition at line 82 of file DigiPhoton.h. Referenced by SetPosition(), X(), Y(), and Z(). |
|
|
Definition at line 81 of file DigiPhoton.h. Referenced by SetTime(). |
|
|
Definition at line 80 of file DigiPhoton.h. Referenced by SetWavelength(). |
1.3.9.1