Changeset 4457
- Timestamp:
- 08/04/04 11:37:56 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 15 added
- 12 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/AnalysisLinkDef.h
r4446 r4457 38 38 #pragma link C++ class MEventRateCalc+; 39 39 40 #pragma link C++ class MCT1PadSchweizer+;41 #pragma link C++ class MCT1PadONOFF+;42 40 #pragma link C++ class MPad+; 43 44 #pragma link C++ class MCT1PointingCorrCalc+;45 41 46 42 #pragma link C++ class MParameterI+; … … 51 47 #pragma link C++ class MMcTriggerLvl2Calc+; 52 48 53 #pragma link C++ class MCT1Supercuts+;54 #pragma link C++ class MCT1SupercutsCalc+;55 #pragma link C++ class MCT1FindSupercuts+;56 49 #pragma link C++ class MSupercuts+; 57 50 #pragma link C++ class MSupercutsCalc+; -
trunk/MagicSoft/Mars/manalysis/Makefile
r4446 r4457 48 48 MSigmabarParam.cc \ 49 49 MSigmabarCalc.cc \ 50 MCT1PadSchweizer.cc \51 MCT1PointingCorrCalc.cc \52 50 MParameters.cc \ 53 51 MMcTriggerLvl2.cc \ 54 52 MMcTriggerLvl2Calc.cc \ 55 MCT1Supercuts.cc \56 MCT1SupercutsCalc.cc \57 MCT1FindSupercuts.cc \58 53 MSupercuts.cc \ 59 54 MSupercutsCalc.cc \ … … 61 56 MMinuitInterface.cc \ 62 57 MFiltercutsCalc.cc \ 63 MCT1PadONOFF.cc \64 58 MPad.cc \ 65 59 MPedestalWorkaround.cc \ -
trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.cc
r3568 r4457 18 18 ! Author(s): Thomas Bretz, 11/2002 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! 20 ! Copyright: MAGIC Software Development, 2000-200 320 ! Copyright: MAGIC Software Development, 2000-2004 21 21 ! 22 22 ! … … 42 42 // MMcTrig mc data container for trigger information 43 43 // MSrcPosCam source position in the camera 44 // MB lindPixelsArray holding blind pixels44 // MBadPixelsCam Array holding blind pixels 45 45 // 46 46 ///////////////////////////////////////////////////////////////////////////// … … 74 74 #include "MGeomCam.h" 75 75 #include "MSrcPosCam.h" 76 #include "MBlindPixels.h" 76 #include "MBadPixelsCam.h" 77 #include "MBadPixelsPix.h" 77 78 78 79 #include "MRawRunHeader.h" … … 245 246 { 246 247 *fLog << i << " "; 247 fBlinds->SetPixelBlind(i);248 (*fBlinds)[i].SetUnsuitable(MBadPixelsPix::kUnreliableRun); 248 249 } 249 250 *fLog << endl; … … 255 256 { 256 257 *fLog << i << " "; 257 fBlinds->SetPixelBlind(i);258 (*fBlinds)[i].SetUnsuitable(MBadPixelsPix::kUnreliableRun); 258 259 } 259 260 *fLog << endl; … … 262 263 fBlnd.Set(iMAXNUMPIX); 263 264 for (int i=0; i<iMAXNUMPIX; i++) 264 fBlnd[i] = fBlinds->IsBlind(i) ? 1 : 0;265 fBlnd[i] = (*fBlinds)[i].IsBad() ? 1 : 0; 265 266 266 267 fBlinds->SetReadyToSave(); … … 349 350 350 351 // float frms_pedsig_phot[iMAXNUMPIX]; // standard deviation of the calibrated signals from the pedestal run */ 351 fPedest->Init Size(iMAXNUMPIX);352 fPedest->Init(*fGeom); 352 353 353 354 fPedRMS.Set(iMAXNUMPIX); … … 775 776 // look for the pedestal class in the plist 776 777 // 777 fBlinds = (MB lindPixels*)pList->FindCreateObj("MBlindPixels");778 fBlinds = (MBadPixelsCam*)pList->FindCreateObj("MBadPixelsCam"); 778 779 if (!fBlinds) 779 780 return kFALSE; … … 818 819 Rewind(); 819 820 820 fPedest->Init Size(iMAXNUMPIX);821 fPedest->Init(*fGeom); 821 822 822 823 return GetSelector() ? GetSelector()->CallPreProcess(pList) : kTRUE; … … 901 902 fBlinds->Clear(); 902 903 for (int i=0; i<iMAXNUMPIX; i++) 903 if ( fBlnd[i]==1 ) 904 { 905 fBlinds->SetPixelBlind(i); 906 } 904 if (fBlnd[i]==1) 905 (*fBlinds)[i].SetUnsuitable(MBadPixelsPix::kUnreliableRun); 907 906 908 907 // reset pedestal RMS for this event -
trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.h
r2781 r4457 22 22 class MCerPhotEvt; 23 23 class MPedPhotCam; 24 class MB lindPixels;24 class MBadPixelsCam; 25 25 class MRawRunHeader; 26 26 class MTaskList; … … 45 45 MMcTrig *fMcTrig; // mc data container for trigger information 46 46 MSrcPosCam *fSrcPos; // source position in the camera 47 MB lindPixels*fBlinds; // Array holding blind pixels47 MBadPixelsCam *fBlinds; // Array holding blind pixels 48 48 MRawRunHeader *fRawRunHeader; // raw run header 49 49 MParList *fParList; // parameter list
Note:
See TracChangeset
for help on using the changeset viewer.