Universita' di GenovaINFN Sezione di Genova  
AIRWATCH / EUSO Genova

ParentPhoton

#include "ParentPhoton.hh"

ParentPhoton


class description - source file - inheritance tree (.pdf)

class ParentPhoton : public EsafMsgSource

Inheritance Chart:
EsafMsgSource
<-
ParentPhoton

    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, Double_t* x, Double_t* y, Double_t* d, Double_t wl, Double_t t, ParentPhotonType type) ParentPhoton(Int_t i, const TVector3 spos, const TVector3 pos, Double_t th, Double_t phi, Double_t wl, Double_t t, ParentPhotonType type) ParentPhoton(Int_t i, const TVector3 spos, const TVector3 pos, const TVector3 dir, Double_t wl, Double_t t, ParentPhotonType type) ParentPhoton(const SinglePhoton&, const TVector3&, const TVector3&) virtual ~ParentPhoton() void Build(Int_t id, Double_t* spos, Double_t* pos, Double_t th, Double_t ph, Double_t w, Double_t t, ParentPhotonType typ) void Build(Int_t id, const TVector3 spos, const TVector3 pos, Double_t th, Double_t ph, Double_t w, Double_t t, ParentPhotonType typ) void Build(Int_t id, Double_t* spos, Double_t* pos, Double_t* dir, Double_t w, Double_t t, ParentPhotonType typ) void Build(Int_t id, const TVector3 spos, const TVector3 pos, const TVector3 dir, Double_t w, Double_t t, ParentPhotonType typ) 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.

ParentPhoton()
 empty ctor


ParentPhoton(Int_t i, Double_t* x, Double_t* y, Double_t th, Double_t ph, Double_t w, Double_t t, ParentPhotonType typ)
 Constructor

 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


ParentPhoton(Int_t i, Double_t* x, Double_t* y, Double_t* d, Double_t w, Double_t t, ParentPhotonType typ)
 Constructor

 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)
 d: direction of the photon
 w: wavelength in nm
 t: entrance fTime in ns
 typ: type


ParentPhoton(Int_t i, const TVector3 spos, const TVector3 pos, Double_t th, Double_t ph, Double_t w, Double_t t, ParentPhotonType typ)
 Constructor

 i: photon number (from 1 to number of photons in this event)
 spos: emission position in the shower
 ppos: position of the photon
 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


ParentPhoton(Int_t i, const TVector3 spos, const TVector3 pos, const TVector3 dir, Double_t w, Double_t t, ParentPhotonType typ)
 Constructor

 i: photon number (from 1 to number of photons in this event)
 spos: emission position in the shower
 ppos: position of the photon
 dir: direction of the photon
 w: wavelength in nm
 t: entrance fTime in ns
 typ: type


ParentPhoton( const SinglePhoton& p, const TVector3& pos, const TVector3& local_dir)
 convert a SinglePhoton to a ParentPhoton


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, Double_t* x, Double_t* y, Double_t* d, 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, const TVector3 spos, const 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)
 spos: emission position in the shower
 ppos: position of the photon
 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, const TVector3 spos, const TVector3 pos, const TVector3 dir, 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)
 spos: emission position in the shower
 ppos: position of the photon
 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


~ParentPhoton()
 Destructor


void CreatePhoton()
 create a photon object from this parent photon




Inline Functions


                 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)
About Us | EUSO Official Website | Web pages created by Roberto Pesce and Alessandro Thea - Last Update Wed Nov 16 16:21:39 2005