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

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