ParentPhoton
#include "ParentPhoton.hh" |
ParentPhoton
class description - source file - inheritance tree (.pdf)
class ParentPhoton : public EsafMsgSource
Inheritance Chart: | |||||||||
|
public:
ParentPhoton() ParentPhoton(Int_t i, Double_t* x, Double_t* y, Double_t th, Double_t ph, Double_t wl, Double_t t, ParentPhotonType type) ParentPhoton(Int_t i, TVector3 spos, TVector3 pos, Double_t th, Double_t phi, Double_t wl, Double_t t, ParentPhotonType type) ParentPhoton(const SinglePhoton&, const TVector3&) virtual ~ParentPhoton() void Build(Int_t, Double_t*, Double_t*, Double_t, Double_t, Double_t, Double_t, ParentPhotonType) void Build(Int_t, TVector3, TVector3, Double_t, Double_t, Double_t, Double_t, ParentPhotonType) static TClass* Class() void CreatePhoton() const EVector& Dir() const Photon& GetPhoton() Int_t Id() const virtual TClass* IsA() const Double_t Phi() const const EVector& PupilPos() const const EVector& ShowerPos() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) Double_t T() const Double_t Theta() const ParentPhotonType Type() const Double_t W() const
Data Members
private:
Int_t fId photon fId (number 1..N) Double_t fTime fTime Double_t fWl wave length ParentPhotonType fType type of the photon EVector fShowerPos position of emission along shower EVector fPupilPos position on pupil EVector fDir direction Double_t fTheta Double_t fPhi direction angles (redundant but useful) Photon fChild child photon
Class Description
ParentPhoton Note on reference frame: Z axis is axis of Euso and also zenith-nadir direction Z positive in Zenith X and Y not important so far.
void Build(Int_t i, Double_t* x, Double_t* y, Double_t th, Double_t ph, Double_t w, Double_t t, ParentPhotonType typ)
Set all parameters of the ParentPhoton i: photon number (from 1 to number of photons in this event) x: 3 dim. array with position in the shower y: 3 dim. array with position on the pupil (mm) th: theta direction of the photon (rad, theta=0 enter along axis) ph: phi direction of the photon (rad) w: wavelength in nm t: entrance fTime in ns typ: type
void Build(Int_t i, TVector3 spos, TVector3 pos, Double_t th, Double_t ph, Double_t w, Double_t t, ParentPhotonType typ)
Set all parameters of the ParentPhoton i: photon number (from 1 to number of photons in this event) x: 3 dim. array with position in the shower y: 3 dim. array with position on the pupil (mm) th: theta direction of the photon (rad, theta=0 enter along axis) ph: phi direction of the photon (rad) w: wavelength in nm t: entrance fTime in ns typ: type
void CreatePhoton()
create a photon object from this parent photon
Inline Functions
void ~ParentPhoton() ParentPhoton ParentPhoton() ParentPhoton ParentPhoton(Int_t i, Double_t* x, Double_t* y, Double_t th, Double_t ph, Double_t wl, Double_t t, ParentPhotonType type) ParentPhoton ParentPhoton(Int_t i, TVector3 spos, TVector3 pos, Double_t th, Double_t phi, Double_t wl, Double_t t, ParentPhotonType type) ParentPhoton ParentPhoton(const SinglePhoton&, const TVector3&) Photon& GetPhoton() Int_t Id() const Double_t T() const Double_t W() const const EVector& ShowerPos() const const EVector& PupilPos() const const EVector& Dir() const ParentPhotonType Type() const Double_t Theta() const Double_t Phi() const TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)