source: JEM-EUSO/esaf_lal/tags/v1_r0/esaf/packages/common/eventviewer/include/EShowerHistoPainter.hh @ 117

Last change on this file since 117 was 117, checked in by moretto, 11 years ago

ESAF version compilable on mac OS

File size: 1.6 KB
Line 
1// ESAF : Euso Simulation and Analysis Framework
2// $Id: EShowerHistoPainter.hh 2819 2009-03-13 11:48:16Z naumov $
3// Author: Naumov Dmitry   Jul, 26 2004
4
5#ifndef __ESHOWERHISTOPAINTER_HH__
6#define __ESHOWERHISTOPAINTER_HH__
7
8//#include "euso.hh"
9#include "EAnimator.hh"
10#include "TSeqCollection.h"
11
12class EShower;
13class EGeometry;
14class EDetector;
15class TH1F;
16class TTimer;
17
18/*******************************************************************************
19 *
20 * EShowerHistoPainter: this class plots and animates a set of standard
21 * histograms describing the shower development.
22 *
23 ******************************************************************************/
24
25class EShowerHistoPainter : public EAnimator {
26public:
27    EShowerHistoPainter( EShower*, const EGeometry*, EDetector* );
28    virtual ~EShowerHistoPainter();
29
30    virtual void Draw(Option_t *opt="");
31
32    void Build();
33
34    virtual void NextFrame();
35
36    TH1F* GetTimeHisto(const char*, const char* =0);
37    TH1F* GetGtuHisto(const char*, const char* =0);
38    TH1F* GetAltHisto(const char*, const char* =0); 
39
40    TSeqCollection* GetListOfHistos() {return fHistos;}
41
42private:
43
44    void UpdateHistos();
45
46    TSeqCollection *fHistos;
47
48    EShower         *fShower;
49    const EGeometry *fGeometry;
50    EDetector       *fDetector;
51    Double_t        *fTimeBins;
52    Double_t        *fAltBins; 
53    Double_t        fNeMax;
54    Double_t        fAgeMax;
55    Double_t        fDepthMax;
56    Double_t        MinGtu;
57    Double_t        MaxGtu;
58    Int_t           GtuBins;
59    ClassDef(EShowerHistoPainter,1);
60};
61
62#endif  /* __ESHOWERHISTOPAINTER_HH__ */
63
Note: See TracBrowser for help on using the repository browser.