source: JEM-EUSO/esaf_cc_at_lal/packages/common/eventviewer/include/EDetectorHistoPainter.hh @ 114

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

actual version of ESAF at CCin2p3

File size: 1.6 KB
Line 
1// ESAF : Euso Simulation and Analysis Framework
2// $Id: EDetectorHistoPainter.hh 2878 2011-04-28 13:15:36Z naumov $
3//  created May, 27 2004
4
5#ifndef __EDETECTORHISTOPAINTER_HH__
6#define __EDETECTORHISTOPAINTER_HH__
7
8#include "TObject.h"
9#include "TSeqCollection.h"
10#include "TPolyLine.h"
11#include "TTimer.h"
12#include "TVector3.h"
13#include "TText.h"
14#include <map>
15#include <vector>
16
17class EDetector;
18class ERunParameters;
19class TCanvas;
20class TH1F;
21class EEvent;
22class TVirtualPad;
23
24
25class EDetectorHistoPainter : public TObject {
26public:
27    EDetectorHistoPainter();
28    EDetectorHistoPainter(EEvent*);
29    EDetectorHistoPainter(EDetector*, ERunParameters*);
30
31    virtual ~EDetectorHistoPainter();
32    virtual void Clear(Option_t* ="");
33
34    void Build();
35    TSeqCollection* GetListOfHistos() { return fHistos; }
36
37    inline void SetDetector(EDetector *det) { fDetector = det; }
38    inline void SetRunPars(ERunParameters *rp) { fRunPars = rp; }
39
40    void DoGtuPhotonsHisto(TVirtualPad* = 0);
41    void DoGtuPhotonsHisto2(TVirtualPad* = 0);
42    void DoPhiCosThetaHisto(TVirtualPad*  = 0);
43    void DoPhotonsHistoCheckOptics(TVirtualPad*  = 0);
44    void DoXYHisto(TVirtualPad* = 0);
45    void DoWavelengthXYHisto(TVirtualPad* = 0);
46
47    TH1F *GetGtuHisto(const char *name, const char *title);
48
49    void SetRangeUser(Double_t ufirst, Double_t ulast);
50   
51    ClassDef(EDetectorHistoPainter,0)
52private:
53    Int_t fNumGtus;
54    Float_t fFirstGtu;
55    Float_t fLastGtu;
56    Float_t fGtuLength;
57   
58    TSeqCollection *fHistos;
59    EDetector *fDetector;
60    ERunParameters *fRunPars;
61
62
63};
64
65#endif  /* __EDETECTORHISTOPAINTER_HH__ */
66
Note: See TracBrowser for help on using the repository browser.