source: trunk/Mars/mbadpixels/MHBadPixels.h@ 19857

Last change on this file since 19857 was 9153, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MARS_MHBadPixels
2#define MARS_MHBadPixels
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7#ifndef ROOT_TH2
8#include <TH2.h>
9#endif
10
11class MPedPhotCam;
12class MPointingPos;
13class MParList;
14class MGeomCam;
15
16class MHBadPixels : public MH
17{
18private:
19 MGeomCam *fCam; //!
20 MPedPhotCam *fPedPhot; //!
21 MPointingPos *fPointPos; //!
22
23 TString fNamePedPhotCam; //! name of the 'MPedPhotCam' container
24 MBinning *fBinsTheta; //!
25 MBinning *fBinsPix; //!
26
27 TH2D *fBadId; // 2D-histogram : pixel Id vs. Theta
28 TH2D *fBadN; // 2D-histogram : no.of bad pixels vs. Theta
29
30public:
31 MHBadPixels(const char *name=NULL, const char *title=NULL);
32 ~MHBadPixels();
33
34 void SetNamePedPhotCam(const char *name) { fNamePedPhotCam = name; }
35
36 const TH2D *GetBadId() { return fBadId; }
37 const TH2D *GetBadId() const { return fBadId; }
38
39 const TH2D *GetBadN() { return fBadN; }
40 const TH2D *GetBadN() const { return fBadN; }
41
42 TH2 *GetBadIdByName(const TString name) { return fBadId; }
43 TH2 *GetBadNByName(const TString name) { return fBadN; }
44
45 void Draw(Option_t* option = "");
46
47 Bool_t SetupFill(const MParList *plist);
48 Int_t Fill(const MParContainer *par, const Stat_t w=1);
49
50 ClassDef(MHBadPixels, 1) // Histogram of bad pixel Id vs. Theta
51};
52
53#endif
54
55
Note: See TracBrowser for help on using the repository browser.