Changeset 19993 for trunk/Mars/mmc/MMcEvt.cxx
- Timestamp:
- 09/21/20 11:22:10 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mmc/MMcEvt.cxx
r19992 r19993 18 18 ! Author(s): 19 19 ! 20 ! Copyright: MAGIC Software Development, 2000-20 0720 ! Copyright: MAGIC Software Development, 2000-2020 21 21 ! 22 22 ! … … 127 127 void MMcEvt::Clear(Option_t *opt) 128 128 { 129 MMcEvtBasic::Clear(); 130 129 131 fRunNumber = 0; 130 132 131 fPartId = kUNDEFINED;132 fEnergy = -1;133 134 133 fCoreD = 0; 135 fCoreX = 0;136 fCoreY = 0;137 fImpact = -1;138 134 139 135 fPhotIni = 0; … … 282 278 if (!fin.SetRefAddress("MMcEvt.fZFirstInteraction", fZFirstInteraction)) return kFALSE; 283 279 if (!fin.SetRefAddress("MMcEvt.fCoreD", fCoreD )) return kFALSE; 284 if (!fin.SetRefAddress("MMcEvt.fCoreX", fCoreX )) return kFALSE;285 if (!fin.SetRefAddress("MMcEvt.fCoreY", fCoreY )) return kFALSE;286 280 if (!fin.SetRefAddress("MMcEvt.fTimeFirst", fTimeFirst )) return kFALSE; 287 281 if (!fin.SetRefAddress("MMcEvt.fTimeLast", fTimeLast )) return kFALSE; … … 310 304 return kFALSE; 311 305 306 // Written to MmcEvtBasic for MMcEvt > V8 307 if (fin.HasColumn("MMcEvt.fCoreX")) 308 if (!fin.SetRefAddress("MMcEvt.fCoreX", fCoreX)) 309 return kFALSE; 310 311 if (fin.HasColumn("MMcEvt.fCoreY")) 312 if (!fin.SetRefAddress("MMcEvt.fCoreY", fCoreY)) 313 return kFALSE; 314 312 315 return MMcEvtBasic::SetupFits(fin); 313 316 }
Note:
See TracChangeset
for help on using the changeset viewer.