Ignore:
Timestamp:
07/14/04 21:44:14 (20 years ago)
Author:
hbartko
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mpedestal/MPedPhotCam.h

    r3803 r4384  
    1313class MGeomCam;
    1414class MPedPhotPix;
     15class MBadPixelsCam;
    1516
    1617class MPedPhotCam : public MParContainer, public MCamEvent
    1718{
    1819private:
    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);
    2027
    2128public:
     
    2532    void Clear(Option_t *o="");
    2633
    27     void InitSize(const UInt_t i);
     34    void Init(const MGeomCam &geom);
     35    void InitSize(const UInt_t i); // HB
    2836    Int_t GetSize() const;
    2937
    3038    MPedPhotPix &operator[](Int_t i);
    31     MPedPhotPix &operator[](Int_t i) const;
     39    const MPedPhotPix &operator[](Int_t i) const;
    3240
    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;
    3543
    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;
    3750
    3851    void Print(Option_t *o="") const;
     52
     53    void ReCalc(const MGeomCam &geom, MBadPixelsCam *bad);
    3954
    4055    Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
    4156    void DrawPixelContent(Int_t num) const;
    4257
    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)
    4459};
    4560
Note: See TracChangeset for help on using the changeset viewer.