Ignore:
Timestamp:
04/21/06 17:28:45 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mfilter/MFEnergySlope.cc

    r7409 r7643  
    127127
    128128    //
    129     // Read info from the MC sample (it must be generated with
     129    // Read info from0 the MC sample (it must be generated with
    130130    //   reflector ver.0.6 and camera ver. 0.6)
    131131    //
     
    148148    *fLog << inf;
    149149    *fLog << "Fetched MC info:" << endl;
    150     *fLog << "  Change E Slope " << fMcSlope << " (" << fMcMinEnergy << " < E < ";
    151     *fLog << fMcMaxEnergy << ") to " << fNewSlope << endl;
     150    *fLog << "  Change E Slope from " << -fMcSlope << " (" << fMcMinEnergy << " < E < ";
     151    *fLog << fMcMaxEnergy << ") to " << -fNewSlope << endl;
    152152    *fLog << "  Norm factor: " << fN0 << endl;
    153153
     
    191191     */
    192192
    193     const Float_t Nexp = fN0 * pow(energy,fMcSlope-fNewSlope);
     193    const Float_t Nexp = fN0 * pow(energy, fMcSlope-fNewSlope);
    194194    const Float_t Nrnd = gRandom->Uniform();
    195195
    196196    fResult = Nexp > Nrnd;
    197 
    198     //if (fResult)
    199     //    fNumSelectedEvts++;
    200197
    201198    return kTRUE;
Note: See TracChangeset for help on using the changeset viewer.