Changeset 3160 for trunk/MagicSoft/Mars/manalysis/MPedestalCam.h
- Timestamp:
- 02/15/04 18:37:08 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MPedestalCam.h
r3034 r3160 2 2 #define MARS_MPedestalCam 3 3 4 #ifndef ROOT_TObjArray5 #include <TObjArray.h>6 #endif7 8 #ifndef MARS_MH9 #include "MH.h"10 #endif11 4 #ifndef MARS_MParContainer 12 5 #include "MParContainer.h" … … 20 13 class MGeomCam; 21 14 class MPedestalPix; 22 class MHPedestalPixel; 23 24 class MPedestalCam : public MH, public MCamEvent 15 class MPedestalCam : public MCamEvent, public MParContainer 25 16 { 26 17 27 18 private: 28 19 29 static const UInt_t gkBlindPixelId;30 31 20 TClonesArray *fArray; // FIXME: Change TClonesArray away from a pointer? 32 21 33 TObjArray *fHArray; //-> List of Lo/Hi gain Histograms34 35 22 ULong_t fTotalEntries; 36 Float_t fExtractSlices;37 23 38 24 public: … … 45 31 46 32 MPedestalPix &operator[](Int_t i); 47 MPedestalPix &operator[](Int_t i) const; 48 49 MHPedestalPixel &operator()(UInt_t i); 50 MHPedestalPixel &operator()(UInt_t i) const; 51 52 Bool_t SetupFill(const MParList *pList); 53 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 54 Bool_t Finalize(); 55 56 TObject *Clone(const char *) const; 57 33 const MPedestalPix &operator[](Int_t i) const; 34 58 35 // Setters 59 void SetTotalEntries( ULong_t n) { fTotalEntries = n; }36 void SetTotalEntries(const ULong_t n) { fTotalEntries = n; } 60 37 61 38 // Getters 62 39 Int_t GetSize() const; 63 Int_t GetHistSize() const;64 40 ULong_t GetTotalEntries() const { return fTotalEntries; } 41 65 42 Float_t GetPedestalMin(const MGeomCam *cam) const; 66 43 Float_t GetPedestalMax(const MGeomCam *cam) const;
Note:
See TracChangeset
for help on using the changeset viewer.