8 #include "StjTrgPassCondition.h"
23 StjTrgWriter(
const char *treeName,
const char* treeTitle,
24 TDirectory* file,
StjTrg* trg,
26 : _treeName(treeName), _treeTitle(treeName)
29 , _fillCondition(fillCondition)
35 virtual void Finish();
39 virtual TTree* createTree();
40 virtual void createBranch_general(TTree* tree);
41 virtual void createBranch_trgSpecific(TTree* tree) = 0;
43 virtual void fillBranch_general();
44 virtual void fillBranch_trgSpecific() = 0;
46 std::string _treeName;
47 std::string _treeTitle;
69 #endif // STJTRGWRITER_H