Ignore:
Timestamp:
01/24/11 12:04:23 (14 years ago)
Author:
weitzel
Message:
new version of pixelmap class
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/pixelmap/Pixel.h

    r9 r10116  
    88private:
    99
    10     unsigned int _DRSboard;
    11     unsigned int _DRSchip;
    12     unsigned int _DRSchannel;
     10    unsigned int _FPAcrate;
     11    unsigned int _FPAboard;
     12    unsigned int _FPApatch;
     13    unsigned int _FPApixel;
    1314
     15    unsigned int _HVcrate;
    1416    unsigned int _HVboard;
    15     unsigned int _HVchain;
    1617    unsigned int _HVchannel;
     18
     19    int _POSx;
     20    int _POSy;
    1721
    1822public:
    1923   
    2024    Pixel();
    21     Pixel(unsigned int DRSboard, unsigned int DRSchip, unsigned int DRSchannel,
    22           unsigned int HVboard, unsigned int HVchain, unsigned int HVchannel);
     25    Pixel(unsigned int FPAcrate, unsigned int FPAboard, unsigned int FPApatch, unsigned int FPApixel,
     26          unsigned int HVcrate, unsigned int HVboard, unsigned int HVchannel,
     27          int POSx, int POSy);
    2328
    2429    ~Pixel() { }
    2530
    26     //void SetPixelDRSboard(unsigned int DRSboard);
    27     //void SetPixelDRSchip(unsigned int DRSchip);
    28     //void SetPixelDRSchannel(unsigned int DRSchannel);
     31    unsigned int GetPixelFPAcrate() const {return _FPAcrate;}
     32    unsigned int GetPixelFPAboard() const {return _FPAboard;}
     33    unsigned int GetPixelFPApatch() const {return _FPApatch;}
     34    unsigned int GetPixelFPApixel() const {return _FPApixel;}
    2935
    30     //void SetPixelHVboard(unsigned int HVboard);
    31     //void SetPixelHVchain(unsigned int HVchain);
    32     //void SetPixelHVchannel(unsigned int HVchannel);
     36    unsigned int GetPixelHVcrate() const {return _HVcrate;}
     37    unsigned int GetPixelHVboard() const {return _HVboard;}
     38    unsigned int GetPixelHVchannel() const {return _HVchannel;}
    3339
    34     unsigned int GetPixelDRSboard() const {return _DRSboard;}
    35     unsigned int GetPixelDRSchip() const {return _DRSchip;}
    36     unsigned int GetPixelDRSchannel() const {return _DRSchannel;}
    37 
    38     unsigned int GetPixelHVboard() const {return _HVboard;}
    39     unsigned int GetPixelHVchain() const {return _HVchain;}
    40     unsigned int GetPixelHVchannel() const {return _HVchannel;}
     40    int GetPixelPOSx() const {return _POSx;}
     41    int GetPixelPOSy() const {return _POSy;}
    4142
    4243    friend std::ostream& operator << (std::ostream& s, const Pixel& pixel);
Note: See TracChangeset for help on using the changeset viewer.