#include "ParentPhoton.hh"

ParentPhoton


class description - header file - 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() Int_t AtmoHistory() const Int_t AtmoNbinter() const 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() Double_t GetShowerAge() const Int_t Id() const virtual TClass* IsA() const Bool_t IsCloudAbsorbed() const Double_t Phi() const const EVector& PupilPos() const void SetAtmoHistory(Int_t i) void SetAtmoNbinter(Int_t i) void SetType(ParentPhotonType t) 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 Int_t fAtmoHistory last interaction in atmosphere (0: direct, 1: reflected, 2: rayleigh, 3: cloud, 4: aerosol) Bool_t fCloudAbsorbed to handle with/without cloud case in a same run Int_t fAtmoNbinter nb of interaction in atmosphere EVector fShowerPos position of emission along shower Double_t fShowerAge shower age at photon creation 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

Photon& GetPhoton()
 return the child photon
Int_t Id()
 inline functions with parameters (read only)
Double_t T()
Double_t W()
const EVector& ShowerPos()
Double_t GetShowerAge()
const EVector& PupilPos()
const EVector& Dir()
ParentPhotonType Type()
Double_t Theta()
Double_t Phi()
Int_t AtmoHistory()
Int_t AtmoNbinter()
Bool_t IsCloudAbsorbed()
void SetAtmoHistory(Int_t i)
void SetAtmoNbinter(Int_t i)
void SetType(ParentPhotonType t)

Last update: Mon Nov 27 14:57:13 2006


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.