SinglePhoton
#include "SinglePhoton.hh" |
SinglePhoton
class description - source file - inheritance tree (.pdf)
class SinglePhoton : public EsafMsgSource
Inheritance Chart: | |||||||||
|
public:
SinglePhoton() SinglePhoton(Double_t, Double_t, const EarthVector&, const EarthVector&, PhotonType, PhotonStatus status = Direct, UInt_t bid = 0) SinglePhoton(PhotonType, Double_t, Double_t, Double_t, const EarthVector&, const EarthVector&, const EarthVector&, PhotonStatus status = Direct, UInt_t bid = 0) SinglePhoton(const BunchOfPhotons&, Double_t, const EarthVector&, PhotonStatus = Direct) virtual ~SinglePhoton() void AddHistory(PhotonStatus status) void AddInteraction() void AddToPos(const EarthVector& v) void AddToPosTof(const EarthVector&) void AddToTof(Double_t t) UInt_t BunchId() const static TClass* Class() Double_t Date() const const EarthVector& Dir() const const vector<Int_t>& GetHistories() const Double_t GetLastTrans(string type) const virtual TClass* IsA() const Bool_t IsAbsorbed() const Bool_t IsOutFoV() const Int_t NbOfInteractions() const const EarthVector& Pos() const void SetAbsorbed(Bool_t f = true) void SetDir(const EarthVector& dir) void SetLastTrans(Double_t trans, string type) void SetOutFoV(Bool_t f = true) void SetStatus(PhotonStatus st) const EarthVector& ShowerPos() const virtual void ShowMembers(TMemberInspector& insp, char* parent) PhotonStatus Status() const virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) Double_t Tof() const PhotonType Type() const Double_t Wl() const
Data Members
protected:
UInt_t fBunchId identity of the bunch giving this single photon PhotonType fType type of photon PhotonStatus fStatus SinglePhoton origin vector<Int_t> fHistory [fNbInter] summary of all interactions in atmosphere Double_t fDate date of creation Double_t fTof tof between creation and pupil Double_t fWl wavelength EarthVector fShowerPos position in the shower EarthVector fPos position anywhere else EarthVector fDir direction Bool_t fAbsorbed true if absorbed during trans to detector Bool_t fOutFoV (ONLY a flag : no simu for it) true if entering dir on pupil > FoV Double_t fLastTotTrans total transmission over the final path to detector Double_t fLastRaylTrans Rayleigh transmission over the final path to detector Double_t fLastOzoneTrans Ozone transmission over the final path to detector Double_t fLastAeroTrans Aerosols transmission over the final path to detector Double_t fLastCloudTrans Cloud transmission over the final path to detector Int_t fNbInter nb of undergone interactions
Class Description
SinglePhoton() : EsafMsgSource()
ctor
SinglePhoton(Double_t date, Double_t wl, const EarthVector& pos, const EarthVector& dir, PhotonType type, PhotonStatus status, UInt_t bid) : EsafMsgSource()
ctor (photon in the shower)
SinglePhoton(PhotonType type, Double_t date, Double_t tof, Double_t wl, const EarthVector& showerpos, const EarthVector& pos,const EarthVector& dir, PhotonStatus status, UInt_t bid) : EsafMsgSource()
ctor (out of the shower, during radiative transfer)
SinglePhoton(const BunchOfPhotons& b,Double_t wl,const EarthVector& dir,PhotonStatus status) : EsafMsgSource()
ctor from a bunch
~SinglePhoton()
dtor
void AddToPosTof(const EarthVector& v)
Increment the position AND the TOF
Inline Functions
UInt_t BunchId() const PhotonType Type() const PhotonStatus Status() const Double_t Date() const Double_t Tof() const Double_t Wl() const const EarthVector& Pos() const const EarthVector& ShowerPos() const const EarthVector& Dir() const Bool_t IsAbsorbed() const Bool_t IsOutFoV() const Int_t NbOfInteractions() const Double_t GetLastTrans(string type) const const vector<Int_t>& GetHistories() const void SetAbsorbed(Bool_t f = true) void SetOutFoV(Bool_t f = true) void AddToPos(const EarthVector& v) void AddToTof(Double_t t) void AddInteraction() void AddHistory(PhotonStatus status) void SetStatus(PhotonStatus st) void SetDir(const EarthVector& dir) void SetLastTrans(Double_t trans, string type) TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)