Changeset 12840 for trunk/FACT++


Ignore:
Timestamp:
02/03/12 21:25:33 (13 years ago)
Author:
tbretz
Message:
fCalibration must be resize to 2*416 not 416
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/feedback.cc

    r12825 r12840  
    245245            }
    246246
    247             fCalibration.resize(416);
     247            fCalibration.resize(416*2);
    248248            for (int i=0; i<416; i++)
    249249            {
     
    537537                Out() << setw(2) << k << "|" << setw(2) << j*4 << "|";
    538538                for (int i=0; i<4; i++)
    539                     Out() << Tools::Form(" %6.1f+-%4.1f", fCalibration[i], fCalibration[i+416]);
     539                    Out() << Tools::Form(" %6.1f+-%4.1f", fCalibration[k*32+j*4+i], fCalibration[k*32+j*4+i+416]);
    540540                Out() << endl;
    541541            }
Note: See TracChangeset for help on using the changeset viewer.