Changeset 8301
- Timestamp:
- 02/04/07 11:22:51 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r8300 r8301 1488 1488 } 1489 1489 1490 // Defined resource id 1491 const TString id = IsUseMC() ? "MC" : Form("%02d", period); 1492 1490 1493 // Check for a valid entry for the correct period 1491 TString fname = env.GetValue( Form("%02d", period), "");1494 TString fname = env.GetValue(id, ""); 1492 1495 if (fname.IsNull()) 1493 1496 { 1494 *fLog << err << "ERROR - No entry for period " << period;1495 *fLog << " found in " << fHiLoCalibFile << "... looking for default." << endl;1497 *fLog << err << "ERROR - No entry for resource id '" << id; 1498 *fLog << "' found in " << fHiLoCalibFile << "... looking for default." << endl; 1496 1499 return kFALSE; 1497 1500 /* … … 1618 1621 fHiLoCalibFile = GetEnv("HiLoCalibFile",fHiLoCalibFile.Data()); 1619 1622 1623 /* 1620 1624 if (IsUseMC() && !fHiLoCalibFile.EndsWith("_mc.root")) 1621 1625 { … … 1628 1632 fHiLoCalibFile.Insert(fHiLoCalibFile.Length()-5, "_mc"); 1629 1633 } 1634 */ 1630 1635 1631 1636 return ReadHiLoCalibFile(); -
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r8245 r8301 1066 1066 1067 1067 MHPedestalCam hpedcam; 1068 hpedcam.SetPedestalsOut(&fPedestalCamOut); 1068 1069 if (fExtractionType != kFundamental) 1069 hpedcam.SetRenorm(kTRUE); 1070 // fPedestalHist.SetRenorm(kTRUE); 1071 // fPedestalHist.SetPedestalsOut(&fPedestalCamOut); 1072 hpedcam.SetPedestalsOut(&fPedestalCamOut); 1073 1074 MPedestalCam pedinter; 1075 pedinter.SetName("MPedestalCamIntermediate"); 1076 1077 MFillH fillped(&hpedcam, "MPedestalCamIntermediate", "FillPedCam"); 1078 // MFillH fillped(&fPedestalHist, "MPedestalCamIntermediate", "FillPedCam"); 1070 hpedcam.SetRenorm(kTRUE); 1071 1079 1072 MFillH fillpul("MHCalibrationPulseTimeCam", "MRawEvtData", "FillPulseTime"); 1080 fillped.SetBit(MFillH::kDoNotDisplay);1081 1073 fillpul.SetBit(MFillH::kDoNotDisplay); 1082 1074 … … 1161 1153 } 1162 1154 1163 pedcalc.SetIntermediateStorage();1164 pedlogain.SetIntermediateStorage();1165 plist.AddToList(&pedinter);1166 1155 plist.AddToList(&hpedcam); 1167 // plist.AddToList(&fPedestalHist);1168 tlist.AddToList(&fillped);1169 1156 } 1170 1157 … … 1172 1159 pedlogain.SetPedestalsIn(&fPedestalCamIn); 1173 1160 1174 pedcalc.SetPedestalsInter(&pedinter);1175 pedlogain.SetPedestalsInter(&pedinter);1176 1161 pedcalc.SetPedestalsOut(&fPedestalCamOut); 1177 1162 pedlogain.SetPedestalsOut(&fPedestalCamOut);
Note:
See TracChangeset
for help on using the changeset viewer.