Changeset 8036


Ignore:
Timestamp:
10/09/06 15:11:53 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8033 r8036  
    3434     - allow the MC slope to be -1. With the current code this should
    3535       not be a problem anymore.
     36     - improved some comments
    3637
    3738   * mbase/MMath.cc, mbase/MAGIC.cc:
     
    4445   * mars-config:
    4546     - changed "--mars-ver" to "--version" as in root-config
     47
     48   * sponde_onoff.rc:
     49     - added a reference to MMcSpectrumWeight::ReadEnv
    4650
    4751
  • trunk/MagicSoft/Mars/mhflux/MMcSpectrumWeight.cc

    r8035 r8036  
    6666//        automatically)
    6767//
     68//  For more details of the setup see MMcSpectrumWeight::ReadEnv
     69//
    6870//
    6971//  Input Containers:
     
    244246//      fNorm*o1/n1*GetFormulaNewSpec()/GetFormulaOldSpec()
    245247//
    246 //   result (fNormEnergy>0):
     248//   result (fNormEnergy>=0):
    247249//      fNorm*o2/n2*GetFormulaNewSpec()/GetFormulaOldSpec()
    248250//
     
    465467//
    466468// Read the setup from a TEnv, eg:
     469//
    467470//   MMcSpectrumWeight.NewSlope:   -2.6
     471//    The new slope of the spectrum
     472//
    468473//   MMcSpectrumWeight.Norm:        1.0
     474//    An additional artificial scale factor
     475//
    469476//   MMcSpectrumWeight.NormEnergy:  200
     477//    To normalize at a given energy instead of the integral
     478//
    470479//   MMcSpectrumWeight.Formula:     pow(X, -2.6)
     480//    A formula to which the spectrum is weighted (use a capital X for
     481//    the energy)
    471482//
    472483Int_t MMcSpectrumWeight::ReadEnv(const TEnv &env, TString prefix, Bool_t print)
  • trunk/MagicSoft/Mars/sponde_onoff.rc

    r7627 r8036  
    1212
    1313# Setup the weighting for your spectrum
     14# For more details MMcSpectrumWeight::ReadEnv
    1415MMcSpectrumWeight.NewSlope: -2.6
    1516
Note: See TracChangeset for help on using the changeset viewer.