Changeset 9847 for trunk/Mars/mjtrain


Ignore:
Timestamp:
08/11/10 17:11:14 (14 years ago)
Author:
tbretz
Message:
Added MJTrainEnergy::SetExpSize().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.