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

Last change on this file since 3599 was 3165, checked in by gaug, 21 years ago
*** empty log message ***
File size: 1.0 KB
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 Clear(Option_t *o="");
29 void InitBins();
30
31 // Setters
32 void SetChargeNbins(const Int_t bins =fgChargeNbins) { fChargeNbins = bins; }
33 void SetChargeFirst(const Axis_t first=fgChargeFirst) { fChargeFirst = first; }
34 void SetChargeLast( const Axis_t last =fgChargeLast) { fChargeLast = last; }
35
36 // Others
37 void ChangeHistId(Int_t i);
38 void Renorm(const Float_t nslices);
39
40 // TObject *DrawClone(Option_t *opt="") const;
41
42 ClassDef(MHPedestalPix, 1) // Histograms for each calibrated pixel
43};
44
45#endif
Note: See TracBrowser for help on using the repository browser.