1 #ifndef CUT_TREE_SELECTOR_H 2 #define CUT_TREE_SELECTOR_H 4 #include "SummarySelector.h" 7 class TProofOutputFile;
32 CutTreeSelector(
const char* outFileName=
"CutTreeSelector.root",
const char* reducedSumTreeName =
"cutTree");
35 virtual void Begin(TTree *tree);
37 virtual void Init(TTree* tree);
38 virtual Bool_t
Process(Long64_t entry);
void setFormulaStrings(const std::vector< const char *> &formulaStrings)
Set the formula strings to evaluate and put into the created output tree.
TNamed fTreeName
The output file name (stored in TNamed.fTitle)
std::vector< Int_t > fIntVals
Where the formula results are written in the case of a float-like variable.
TList * fFormulas
Internal storage of formula strings, set these with setFormulaStrings()
CutTreeSelector(const char *outFileName="CutTreeSelector.root", const char *reducedSumTreeName="cutTree")
To force eval instance with an argument.
TList * fFormulaStrings
Where the formula results are written in the case of a int-like variable.
TNamed fOutFileName
Created by the fProofOutFile.
virtual void Begin(TTree *tree)
virtual void SlaveBegin(TTree *tree)
A TSelector to parallelize the creation of trees for CutOptimizer.
std::vector< Int_t > fFormulaReturnTypes
The output tree name (stored in TNamed.fTitle)
TProofOutputFile * fProofOutFile
TTree to create.
Namespace which wraps everything in the library.
Template TSelector to be inherited from, designed for use with SummarySet.
virtual void SlaveTerminate()
std::vector< Int_t > fIterationFormula
List of TTreeFormulas created from fFormulaStrings.
virtual void Init(TTree *tree)
virtual Bool_t Process(Long64_t entry)
std::vector< Float_t > fFloatVals
Return type of the trees.
TFile * fOut
The proof output file.