Ignore:
Timestamp:
05/20/03 11:15:22 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r2124 r2125  
    2424
    2525/////////////////////////////////////////////////////////////////////////////
    26 //                                                                       
    27 //   MFiltercutsCalc                                                   
    28 //                                                                     
     26//
     27//   MFiltercutsCalc
     28//
     29// This class sets the hadronness to 0.25 if the evaluttion of the cuts
     30// is true, otherwise 0.75.
     31//
     32// The cuts can be set by AddCut (see there for mor information)
     33//
     34// All single cuts are linked with a logical and ('&&')
     35//
    2936/////////////////////////////////////////////////////////////////////////////
    3037#include "MFiltercutsCalc.h"
     
    4350// --------------------------------------------------------------------------
    4451//
     52// Default constructor. Creates the filter list.
     53//
    4554MFiltercutsCalc::MFiltercutsCalc(const char *name, const char *title)
    4655    : fHadronnessName("MHadronness")
     
    5362}
    5463
     64// --------------------------------------------------------------------------
     65//
     66// Delete the filter list.
     67//
    5568MFiltercutsCalc::~MFiltercutsCalc()
    5669{
     
    5871}
    5972
     73// --------------------------------------------------------------------------
     74//
     75// Add the filter to the list. Set the rule as its name.
     76//
    6077void MFiltercutsCalc::AddToList(MFilter *f)
    6178{
     
    6481}
    6582
     83// --------------------------------------------------------------------------
     84//
     85// Print the rule of the list.
     86//
    6687void MFiltercutsCalc::Print(Option_t *opt) const
    6788{
     
    117138// --------------------------------------------------------------------------
    118139//
     140// Search for fHadronnessName [MHadronness] to store the hadronness in
     141// there. PreProcess the filter list.
     142//
    119143Bool_t MFiltercutsCalc::PreProcess(MParList *pList)
    120144{
     
    129153}
    130154
     155// --------------------------------------------------------------------------
     156//
     157// Evaluate the filter list. if the Expression is true set hadronness to
     158// 0.25, otherwise to 0.75.
     159//
    131160Bool_t MFiltercutsCalc::Process()
    132161{
Note: See TracChangeset for help on using the changeset viewer.