00001
00002
00003
00004 #ifndef STJETMAKERBACKWORDCOMPATIBILITY_H
00005 #define STJETMAKERBACKWORDCOMPATIBILITY_H
00006
00007 #include "StppJetAnalyzer.h"
00008
00009 #include <string>
00010 #include <map>
00011
00012 class StjeTreeWriter;
00013
00014 class StJetMakerBackwordCompatibility {
00015
00016 public:
00017
00018 StJetMakerBackwordCompatibility() { }
00019 virtual ~StJetMakerBackwordCompatibility() { }
00020
00021 typedef std::map<std::string, StppJetAnalyzer*> jetBranchesMap;
00022
00023 void addAnalyzer(StppJetAnalyzer* analyzer, StjeTreeWriter* treeWriter, const char* name);
00024
00025 jetBranchesMap& getJets() { return _jetBranches; }
00026
00027 private:
00028
00029 jetBranchesMap _jetBranches;
00030
00031 };
00032
00033 #endif // STJETMAKERBACKWORDCOMPATIBILITY_H
00034
00035