Changeset 9847 for trunk


Ignore:
Timestamp:
08/11/10 17:11:14 (14 years ago)
Author:
tbretz
Message:
Added MJTrainEnergy::SetExpSize().
Location:
trunk/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/Changelog

    r9846 r9847  
    3838     - added
    3939
     40   * mjtrain/MJTrainEnergy.h:
     41     - added SetTrainExpSize member function
     42
    4043
    4144
  • trunk/Mars/mjtrain/MJTrainEnergy.h

    r8719 r9847  
    2020    MJTrainEnergy() : fNameOutput("MEnergyEst") { SetTrainLin(); }
    2121
    22     void SetTrainLog() { SetTrainFunc("log10(MMcEvt.fEnergy)", "pow(10, x)"); }
    23     void SetTrainLin() { SetTrainFunc("MMcEvt.fEnergy", "x"); }
     22    void SetTrainLog()     { SetTrainFunc("log(MMcEvt.fEnergy)", "exp(x)"); }
     23    void SetTrainLin()     { SetTrainFunc("MMcEvt.fEnergy", "x"); }
     24    void SetTrainExpSize() { SetTrainFunc("log(MMcEvt.fEnergy)/log(MHillas.fSize)", "MHillas.fSize^x"); }
    2425
    2526    void SetTrainFunc(const char *par, const char *res)
Note: See TracChangeset for help on using the changeset viewer.