Ignore:
Timestamp:
01/14/04 09:09:04 (21 years ago)
Author:
wittek
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhist
Files:
2 edited

Legend:

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

    r2254 r2798  
    4747#include "MGeomCam.h"
    4848
    49 #include "MPedestalCam.h"
    50 #include "MPedestalPix.h"
     49#include "MPedPhotCam.h"
     50#include "MPedPhotPix.h"
    5151
    5252#include "MCerPhotEvt.h"
     
    117117        *fLog << warn << "MMcEvt not found... aborting." << endl;
    118118
    119     fPed = (MPedestalCam*)plist->FindObject("MPedestalCam");
     119    fPed = (MPedPhotCam*)plist->FindObject("MPedPhotCam");
    120120    if (!fPed)
    121121    {
    122         *fLog << err << "MPedestalCam not found... aborting." << endl;
     122        *fLog << err << "MPedPhotCam not found... aborting." << endl;
    123123        return kFALSE;
    124124    }
     
    204204
    205205        const Int_t id = cerpix.GetPixId();
    206         const MPedestalPix &pix = (*fPed)[id];
     206        const MPedPhotPix &pix = (*fPed)[id];
    207207
    208208        // ratio is the area of pixel 0
    209209        //          divided by the area of the current pixel
    210210        const Double_t ratio = fCam->GetPixRatio(id);
    211         const Double_t sigma = pix.GetPedestalRms();
     211        const Double_t sigma = pix.GetRms();
    212212
    213213        fSigmaPixTheta.Fill(theta, (Double_t)id, sigma);
  • trunk/MagicSoft/Mars/mhist/MHSigmaTheta.h

    r2522 r2798  
    1616class MGeomCam;
    1717class MCerPhotEvt;
    18 class MPedestalCam;
    1918class MMcEvt;
    20 class MPedestalCam;
     19class MPedPhotCam;
    2120class MSigmabar;
    2221class MParList;
     
    2726private:
    2827    const MGeomCam *fCam;        //!
    29     MPedestalCam   *fPed;        //!
     28    MPedPhotCam    *fPed;        //!
    3029    MCerPhotEvt    *fEvt;        //!
    3130    MSigmabar      *fSigmabar;   //!
Note: See TracChangeset for help on using the changeset viewer.