Changeset 4384 for trunk/MagicSoft/Mars/mpedestal/MPedPhotCam.h
- Timestamp:
- 07/14/04 21:44:14 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mpedestal/MPedPhotCam.h
r3803 r4384 13 13 class MGeomCam; 14 14 class MPedPhotPix; 15 class MBadPixelsCam; 15 16 16 17 class MPedPhotCam : public MParContainer, public MCamEvent 17 18 { 18 19 private: 19 TClonesArray *fArray; // FIXME: Change TClonesArray away from a pointer? 20 TClonesArray *fArray; // FIXME: Change TClonesArray away from a pointer? 21 TClonesArray *fAreas; //-> Array of MPedPhotPix, one per pixel area 22 TClonesArray *fSectors; //-> Array of MPedPhotPix, one per camera sector 23 24 // void InitSize(const UInt_t i); 25 void InitAreas(const UInt_t i); 26 void InitSectors(const UInt_t i); 20 27 21 28 public: … … 25 32 void Clear(Option_t *o=""); 26 33 27 void InitSize(const UInt_t i); 34 void Init(const MGeomCam &geom); 35 void InitSize(const UInt_t i); // HB 28 36 Int_t GetSize() const; 29 37 30 38 MPedPhotPix &operator[](Int_t i); 31 MPedPhotPix &operator[](Int_t i) const;39 const MPedPhotPix &operator[](Int_t i) const; 32 40 33 // Float_t GetPedestalMin(const MGeomCam *cam) const;34 // Float_t GetPedestalMax(const MGeomCam *cam) const;41 MPedPhotPix &GetArea(UInt_t i); 42 const MPedPhotPix &GetArea(UInt_t i) const; 35 43 36 // Bool_t CheckBounds(Int_t i); 44 Int_t GetNumAreas() const; 45 46 MPedPhotPix &GetSector(UInt_t i); 47 const MPedPhotPix &GetSector(UInt_t i) const; 48 49 Int_t GetNumSectors() const; 37 50 38 51 void Print(Option_t *o="") const; 52 53 void ReCalc(const MGeomCam &geom, MBadPixelsCam *bad); 39 54 40 55 Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const; 41 56 void DrawPixelContent(Int_t num) const; 42 57 43 ClassDef(MPedPhotCam, 1) // Storage Container for all pedestal information of the camera (in units of photons)58 ClassDef(MPedPhotCam, 2) // Storage Container for all pedestal information of the camera (in units of photons) 44 59 }; 45 60
Note:
See TracChangeset
for help on using the changeset viewer.