# Defaine your energy estimator EstimateEnergy.Rule: 1.40871*pow(MHillas.fSize,0.810253) #EstimateEnergy: MRanForestCalc #EstimateEnergy.NameOutput: MEnergyEst #EstimateEnergy.FileName: ranforest.root #EstimateEnergy.Debug: No # Define your binnings BinningSize.Raw: 12 49 6360 log BinningEnergyEst.Raw: 12 53 3580 log # Setup the weighting for your spectrum MMcSpectrumWeight.NewSlope: -2.6 # Give a formula for the spectrum. Capital X is a place-holder for the energy #MMcSpectrumWeight.Formula: pow(X, -2.6) # In the loop filling the ThetaSq histogram the theta cut is switched off # Reading the Monte Carlo for determining the collection area you the # Theta cut switched on MJSpectrum.Cut1.ThetaCut: On # You may use this to change the scale and/or fit region #MAlphaFitter.BackgroundFitMin: 0.12 #MAlphaFitter.BackgroundFitMax: 0.50 # Use this if you like to use the global scale factor for all bins #MAlphaFitter.ScaleMode: Fixed