Ignore:
Timestamp:
03/04/04 09:59:10 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mgeom/MGeomPix.h

    r3112 r3392  
    2828
    2929    UInt_t fSector;        // Number of sector the pixels corresponds to
     30    UInt_t fAidx;          // Area index of the pixel
    3031
    3132public:
    32     MGeomPix(Float_t x=0, Float_t y=0, Float_t d=0, UInt_t s=0);
     33    MGeomPix(Float_t x=0, Float_t y=0, Float_t d=0, UInt_t s=0, UInt_t aidx=0);
    3334
    3435    void Print(Option_t *opt=NULL) const;
    3536
    36     void Set(Float_t x, Float_t y, Float_t d, UInt_t s=0) { fX=x; fY=y; fD=d; fA=d*d*gsTan60/2; fSector=s; }
     37    void Set(Float_t x, Float_t y, Float_t d, UInt_t s=0, UInt_t aidx=0) { fX=x; fY=y; fD=d; fA=d*d*gsTan60/2; fSector=s; fAidx=aidx; }
    3738
    3839    void SetNeighbors(Short_t i0=-1, Short_t i1=-1, Short_t i2=-1,
     
    4647    UInt_t  GetSector() const { return fSector; }
    4748
    48     Float_t GetA() const { return fA; /*fD*fD*gsTan60/2;*/ }
     49    Float_t GetA() const    { return fA; /*fD*fD*gsTan60/2;*/ }
     50    Int_t   GetAidx() const { return fAidx; }
    4951
    5052    Byte_t  GetNumNeighbors() const { return fNumNeighbors; }
     
    6567     */
    6668
    67     ClassDef(MGeomPix, 1) // Geometry class describing the geometry of one pixel
     69    ClassDef(MGeomPix, 3) // Geometry class describing the geometry of one pixel
    6870};
    6971
    7072#endif
    71 
Note: See TracChangeset for help on using the changeset viewer.