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

Last change on this file since 2698 was 2128, checked in by wittek, 22 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 MPedestalCam;
12class MMcEvt;
13class MParList;
14
15
16class MHBlindPixels : public MH
17{
18private:
19 MPedestalCam *fPed; //!
20 MMcEvt *fMcEvt; //!
21
22 TH2D fBlindId; // 2D-histogram : pixel Id vs. Theta
23 TH2D fBlindN; // 2D-histogram : no.of blind pixels vs. Theta
24
25public:
26 MHBlindPixels(const char *name=NULL, const char *title=NULL);
27
28 const TH2D *GetBlindId() { return &fBlindId; }
29 const TH2D *GetBlindId() const { return &fBlindId; }
30
31 const TH2D *GetBlindN() { return &fBlindN; }
32 const TH2D *GetBlindN() const { return &fBlindN; }
33
34 TH2 *GetBlinIdByName(const TString name) { return &fBlindId; }
35 TH2 *GetBlinNByName(const TString name) { return &fBlindN; }
36
37 void Draw(Option_t* option = "");
38 Bool_t SetupFill(const MParList *plist);
39 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
40
41 ClassDef(MHBlindPixels, 1) // Histogram of blind pixel Id vs. Theta
42};
43
44#endif
45
46
Note: See TracBrowser for help on using the repository browser.