Changeset 4987 for trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
- Timestamp:
- 09/14/04 00:20:44 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r4944 r4987 63 63 // MHCalibrationChargeBlindPix, MHCalibrationChargePINDiode 64 64 // MCalibrationChargePix, MCalibrationChargeCam, MCalibrationChargeCalc 65 // MCalibration ChargeBlindPix, MCalibrationChargePINDiode,65 // MCalibrationBlindPix, MCalibrationChargePINDiode, 66 66 // MCalibrationQECam, MBadPixelsPix, MBadPixelsCam 67 67 // … … 88 88 89 89 #include <TFile.h> 90 #include <TF1.h> 90 91 #include <TStyle.h> 91 92 #include <TCanvas.h> … … 114 115 115 116 #include "MCalibrationIntensityChargeCam.h" 117 #include "MCalibrationIntensityBlindCam.h" 116 118 #include "MCalibrationIntensityRelTimeCam.h" 117 119 #include "MCalibrationIntensityQECam.h" … … 123 125 #include "MCalibrationChargePix.h" 124 126 #include "MCalibrationChargePINDiode.h" 125 #include "MCalibration ChargeBlindPix.h"126 #include "MCalibration ChargeBlindCam.h"127 #include "MCalibration ChargeBlindCamOneOldStyle.h"128 #include "MCalibration ChargeBlindCamTwoNewStyle.h"127 #include "MCalibrationBlindPix.h" 128 #include "MCalibrationBlindCam.h" 129 #include "MCalibrationBlindCamOneOldStyle.h" 130 #include "MCalibrationBlindCamTwoNewStyle.h" 129 131 #include "MCalibrationChargeCalc.h" 130 132 #include "MCalibColorSet.h" … … 1428 1430 { 1429 1431 1430 MCalibration ChargeBlindCamOneOldStyle blindresults;1432 MCalibrationBlindCamOneOldStyle blindresults; 1431 1433 blindresults.Copy(fCalibrationBlindCam); 1432 1434 … … 1435 1437 blindext.SetRange(10,19,0,6); 1436 1438 blindext.SetNSBFilterLimit(70); 1437 blindcam.SetFitFunc( MHCalibrationChargeBlindPix::kEPoisson5 );1438 1439 } 1439 1440 else if (run < gkThirdBlindPixelInstallation) 1440 1441 { 1441 1442 1442 MCalibration ChargeBlindCamTwoNewStyle blindresults;1443 MCalibrationBlindCamTwoNewStyle blindresults; 1443 1444 blindresults.Copy(fCalibrationBlindCam); 1444 1445 1445 blindext.SetNumBlindPixels(blindresults.Get NumBlindPixels());1446 for ( UInt_t i=0;i<blindresults.GetNumBlindPixels();i++)1446 blindext.SetNumBlindPixels(blindresults.GetSize()); 1447 for (Int_t i=0;i<blindresults.GetSize();i++) 1447 1448 blindext.SetBlindPixelIdx(blindresults[i].GetPixId(),i); 1448 1449 … … 1475 1476 // 5) MBadPixelsCam (fBadPixels) 1476 1477 // 6) MCalibrationChargePINDiode 1477 // 7) MCalibration ChargeBlindPix1478 // 7) MCalibrationBlindPix 1478 1479 // - Put into the MTaskList: 1479 1480 // 1) MReadMarsFile … … 1574 1575 plist.AddToList(&fIntensQECam); 1575 1576 plist.AddToList(&fIntensCalibCam); 1576 // plist.AddToList(&fIntensCalibrationBlindCam);1577 plist.AddToList(&fIntensBlindCam); 1577 1578 // plist.AddToList(&fIntensCalibrationPINDiode); 1578 1579 plist.AddToList(&fIntensRelTimeCam); … … 1931 1932 // The following containers are written: 1932 1933 // - MStatusDisplay 1933 // - MCalibrationChargeCam 1934 // - MCalibration ChargeBlindPix1935 // - MCalibrationQECam 1934 // - MCalibrationChargeCam or MCalibrationIntensityChargeCam 1935 // - MCalibrationBlindCam or MCalibrationIntensityBlindCam 1936 // - MCalibrationQECam or MCalibrationIntensityQECam 1936 1937 // - MBadPixelsCam 1937 1938 // … … 1974 1975 { 1975 1976 *fLog << err << "Unable to write MCalibrationIntensityQECam to " << oname << endl; 1977 return kFALSE; 1978 } 1979 *fLog << inf << "ok." << endl; 1980 *fLog << inf << " - MCalibrationIntensityBlindCam..." << flush; 1981 if (fIntensBlindCam.Write()<=0) 1982 { 1983 *fLog << err << "Unable to write MCalibrationIntensityBlindCam to " << oname << endl; 1976 1984 return kFALSE; 1977 1985 } … … 1995 2003 } 1996 2004 *fLog << inf << "ok." << endl; 2005 2006 *fLog << inf << " - MCalibrationBlindCam..." << flush; 2007 if (fCalibrationBlindCam.Write()<=0) 2008 { 2009 *fLog << err << "Unable to write MCalibrationBlindCam to " << oname << endl; 2010 return kFALSE; 2011 } 2012 *fLog << inf << "ok." << endl; 1997 2013 } 1998 1999 *fLog << inf << " - MCalibrationChargeBlindCam..." << flush;2000 if (fCalibrationBlindCam.Write()<=0)2001 {2002 *fLog << err << "Unable to write MCalibrationChargeBlindCam to " << oname << endl;2003 return kFALSE;2004 }2005 *fLog << inf << "ok." << endl;2006 2014 2007 2015 *fLog << inf << " - MCalibrationChargePINDiode..." << flush;
Note:
See TracChangeset
for help on using the changeset viewer.