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 | |
---|
12 | class EShower; |
---|
13 | class EGeometry; |
---|
14 | class EDetector; |
---|
15 | class TH1F; |
---|
16 | class TTimer; |
---|
17 | |
---|
18 | /******************************************************************************* |
---|
19 | * |
---|
20 | * EShowerHistoPainter: this class plots and animates a set of standard |
---|
21 | * histograms describing the shower development. |
---|
22 | * |
---|
23 | ******************************************************************************/ |
---|
24 | |
---|
25 | class EShowerHistoPainter : public EAnimator { |
---|
26 | public: |
---|
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 | |
---|
42 | private: |
---|
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 | |
---|