Changeset 2781 for trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.cc
- Timestamp:
- 01/13/04 13:22:38 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.cc
r2653 r2781 38 38 // Output Containers: 39 39 // MCerPhotEvt the data container for all data. 40 // MPed estalCam ct1 pedestals40 // MPedPhotCam CT1 pedestals 41 41 // MMcEvt monte carlo data container for MC files 42 42 // MMcTrig mc data container for trigger information … … 67 67 #include "MCerPhotEvt.h" 68 68 69 #include "MPed estalPix.h"70 #include "MPed estalCam.h"69 #include "MPedPhotPix.h" 70 #include "MPedPhotCam.h" 71 71 72 72 #include "MGeomCam.h" … … 355 355 for (Int_t i=0; i<iMAXNUMPIX; i++) 356 356 { 357 (*fPedest)[i].Set PedestalRms(outpars.frms_pedsig_phot[i]);357 (*fPedest)[i].Set(0, outpars.frms_pedsig_phot[i]); 358 358 *fLog << outpars.frms_pedsig_phot[i] << " "; 359 359 fPedRMS[i] = outpars.frms_pedsig_phot[i]; … … 722 722 // them if they don't exist. 723 723 // 724 // Initialize the size of the MPed estalCam container to 127 pixels (CT1 camera)724 // Initialize the size of the MPedPhotCam container to 127 pixels (CT1 camera) 725 725 // 726 726 Int_t MCT1ReadPreProc::PreProcess(MParList *pList) … … 754 754 // look for the pedestal class in the plist 755 755 // 756 fPedest = (MPed estalCam*)pList->FindCreateObj("MPedestalCam");756 fPedest = (MPedPhotCam*)pList->FindCreateObj("MPedPhotCam"); 757 757 if (!fPedest) 758 758 return kFALSE; … … 901 901 // reset pedestal RMS for this event 902 902 for (Int_t i=0; i<iMAXNUMPIX; i++) 903 (*fPedest)[i].Set PedestalRms(fPedRMS[i]);903 (*fPedest)[i].Set(0, fPedRMS[i]); 904 904 905 905 // int isecs_since_midday; // seconds passed since midday before sunset (JD of run start) … … 944 944 continue; 945 945 946 fNphot->AddPixel(i, 0.1*event.spixsig_10thphot[i], 947 (*fPedest)[i].GetPedestalRms()); 946 fNphot->AddPixel(i, 0.1*event.spixsig_10thphot[i], (*fPedest)[i].GetRms()); 948 947 } 949 948 fNphot->FixSize();
Note:
See TracChangeset
for help on using the changeset viewer.