More information on this package is here.
#ifndef __TFilter__
#define __TFilter__
#include "TClasTool.h"
#include "TDSTReader.h"
#include "TCounterCol.h"
#include "TPartSieve.h"
#include "TInterrupt.h"
#include "TH1.h"
#include "TH2.h"
#include "TF1.h"
#include "TStopwatch.h"
#include "TBranch.h"
#include "TLeaf.h"
class TFilter: public TClasTool{
public:
Int_t gFix_EC_Bank;
TPartSieve *Sieve;
TCounterCol Cuts;
TObjArray *H;
TInterrupt *Interrupt;
TStopwatch *Time;
TChain *chain;
TTree *tree;
TH1F *H_PID;
Int_t C_Good_e;
public:
TFilter();
~TFilter(){
delete Time;
DeleteHistos();
Cuts.Delete();
};
virtual Int_t Run(Int_t Nevt=2147483647);
Int_t Relink_ECPB_bank(TEVNTClass *e);
virtual void InitHistos(void);
virtual Int_t SelectEvent();
void SetFixEC(Int_t s=1){gFix_EC_Bank=s;};
Int_t GetFixEC(){return gFix_EC_Bank;};
void DeleteHistos(void);
void ClearHistos(void);
void Write(void);
TTree *Create_Out_Tree(TDSTReader *dstread);
ClassDef(TFilter,1)
;
};
#endif
Author: Maurik Holtrop
Last update: ClasTool/TFilter.cc:$Name: $:$Id: TFilter.cc,v 1.3 2007/04/05 20:36:43 holtrop Exp $
CopyLeft - This code is freely available.
ROOT Home page - ClasTool Class index - Class Hierarchy - Top of the page