Ignore:
Timestamp:
02/13/04 15:28:02 (21 years ago)
Author:
wittek
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MHSigmaTheta.cc

    r2798 r3140  
    9595    MBinning binst;
    9696    MBinning binsd;
    97     binsd.SetEdges(100, -5, 20);
    98     binsb.SetEdges(100, 0, 5);
     97    binsd.SetEdges(100, -10, 20);
     98    binsb.SetEdges(100, 0, 10);
    9999    binst.SetEdgesCos(10, 0, 90);
    100100
     
    166166
    167167    // Get binning for pixel number
    168     const UInt_t npix1 = fPed->GetSize()+1;
    169 
     168    //const UInt_t npix1 = fPed->GetSize()+1;
     169    //*fLog << "npix1 = " << npix1 << endl;
     170    //MBinning binspix("BinningPixel");
     171    //binspix.SetEdges(npix1, -0.5, npix1-0.5);
     172    // the above gives npix1 = 1; therefore :
    170173    MBinning binspix("BinningPixel");
    171     binspix.SetEdges(npix1, -0.5, npix1-0.5);
     174    binspix.SetEdges(578, -0.5, 577.5);
    172175
    173176    // Set binnings in histograms
     
    191194{
    192195    Double_t theta = fMcEvt ? fMcEvt->GetTelescopeTheta()*kRad2Deg : 0;
    193     Double_t mysig = fSigmabar->Calc(*fCam, *fPed, *fEvt);
     196    fSigmabar->Calc(*fCam, *fPed, *fEvt);
     197    Double_t mysig = fSigmabar->GetSigmabarInner();
     198
     199    //*fLog << "theta, mysig = " << theta << ",  " << mysig << endl;
    194200
    195201    fSigmaTheta.Fill(theta, mysig);
     
    211217        const Double_t sigma = pix.GetRms();
    212218
    213         fSigmaPixTheta.Fill(theta, (Double_t)id, sigma);
     219        fSigmaPixTheta.Fill(theta, (Double_t)id, sigma*sqrt(ratio));
    214220
    215221        const Double_t diff = sigma*sigma*ratio - mysig*mysig;
Note: See TracChangeset for help on using the changeset viewer.