Changeset 5354 for trunk/MagicSoft


Ignore:
Timestamp:
11/08/04 11:35:53 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5352 r5354  
    2020
    2121                                                 -*-*- END OF LINE -*-*-
     22
     23 2004/11/08: Abelardo Moralejo
     24   * mpedestal/MPedPhotCalc.cc
     25     - In ReInit: removed check of whether file is MC file. Now fSumx
     26       and fSumx2 are initialized also for MC files. This is needed to
     27       run some parts of the calibration over pedestal and calibration
     28       MC files.
    2229
    2330 2004/11/06: Abelardo Moralejo
  • trunk/MagicSoft/Mars/mpedestal/MPedPhotCalc.cc

    r4160 r5354  
    120120Bool_t MPedPhotCalc::ReInit(MParList *pList)
    121121{
    122   const MRawRunHeader *runheader = (MRawRunHeader*)pList->FindObject("MRawRunHeader");
    123   if (!runheader)
    124   {
    125       *fLog << warn << dbginf;
    126       *fLog << "Warning - cannot check file type, MRawRunHeader not found." << endl;
    127   }
    128   else
    129       if (runheader->IsMonteCarloRun())
    130           return kTRUE;
    131  
    132 
    133122  // Initialize arrays
    134123  if(fSumx.GetSize()==0)
     
    156145    for(UInt_t i=0;i<fCerPhot->GetNumPixels();i++)
    157146    {
    158  
    159147       const MCerPhotPix &pix = (*fCerPhot)[i];
    160148       const Int_t pixidx = pix.GetPixId();
Note: See TracChangeset for help on using the changeset viewer.