source: trunk/MagicSoft/Mars/manalysis/MHPedestalCam.h@ 3325

Last change on this file since 3325 was 3176, checked in by gaug, 21 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MHPedestalCam
2#define MARS_MHPedestalCam
3
4#ifndef ROOT_TObjArray
5#include <TObjArray.h>
6#endif
7
8#ifndef MARS_MH
9#include "MH.h"
10#endif
11#ifndef MARS_MCamEvent
12#include "MCamEvent.h"
13#endif
14
15class MHPedestalPix;
16class MPedestalCam;
17class MHPedestalCam : public MH, public MCamEvent
18{
19
20private:
21
22 TObjArray *fArray; //-> List of MHPedestalPix's
23
24 MPedestalCam *fPedestals; //! need to initialize MPedestalCam to zero (which is not default!)
25
26 Float_t fExtractSlices;
27
28public:
29 MHPedestalCam(const char *name=NULL, const char *title=NULL);
30 ~MHPedestalCam();
31
32 MHPedestalPix &operator[](UInt_t i);
33 const MHPedestalPix &operator[](UInt_t i) const;
34
35 Bool_t SetupFill(const MParList *pList);
36 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
37 Bool_t Finalize();
38
39 TObject *Clone(const char *) const;
40
41 Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
42 void DrawPixelContent(Int_t idx) const;
43
44 ClassDef(MHPedestalCam, 1) // Storage Container for all pedestal information of the camera
45};
46
47#endif
48
Note: See TracBrowser for help on using the repository browser.