4 #ifndef STJTREEREADERTWOTREES_H
5 #define STJTREEREADERTWOTREES_H
7 #include "StjTreeReader.h"
13 : _tree1(tree1), _tree2(tree2) { }
18 virtual Long64_t GetEntryWithIndex(
const StjTreeIndex& idx);
19 virtual Long64_t GetEntryWithIndex(Int_t major, Int_t minor);
23 virtual void SetBranchAddress(TTree *tree) { StjTreeReader::SetBranchAddress(tree); }
24 virtual void SetBranchAddress(TTree *tree1, TTree *tree2) { }
26 virtual void clearEntry() = 0;
27 virtual void readEntry() = 0;
36 #endif // STJTREEREADERTWOTREES_H