Changeset 2714 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
12/18/03 17:18:01 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2713 r2714  
    99     - Changed  "if (!fCalibrations)" to "if (!fGeomCam)" in
    1010       preprocess (this was a cut-and-paste error).
     11     - In Process: added "fCerPhotEvt->AddPixel(pixid, 0., 0.)" before
     12       setting pixel pixid to unused, in case !pix.IsValid()
     13       May be removing both commands (adding the pixel and setting it
     14       to unused would have the same effect).
    1115
    1216 2003/12/18: Thomas Bretz
  • trunk/MagicSoft/Mars/manalysis/MCalibrate.cc

    r2713 r2714  
    131131Int_t MCalibrate::Process()
    132132{
    133 
    134133    UInt_t imaxnumpix = fGeomCam->GetNumPixels();
    135134   
    136135    for (UInt_t pixid = 0; pixid < imaxnumpix; pixid++)
    137136    {
    138 
    139137        MCalibrationPix &pix = (*fCalibrations)[pixid];
    140138
     
    163161        }
    164162        else
     163          {
     164            fCerPhotEvt->AddPixel(pixid, 0., 0.);
    165165            (*fCerPhotEvt)[pixid].SetPixelUnused();
     166          }
    166167    }
    167168
Note: See TracChangeset for help on using the changeset viewer.