Changeset 2448
- Timestamp:
- 10/31/03 18:32:36 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2447 r2448 1 1 -*-*- END OF LINE -*-*- 2 2003/10/31: Marcos Lopez 3 4 * mhist/MFill.cc: 5 - Fixed a bug in function PreProcess(MParList *pList). Inside the 6 conditional sentence "if (!fWeight && !fWeightName.IsNull())", 7 fWeight never pointed to the object MWeight recoverd from the 8 parameter list. 9 10 * mhistmc/MHMcEnergyImpact.cc 11 - In the Fill function, pass the weight to the histogram fHist. 12 13 * mmontecarlo/MMcWeightEnergySpecCalc.[h,cc] 14 - Added new class for changing the energy spectrum of the showers 15 simulated with Corsika to a different one, be using weights 16 17 * mmontecarlo/Makefile, MonteCarloLinkDef.h 18 - Added the new class. 19 20 * macros/weights.C 21 - Added macro showing how to transform the spectrum of the MC showers. 22 23 24 2 25 2003/10/31: Thomas Bretz 3 26 -
trunk/MagicSoft/Mars/mhist/MFillH.cc
r2416 r2448 383 383 { 384 384 fWeight = (MWeight*)pList->FindObject(fWeightName, "MWeight"); 385 *fLog << err << fWeightName << " [MWeight] not found... aborting." << endl; 386 return kFALSE; 385 386 if (!fWeight) 387 { 388 *fLog << err << fWeightName << " [MWeight] not found... aborting." << endl; 389 return kFALSE; 390 } 387 391 } 388 392 -
trunk/MagicSoft/Mars/mmontecarlo/Makefile
r1986 r2448 32 32 MMcTimeGenerate.cc \ 33 33 MMcTriggerRateCalc.cc \ 34 MMcEnergyEst.cc 34 MMcEnergyEst.cc \ 35 MMcWeightEnergySpecCalc.cc 35 36 36 37 SRCS = $(SRCFILES) -
trunk/MagicSoft/Mars/mmontecarlo/MonteCarloLinkDef.h
r1986 r2448 10 10 #pragma link C++ class MMcTriggerRateCalc+; 11 11 #pragma link C++ class MMcEnergyEst+; 12 #pragma link C++ class MMcWeightEnergySpecCalc+; 13 12 14 #endif
Note:
See TracChangeset
for help on using the changeset viewer.