// $Id: EAtmosphereHistoPainter.hh,v 1.9 2005/03/24 09:17:29 stutz Exp $ // Author: Anne Stutz 2004/10/19 /***************************************************************************** * ESAF: Euso Simulation and Analysis Framework * * * * Id: EAtmosphereHistoPainter * * Package: * * Coordinator: * * * *****************************************************************************/ #ifndef __EATMOSPHEREHISTOPAINTER_HH__ #define __EATMOSPHEREHISTOPAINTER_HH__ #include "ESystemOfUnits.hh" #include "EAnimator.hh" #include "TSeqCollection.h" class EAtmosphere; class TH1F; class TTimer; //////////////////////////////////////////////////////////////////////////////// // // // EAtmosphereHistoPainter // // // // this class plots a set of standard histograms describing the light // // generation and transmission in atmosphere // // // //////////////////////////////////////////////////////////////////////////////// class EAtmosphereHistoPainter : public EAnimator { public: EAtmosphereHistoPainter( EAtmosphere* ); virtual ~EAtmosphereHistoPainter(); virtual void Draw(Option_t *opt=""); void Build(); virtual void NextFrame(); inline Double_t GetTMin() const { return fTimeMin/microsecond; } inline Double_t GetTMax() const { return fTimeMaxF/microsecond; } TH1F* GetTimeHisto(const char*, const char* =0); TH1F* GetAltHisto(const char*, const char* =0); TH1F* GetTofHisto(const char*, const char* =0); TH1F* GetWlHisto(const char*, const char* =0); TSeqCollection* GetListOfHistos() {return fHistos;} private: void UpdateHistos(); TSeqCollection *fHistos; EAtmosphere *fAtmosphere; Double_t *fTimeBins; Double_t *fAltBins; //NEW Int_t fNBins; Double_t fNphMax; Double_t fTimeMin; Double_t fTimeMax; Double_t fTimeMaxF; ClassDef(EAtmosphereHistoPainter,1) }; #endif /* __EATMOSPHEREHISTOPAINTER_HH__ */