Changeset 8036
- Timestamp:
- 10/09/06 15:11:53 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8033 r8036 34 34 - allow the MC slope to be -1. With the current code this should 35 35 not be a problem anymore. 36 - improved some comments 36 37 37 38 * mbase/MMath.cc, mbase/MAGIC.cc: … … 44 45 * mars-config: 45 46 - changed "--mars-ver" to "--version" as in root-config 47 48 * sponde_onoff.rc: 49 - added a reference to MMcSpectrumWeight::ReadEnv 46 50 47 51 -
trunk/MagicSoft/Mars/mhflux/MMcSpectrumWeight.cc
r8035 r8036 66 66 // automatically) 67 67 // 68 // For more details of the setup see MMcSpectrumWeight::ReadEnv 69 // 68 70 // 69 71 // Input Containers: … … 244 246 // fNorm*o1/n1*GetFormulaNewSpec()/GetFormulaOldSpec() 245 247 // 246 // result (fNormEnergy> 0):248 // result (fNormEnergy>=0): 247 249 // fNorm*o2/n2*GetFormulaNewSpec()/GetFormulaOldSpec() 248 250 // … … 465 467 // 466 468 // Read the setup from a TEnv, eg: 469 // 467 470 // MMcSpectrumWeight.NewSlope: -2.6 471 // The new slope of the spectrum 472 // 468 473 // MMcSpectrumWeight.Norm: 1.0 474 // An additional artificial scale factor 475 // 469 476 // MMcSpectrumWeight.NormEnergy: 200 477 // To normalize at a given energy instead of the integral 478 // 470 479 // MMcSpectrumWeight.Formula: pow(X, -2.6) 480 // A formula to which the spectrum is weighted (use a capital X for 481 // the energy) 471 482 // 472 483 Int_t MMcSpectrumWeight::ReadEnv(const TEnv &env, TString prefix, Bool_t print) -
trunk/MagicSoft/Mars/sponde_onoff.rc
r7627 r8036 12 12 13 13 # Setup the weighting for your spectrum 14 # For more details MMcSpectrumWeight::ReadEnv 14 15 MMcSpectrumWeight.NewSlope: -2.6 15 16
Note:
See TracChangeset
for help on using the changeset viewer.