Ignore:
Timestamp:
08/25/07 16:30:26 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhflux
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhflux/MHCollectionArea.cc

    r8695 r8709  
    9999
    100100    MBinning binsa, binse, binst;
    101     binse.SetEdgesLog(15, 10, 1000000);
     101    binse.SetEdgesLog(21, 6.3, 100000);
    102102    binst.SetEdgesASin(67, -0.005, 0.665);
    103103
     
    136136    MH::SetBinomialErrors(fHEnergy, *hsel, *hall);
    137137#endif
     138
    138139    fHEnergy.Scale(totalarea);
    139140
     
    198199    }
    199200
    200     // FIXME: Does this need some weighting with the number of produced events?
    201201    if (runheader->GetImpactMax()>fMcAreaRadius*100)
    202202    {
  • trunk/MagicSoft/Mars/mhflux/MHEnergyEst.cc

    r8695 r8709  
    9595
    9696    MBinning binsi, binse, binst, binsr;
    97     binse.SetEdgesLog(25, 10, 1000000);
     97    binse.SetEdgesLog(21, 6.3, 100000);
    9898    binst.SetEdgesASin(51, -0.005, 0.505);
    99     binsi.SetEdges(10, 0, 400);
    10099    binsr.SetEdges(75, -1.75, 1.75);
     100
     101    // Use the binning in impact to do efficiency studies
     102    binsi.SetEdges(1, 0, 1000);
    101103
    102104    SetBinning(&fHEnergy,     &binse, &binse, &binst);
     
    513515    line.DrawLine(0,0,1,1);
    514516
     517    line.SetLineColor(kBlue);
     518    line.SetLineWidth(2);
     519    line.SetLineStyle(kDashed);
     520
    515521    pad2->cd(2);
    516522    h = MakePlot(fHResolution, "zy");
     
    521527    h->SetMaximum(1.3);
    522528
     529    line.DrawLine(h->GetXaxis()->GetXmin(), 0, h->GetXaxis()->GetXmax(), 0);
     530
    523531    pad2->cd(3);
    524532    h = MakePlot(fHResolution, "zx");
     
    528536    h->SetMinimum(-1.3);
    529537    h->SetMaximum(1.3);
     538
     539    line.DrawLine(h->GetXaxis()->GetXmin(), 0, h->GetXaxis()->GetXmax(), 0);
    530540}
    531541
  • trunk/MagicSoft/Mars/mhflux/MMcSpectrumWeight.cc

    r8695 r8709  
    493493    if (hasold)
    494494    {
    495         *fLog << " Old Spectrum: " << GetFormulaSpecOldX();
     495        *fLog << " Old Spectrum:  " << GetFormulaSpecOldX();
    496496        if (fEnergyMin>=0 && fEnergyMax>0)
    497497            *fLog << "   (I=" << GetSpecOldIntegral() << ")";
     
    500500    if (hasnew)
    501501    {
    502         *fLog << " New Spectrum: " << GetFormulaSpecNewX();
     502        *fLog << " New Spectrum:  " << GetFormulaSpecNewX();
    503503        if (fEnergyMin>=0 && fEnergyMax>0)
    504504            *fLog << "   (I=" << GetSpecNewIntegral() << ")";
Note: See TracChangeset for help on using the changeset viewer.