Ignore:
Timestamp:
04/08/03 10:52:14 (22 years ago)
Author:
wittek
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mfilter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mfilter/MFCT1SelFinal.cc

    r1905 r1921  
    6464    fTitle = title ? title : "Class to evaluate the Final Cuts";
    6565
    66     fHilName    = HilName;
    67     fHilSrcName = HilSrcName;
     66    fHilName        = HilName;
     67    fHilSrcName     = HilSrcName;
     68    fHadronnessName = "MHadronness";
    6869
    6970    // default values of cuts
     
    106107    }
    107108
    108     fHadronness = (MHadronness*)pList->FindObject("MHadronness");
     109    fHadronness = (MHadronness*)pList->FindObject(fHadronnessName, "MHadronness");
    109110    if (!fHadronness)
    110111    {
     
    171172    *fLog << " " << setw(7) << fCut[1] << " (" << setw(3)
    172173          << (int)(fCut[1]*100/GetNumExecutions())
    173           << "%) Evts skipped due to: hadroness > "<< fHadronnessMax << endl;
     174          << "%) Evts skipped due to: hadronness > "<< fHadronnessMax
     175          << " (hadronness from '" << fHadronnessName << "')" << endl;
    174176
    175177    *fLog << " " << setw(7) << fCut[2] << " (" << setw(3)
  • trunk/MagicSoft/Mars/mfilter/MFCT1SelFinal.h

    r1905 r1921  
    3535    TString      fHilName;
    3636    TString      fHilSrcName;
     37    TString      fHadronnessName;
    3738 
    3839    Float_t      fHadronnessMax;
     
    4647                  const char *name=NULL, const char *title=NULL);
    4748
     49    void SetHadronnessName(const TString name) { fHadronnessName = name; }
    4850    Bool_t IsExpressionTrue() const  { return fResult; }
    4951
     
    5456    void SetCuts(Float_t hadmax, Float_t alphamax);
    5557
    56     ClassDef(MFCT1SelFinal, 0)   // Class to evaluate final cuts
     58    ClassDef(MFCT1SelFinal, 1)   // Class to evaluate final cuts
    5759};
    5860
Note: See TracChangeset for help on using the changeset viewer.