source: tags/Mars-V0.9.4.2/mpedestal/MHPedestalCam.h

Last change on this file was 4996, checked in by gaug, 20 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MHPedestalCam
2#define MARS_MHPedestalCam
3
4#ifndef MARS_MHCalibrationCam
5#include "MHCalibrationCam.h"
6#endif
7
8class MGeomCam;
9class MPedestalCam;
10class MHPedestalPix;
11class MHPedestalCam : public MHCalibrationCam
12{
13
14private:
15
16 void InitPedHists(MHPedestalPix &hist, const Int_t i, const Float_t nslices);
17
18 Bool_t ReInitHists(MParList *pList);
19 Bool_t FillHists(const MParContainer *par, const Stat_t w=1);
20 Bool_t FinalizeHists();
21
22 Float_t fExtractHiGainSlices; // Number of FADC slices used for high gain signal extraction
23 Float_t fExtractLoGainSlices; // Number of FADC slices used for low gain signal extraction
24
25 Bool_t fRenorm;
26
27 MPedestalCam *fPedestals; //! Pedestal Cam filled by MPedCalcPedRun
28
29public:
30 MHPedestalCam(const char *name=NULL, const char *title=NULL);
31 ~MHPedestalCam() {}
32
33 Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
34 void DrawPixelContent(Int_t idx) const;
35
36 void SetRenorm( const Bool_t b=kTRUE ) { fRenorm = b; }
37
38 ClassDef(MHPedestalCam, 1) // Histogram class for Charge Camera Pedestals
39};
40
41#endif
42
Note: See TracBrowser for help on using the repository browser.