26 #ifndef StTagFilterMaker_hh
27 #define StTagFilterMaker_hh
43 virtual Int_t
InitRun(
const int runnum);
44 virtual bool SkipEvent()=0;
46 virtual void Clear(
const Option_t* =
"");
47 virtual const char *GetCVS()
const {
48 static const char cvs[]=
"Tag $Name: $ $Id: StTagFilterMaker.h,v 1.2 2015/05/05 20:23:42 genevb Exp $ built " __DATE__
" " __TIME__ ;
52 void SetTagFile(
const Char_t *file) {
mTagFile = file; }
53 void SetVarList(
const Char_t *varList) {
mVarList = varList; }
54 const char* GetTagFile() {
return mTagFile.Data(); }
55 const char* GetVarList() {
return mVarList.Data(); }
57 Double_t
GetVal(
int i,
int idx=0);
TString mVarList
List of colon-separated variables of interest.
const char * GetVar(int i)
TEntryList * mEntryList
Selection of run and event.
Skip events using criteria in .pretags.root.
TFile * mFile
Pointer to the .pretags.root input file.
int mSkippedEventCounter
Number of events skipped.
void EvalVarList(const Char_t *varList=0)
Double_t GetVal(int i, int idx=0)
TString mTagFile
Tags input file name, ending in .pretags.root by default.
TTree * mTree
Pointer to the Tags TTree.
virtual Int_t InitRun(const int runnum)