Changeset 2798 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 01/14/04 09:09:04 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mhist
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHSigmaTheta.cc
r2254 r2798 47 47 #include "MGeomCam.h" 48 48 49 #include "MPed estalCam.h"50 #include "MPed estalPix.h"49 #include "MPedPhotCam.h" 50 #include "MPedPhotPix.h" 51 51 52 52 #include "MCerPhotEvt.h" … … 117 117 *fLog << warn << "MMcEvt not found... aborting." << endl; 118 118 119 fPed = (MPed estalCam*)plist->FindObject("MPedestalCam");119 fPed = (MPedPhotCam*)plist->FindObject("MPedPhotCam"); 120 120 if (!fPed) 121 121 { 122 *fLog << err << "MPed estalCam not found... aborting." << endl;122 *fLog << err << "MPedPhotCam not found... aborting." << endl; 123 123 return kFALSE; 124 124 } … … 204 204 205 205 const Int_t id = cerpix.GetPixId(); 206 const MPed estalPix &pix = (*fPed)[id];206 const MPedPhotPix &pix = (*fPed)[id]; 207 207 208 208 // ratio is the area of pixel 0 209 209 // divided by the area of the current pixel 210 210 const Double_t ratio = fCam->GetPixRatio(id); 211 const Double_t sigma = pix.Get PedestalRms();211 const Double_t sigma = pix.GetRms(); 212 212 213 213 fSigmaPixTheta.Fill(theta, (Double_t)id, sigma); -
trunk/MagicSoft/Mars/mhist/MHSigmaTheta.h
r2522 r2798 16 16 class MGeomCam; 17 17 class MCerPhotEvt; 18 class MPedestalCam;19 18 class MMcEvt; 20 class MPed estalCam;19 class MPedPhotCam; 21 20 class MSigmabar; 22 21 class MParList; … … 27 26 private: 28 27 const MGeomCam *fCam; //! 29 MPed estalCam*fPed; //!28 MPedPhotCam *fPed; //! 30 29 MCerPhotEvt *fEvt; //! 31 30 MSigmabar *fSigmabar; //!
Note:
See TracChangeset
for help on using the changeset viewer.