00001
00007 #ifndef __CUTFLOW_H
00008 #define __CUTFLOW_H
00009
00010 #include "jbltools/sfh/BaseCut.h"
00011
00012 #include<vector>
00013
00014 class IntFun;
00015 class IntFunPoR;
00016
00017
00019
00058 class CutFlow: public BaseCut {
00059 public:
00061
00064 CutFlow (int nbins,
00065 const BaseCut *cuts[],
00066 const IntFunPoR& iter_,
00067 const char *name = 0
00068 );
00070
00073 CutFlow (int nbins,
00074 BaseCut *cuts[],
00075 const IntFunPoR& iter_,
00076 const char *name = 0
00077 );
00078
00080 virtual bool operator() () const;
00081
00083 virtual const FillIterator *getIterator() const;
00084
00085 protected:
00087 virtual ~CutFlow() {}
00088
00089 private:
00090
00091 std::vector<const BaseCut *> theCuts;
00092 const IntFun *iter;
00093 };
00094
00095
00096 #endif