Ignore:
Timestamp:
03/29/05 11:42:04 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mranforest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mranforest/MRanForestCalc.cc

    r6530 r6893  
    4949#include "MRanForest.h"
    5050
    51 #include "MHadronness.h"
     51#include "MParameters.h"
    5252
    5353#include "MEvtLoop.h"
     
    143143    }
    144144
    145     fHadroness = (MHadronness*)plist->FindCreateObj("MHadronness", fHadronnessName);
     145    fHadroness = (MParameterD*)plist->FindCreateObj("MParameterD", fHadronnessName);
    146146    if (!fHadroness)
    147147        return kFALSE;
     
    160160
    161161    Double_t hadroness=fRanForest->CalcHadroness(event);
    162     fHadroness->SetHadronness(hadroness);
     162    fHadroness->SetVal(hadroness);
    163163
    164164    return kTRUE;
  • trunk/MagicSoft/Mars/mranforest/MRanForestCalc.h

    r5690 r6893  
    1111
    1212class MParList;
    13 class MHadronness;
     13class MParameterD;
    1414class MDataArray;
    1515class MRanTree;
     
    2323    TString fHadronnessName;  // Name of container storing hadronness
    2424
    25     MHadronness *fHadroness;  //! Output container for calculated hadroness
     25    MParameterD *fHadroness;  //! Output container for calculated hadroness
    2626    MDataArray  *fData;       //! Used to store the MDataChains to get the event values
    2727    MRanForest  *fRanForest;
Note: See TracChangeset for help on using the changeset viewer.