Changeset 283 in Idarraga


Ignore:
Timestamp:
Apr 20, 2012, 3:13:58 PM (12 years ago)
Author:
idarraga
Message:

more formats supported

Location:
mpxdataconverter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mpxdataconverter/allpix_dm.cc

    r279 r283  
    332332                        }
    333333
     334                        infoS = NEW_STRING_TYPEI16_MATRIX;
     335                        if ( (found = tempS.find(infoS)) != std::string::npos) {
     336                                return FSAVE_ASCII | FSAVE_I16;
     337                        }
     338
     339                        infoS = NEW_STRING_TYPEU32_MATRIX;
     340                        if ( (found = tempS.find(infoS)) != std::string::npos) {
     341                                return FSAVE_ASCII | FSAVE_U32;
     342                        }
     343
    334344                        break;
    335345                }
  • mpxdataconverter/allpix_dm_consts.h

    r278 r283  
    124124#define NEW_STRING_TYPEI16_XYC    "Type=i16 [X,Y,C]"
    125125#define NEW_STRING_TYPEU32_XYC    "Type=u32 [X,Y,C]"
     126#define NEW_STRING_TYPEI16_MATRIX "Type=i16 matrix"
     127#define NEW_STRING_TYPEU32_MATRIX "Type=u32 matrix"
    126128
    127129// The following definitions are used to comply with a particular detector technology
Note: See TracChangeset for help on using the changeset viewer.