- Timestamp:
- 01/30/05 17:40:56 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6131 r6133 22 22 2005/01/30 Markus Gaug 23 23 24 * mjobs/MJCalibration.cc 24 25 * mjobs/MJPedestal.cc 26 * mjobs/calibrationref_Nov04.rc 25 27 * mhcalib/MHCalibrationRelTimeCam.[h,cc] 26 28 - updated correct display of reference lines 29 27 30 28 31 -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r6078 r6133 228 228 fRefArrivalTimeRmsInner = 0.5; 229 229 fRefArrivalTimeRmsOuter = 0.5; 230 fRefTimeOffsetInner = -0.23; 231 fRefTimeOffsetOuter = 0.39; 232 fRefTimeResolutionInner = 0.153; 233 fRefTimeResolutionOuter = 0.128; 230 234 231 235 } … … 986 990 // set reference lines 987 991 // 988 // DisplayReferenceLines(obj10,2);992 DisplayReferenceLines(obj10,5); 989 993 990 994 c5.cd(3); … … 1018 1022 // set reference lines 1019 1023 // 1020 // DisplayReferenceLines(obj11,0);1024 DisplayReferenceLines(obj11,6); 1021 1025 1022 1026 c5.cd(4); … … 1235 1239 TLine *l1 = NULL; 1236 1240 1237 if (what == 0) 1238 l1 = line.DrawLine(0, fRefQEInner, x, fRefQEInner); 1239 else if (what == 1) 1240 l1 = line.DrawLine(0, fRefConvFADC2PhotInner, x, fRefConvFADC2PhotInner); 1241 else if (what == 2) 1242 l1 = line.DrawLine(0, fRefConvFADC2PheInner, x, fRefConvFADC2PheInner ); 1243 else if (what == 3) 1244 l1 = line.DrawLine(0, fRefArrivalTimeInner, x, fRefArrivalTimeInner ); 1245 else if (what == 4) 1246 l1 = line.DrawLine(0, fRefArrivalTimeRmsInner, x, fRefArrivalTimeRmsInner ); 1247 1241 switch (what) 1242 { 1243 case 0: 1244 l1 = line.DrawLine(0, fRefQEInner, x, fRefQEInner); 1245 break; 1246 case 1: 1247 l1 = line.DrawLine(0, fRefConvFADC2PhotInner, x, fRefConvFADC2PhotInner); 1248 break; 1249 case 2: 1250 l1 = line.DrawLine(0, fRefConvFADC2PheInner, x, fRefConvFADC2PheInner ); 1251 break; 1252 case 3: 1253 l1 = line.DrawLine(0, fRefArrivalTimeInner, x, fRefArrivalTimeInner ); 1254 break; 1255 case 4: 1256 l1 = line.DrawLine(0, fRefArrivalTimeRmsInner, x, fRefArrivalTimeRmsInner ); 1257 break; 1258 case 5: 1259 l1 = line.DrawLine(0, fRefTimeOffsetInner, x, fRefTimeOffsetInner ); 1260 break; 1261 case 6: 1262 l1 = line.DrawLine(0, fRefTimeResolutionInner, x, fRefTimeResolutionInner ); 1263 break; 1264 default: 1265 break; 1266 } 1267 1248 1268 if (geom->InheritsFrom("MGeomCamMagic")) 1249 1269 { … … 1267 1287 line.DrawLine(x2, fRefArrivalTimeRmsOuter, 398, fRefArrivalTimeRmsOuter); 1268 1288 break; 1289 case 5: 1290 line.DrawLine(x2, fRefTimeOffsetOuter, 398, fRefTimeOffsetOuter); 1291 break; 1292 case 6: 1293 line.DrawLine(x2, fRefTimeResolutionOuter, 398, fRefTimeResolutionOuter); 1294 break; 1295 default: 1296 break; 1269 1297 } 1270 1298 } 1271 1299 1272 TLegend *leg = new TLegend( what ? 0.2 : 0.6,0.75,what ? 0.5 :0.9 ,0.85);1300 TLegend *leg = new TLegend(0.6,0.75,0.9 ,0.85); 1273 1301 leg->SetBit(kCanDelete); 1274 1302 leg->AddEntry(l1, "Reference","l"); … … 1419 1447 fRefArrivalTimeRmsInner = refenv.GetValue("RefArrivalTimeRmsInner",fRefArrivalTimeRmsInner); 1420 1448 fRefArrivalTimeRmsOuter = refenv.GetValue("RefArrivalTimeRmsOuter",fRefArrivalTimeRmsOuter); 1449 fRefTimeOffsetInner = refenv.GetValue("RefTimeOffsetInner",fRefTimeOffsetInner); 1450 fRefTimeOffsetOuter = refenv.GetValue("RefTimeOffsetOuter",fRefTimeOffsetOuter); 1451 fRefTimeResolutionInner = refenv.GetValue("RefTimeResolutionInner",fRefTimeResolutionInner); 1452 fRefTimeResolutionOuter = refenv.GetValue("RefTimeResolutionOuter",fRefTimeResolutionOuter); 1421 1453 1422 1454 return kTRUE; -
trunk/MagicSoft/Mars/mjobs/MJCalibration.h
r6132 r6133 86 86 Float_t fRefArrivalTimeRmsOuter; //! Reference value for the arrival time - outer 87 87 Float_t fRefTimeOffsetInner; //! Reference value for the time offset - inner 88 Float_t fRefTimeOffsetOuter; 88 Float_t fRefTimeOffsetOuter; //! Reference value for the time offset - outer 89 89 Float_t fRefTimeResolutionInner; //! Reference value for the time resolution - inner 90 90 Float_t fRefTimeResolutionOuter; //! Reference value for the time resolution - outer
Note:
See TracChangeset
for help on using the changeset viewer.