Changeset 9873 for trunk/Mars


Ignore:
Timestamp:
08/16/10 14:19:56 (14 years ago)
Author:
tbretz
Message:
Added more comments.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mjtrain/MJTrainCuts.cc

    r9870 r9873  
    133133// displayed variables.
    134134//
     135//
     136// Example:
     137// --------
     138//
     139//    MJTrainCuts opt;
     140//    MDataSet seton ("dataset_on.txt");
     141//    MDataSet setoff("dataset_off.txt");
     142//    opt.SetDataSetOn(seton);
     143//    opt.SetDataSetOff(setmix);
     144//    Int_t p00 = opt.AddParameter("MHillas.fSize");
     145//    Int_t p01 = opt.AddParameter("MHillas.GetArea*MGeomCam.fConvMm2Deg^2");
     146//    opt.AddHist(p00, p01);    // Area vs Size
     147//    MStatusDisplay *d = new MStatusDisplay;
     148//    opt.SetDisplay(d);
     149//    opt.Process("rf-cuts.root");
     150//
     151//
     152// Random Numbers:
     153// ---------------
     154//   Use:
     155//         if(gRandom)
     156//             delete gRandom;
     157//         gRandom = new TRandom3();
     158//   in advance to change the random number generator.
     159//
    135160////////////////////////////////////////////////////////////////////////////
    136161#include "MJTrainCuts.h"
Note: See TracChangeset for help on using the changeset viewer.