source: trunk/MagicSoft/Mars/manalysis/MHPedestalPix.h@ 3160

Last change on this file since 3160 was 3160, checked in by gaug, 21 years ago
*** empty log message ***
File size: 1007 bytes
Line 
1#ifndef MARS_MHPedestalPix
2#define MARS_MHPedestalPix
3
4#ifndef MARS_MHGausEvents
5#include "MHGausEvents.h"
6#endif
7
8class MHPedestalPix : public MHGausEvents
9{
10
11private:
12
13 static const Int_t fgChargeNbins;
14 static const Axis_t fgChargeFirst;
15 static const Axis_t fgChargeLast;
16
17 Int_t fChargeNbins;
18 Axis_t fChargeFirst;
19 Axis_t fChargeLast;
20
21 Int_t fPixId; // Pixel Nr
22
23public:
24
25 MHPedestalPix(const char *name=NULL, const char *title=NULL);
26 ~MHPedestalPix();
27
28 void InitBins();
29
30 // Setters
31 void SetChargeNbins(const Int_t bins =fgChargeNbins) { fChargeNbins = bins; }
32 void SetChargeFirst(const Axis_t first=fgChargeFirst) { fChargeFirst = first; }
33 void SetChargeLast( const Axis_t last =fgChargeLast) { fChargeLast = last; }
34
35 // Others
36 void ChangeHistId(Int_t i);
37 void Renorm(const Float_t nslices);
38
39 // TObject *DrawClone(Option_t *opt="") const;
40
41 ClassDef(MHPedestalPix, 1) // Histograms for each calibrated pixel
42};
43
44#endif
Note: See TracBrowser for help on using the repository browser.