source: trunk/MagicSoft/Mars/mhist/MHBlindPixels.h@ 4017

Last change on this file since 4017 was 3339, checked in by wittek, 21 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MHBlindPixels
2#define MARS_MHBlindPixels
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 MMcEvt;
13class MParList;
14class MGeomCam;
15
16class MHBlindPixels : public MH
17{
18private:
19 MGeomCam *fCam; //!
20 MPedPhotCam *fPedPhot; //!
21 MMcEvt *fMcEvt; //!
22
23 TH2D fBlindId; // 2D-histogram : pixel Id vs. Theta
24 TH2D fBlindN; // 2D-histogram : no.of blind pixels vs. Theta
25
26public:
27 MHBlindPixels(const char *name=NULL, const char *title=NULL);
28
29 const TH2D *GetBlindId() { return &fBlindId; }
30 const TH2D *GetBlindId() const { return &fBlindId; }
31
32 const TH2D *GetBlindN() { return &fBlindN; }
33 const TH2D *GetBlindN() const { return &fBlindN; }
34
35 TH2 *GetBlinIdByName(const TString name) { return &fBlindId; }
36 TH2 *GetBlinNByName(const TString name) { return &fBlindN; }
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(MHBlindPixels, 1) // Histogram of blind pixel Id vs. Theta
43};
44
45#endif
46
47
Note: See TracBrowser for help on using the repository browser.