Changeset 8049 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
10/11/06 09:34:07 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibrationTestCalc.cc

    r5947 r8049  
    205205
    206206  if (fGeom->InheritsFrom("MGeomCamMagic"))
    207     {
    208       *fLog << " " << setw(7) << "Not interpolateable Pixels: "
    209             << Form("%s%3i%s%3i","Inner: ",testcam->GetNumUninterpolated(0),
    210                     " Outer: ",testcam->GetNumUninterpolated(1)) << endl;
    211       *fLog << " " << setw(7) << "Biggest not-interpolateable cluster: "
    212             << maxbad << endl;
    213     }
    214  
     207  {
     208      *fLog << " Not interpolateable Pixels:";
     209      *fLog << " Inner: " << Form("%3i", testcam->GetNumUninterpolated(0));
     210      *fLog << " Outer: " << Form("%3i", testcam->GetNumUninterpolated(1)) << endl;
     211      *fLog << " Biggest not-interpolateable cluster: " << maxbad << endl;
     212  }
     213
    215214  testcam->SetNumUninterpolatedInMaxCluster(maxbad);
    216215
  • trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc

    r8021 r8049  
    326326
    327327    // Calculate arbitrary scale factor from propagated error from the
    328     // condistion: sqrt(alpha*background) = est.background/est.error
     328    // condition: sqrt(alpha*background) = est.background/est.error
    329329    // const Double_t bg = hof.Integral(1, bin);
    330330    // const Double_t sc = bg * er*er / (fit2.GetEventsBackground()*fit2.GetEventsBackground());
  • trunk/MagicSoft/Mars/mhflux/MHCollectionArea.cc

    r8047 r8049  
    201201    }
    202202
    203     if (fIsExtern)
    204         return kTRUE;
    205 
    206     fTotalNumSimulatedShowers += runheader->GetNumSimulatedShowers();
    207     *fLog << inf << "Total Number of Simulated showers: " << fTotalNumSimulatedShowers << endl;
    208 
    209203    if (fCorsikaVersion!=0 && fCorsikaVersion!=runheader->GetCorsikaVersion())
    210204        *fLog << warn << "Warning - Read files have different Corsika versions..." << endl;
    211205    fCorsikaVersion = runheader->GetCorsikaVersion();
     206
     207    if (fIsExtern)
     208        return kTRUE;
     209
     210    fTotalNumSimulatedShowers += runheader->GetNumSimulatedShowers();
     211    *fLog << inf << "Total Number of Simulated showers: " << fTotalNumSimulatedShowers << endl;
    212212
    213213    fAllEvtsTriggered |= runheader->GetAllEvtsTriggered();
Note: See TracChangeset for help on using the changeset viewer.