Ignore:
Timestamp:
10/02/11 13:36:03 (13 years ago)
Author:
tbretz
Message:
Added bool-cast operator to PixelMapEntry.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/PixelMap.h

    r12161 r12164  
    3131    int group() const { return pixel()>4; }
    3232    int hv() const    { return hv_channel+hv_board*32; }
     33
     34    operator bool() const { return index>=0; }
    3335};
    3436
     
    181183};
    182184
    183 //const PixelMapEntry PixelMap::empty = { 0, 0, 0, 0, 0, 0 };
    184 
    185185#endif
Note: See TracChangeset for help on using the changeset viewer.