Changeset 18571
- Timestamp:
- 09/03/16 20:41:39 (8 years ago)
- Location:
- trunk/Mars/mmc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mmc/MMcEvt.cxx
r18556 r18571 259 259 Bool_t MMcEvt::SetupFits(fits &fin) 260 260 { 261 if (fName!="MMcEvt") 262 { 263 *fLog << err << "ERROR - SetupFits only supported if name equals MMcEvt." << endl; 264 return kFALSE; 265 } 266 261 267 if (!fin.SetRefAddress("MMcEvt.fEvtNumber", fEvtNumber )) return kFALSE; 262 268 if (!fin.SetRefAddress("MMcEvt.fThick0", fThick0 )) return kFALSE; -
trunk/Mars/mmc/MMcEvtBasic.cc
r18557 r18571 237 237 Bool_t MMcEvtBasic::SetupFits(fits &fin) 238 238 { 239 if (ClassName()==TString("MMcEvtBasic") && fName!="MMcEvtBasic") 240 { 241 *fLog << err << "ERROR - SetupFits only supported if name equals MMcEvtBasic." << endl; 242 return kFALSE; 243 } 244 239 245 //if (!fin.SetRefAddress("MMcEvtBasic.fPartId", fPartId )) return kFALSE; 240 246 if (!fin.SetRefAddress("MMcEvtBasic.fEnergy", fEnergy )) return kFALSE;
Note:
See TracChangeset
for help on using the changeset viewer.