source: trunk/MagicSoft/Mars/mbadpixels/MHBadPixels.h@ 5033

Last change on this file since 5033 was 4887, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.1 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 MPointingPos *fPointPos; //!
21
22 TString fNamePedPhotCam; //! name of the 'MPedPhotCam' container
23
24 TH2D fBadId; // 2D-histogram : pixel Id vs. Theta
25 TH2D fBadN; // 2D-histogram : no.of bad pixels vs. Theta
26
27public:
28 MHBadPixels(const char *name=NULL, const char *title=NULL);
29
30 void SetNamePedPhotCam(const char *name) { fNamePedPhotCam = name; }
31
32 const TH2D *GetBadId() { return &fBadId; }
33 const TH2D *GetBadId() const { return &fBadId; }
34
35 const TH2D *GetBadN() { return &fBadN; }
36 const TH2D *GetBadN() const { return &fBadN; }
37
38 void Draw(Option_t* option = "");
39 Bool_t SetupFill(const MParList *plist);
40 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
41
42 ClassDef(MHBadPixels, 1) // Histogram of bad pixel Id vs. Theta
43};
44
45#endif
46
47
Note: See TracBrowser for help on using the repository browser.