Ignore:
Timestamp:
12/17/03 17:14:00 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MFindSupercuts.cc

    r2663 r2695  
    247247    fTitle = title ? title : "Optimizer of the supercuts";
    248248
    249     fUseOrigDistribution = kFALSE;
    250 
    251249    //---------------------------
    252250    // camera geometry is needed for conversion mm ==> degree
     
    280278}
    281279
    282 
    283 // --------------------------------------------------------------------------
    284 //
    285 //
    286 //
    287 void MFindSupercuts::SetUseOrigDistribution(Bool_t b)
    288 {
    289   fUseOrigDistribution = b;
    290 
    291   *fLog << "MFindSupercuts : when defining training and test matrices use the original distribution"
    292         << endl;
    293 }
    294 
    295280// --------------------------------------------------------------------------
    296281//
     
    311296    *fLog << "fill training matrix from file '" << nametrain
    312297          << "',   select " << howmanytrain
    313           << " events " << endl;
    314     if (!fUseOrigDistribution)
     298        << " events " << endl;
     299    if (!hreftrain.GetHist().GetEntries()==0)
    315300    {
    316301      *fLog << "     according to a distribution given by the MH3 object '"
     
    332317    seltrain.SetNumMax(howmanytrain);
    333318    seltrain.SetName("selectTrain");
    334     if (fUseOrigDistribution)
    335       seltrain.SetUseOrigDistribution(kTRUE);
    336319
    337320    MFillH filltrain(fMatrixTrain);
     
    416399          << "',   select " << howmanytest
    417400          << " events " << endl;
    418     if (!fUseOrigDistribution)
     401    if (!hreftest.GetHist().GetEntries()==0)
    419402    {
    420403      *fLog << "     according to a distribution given by the MH3 object '"
     
    436419    seltest.SetNumMax(howmanytest);
    437420    seltest.SetName("selectTest");
    438     if (fUseOrigDistribution)
    439       seltest.SetUseOrigDistribution(kTRUE);
    440421 
    441422    MFillH filltest(fMatrixTest);
     
    514495          << "',   select "   << howmanytrain
    515496          << " training and " << howmanytest << " test events " << endl;
    516     if (!fUseOrigDistribution)
     497    if (!href.GetHist().GetEntries()==0)
    517498    {
    518499      *fLog << "     according to a distribution given by the MH3 object '"
     
    535516    selector.SetName("selectTrainTest");
    536517    selector.SetInverted();
    537     if (fUseOrigDistribution)
    538       selector.SetUseOrigDistribution(kTRUE);
    539518
    540519    MContinue cont(&selector);
Note: See TracChangeset for help on using the changeset viewer.