Ignore:
Timestamp:
08/09/11 23:53:44 (13 years ago)
Author:
tbretz
Message:
When setting a pixel map in the event data subtract one to get from the id to the index.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mraw/MRawEvtData.cc

    r11555 r11870  
    513513        return;
    514514
    515     memcpy(fHiGainPixId->GetArray(), idx.GetArray(), idx.GetSize()*sizeof(UShort_t));
     515    for (UInt_t i=0; i<fHiGainPixId->GetSize(); i++)
     516        (*fHiGainPixId)[i] = idx[i]-1;
    516517}
    517518
Note: See TracChangeset for help on using the changeset viewer.