StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StJetMakerBackwordCompatibility.h
1 // -*- mode: c++;-*-
2 // $Id: StJetMakerBackwordCompatibility.h,v 1.4 2008/08/03 00:26:50 tai Exp $
3 // Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
4 #ifndef STJETMAKERBACKWORDCOMPATIBILITY_H
5 #define STJETMAKERBACKWORDCOMPATIBILITY_H
6 
7 #include "StppJetAnalyzer.h"
8 
9 #include <string>
10 #include <map>
11 
12 class StjeTreeWriter;
13 
15 
16 public:
17 
19  virtual ~StJetMakerBackwordCompatibility() { }
20 
21  typedef std::map<std::string, StppJetAnalyzer*> jetBranchesMap;
22 
23  void addAnalyzer(StppJetAnalyzer* analyzer, StjeTreeWriter* treeWriter, const char* name);
24 
25  jetBranchesMap& getJets() { return _jetBranches; }
26 
27 private:
28 
29  jetBranchesMap _jetBranches;
30 
31 };
32 
33 #endif // STJETMAKERBACKWORDCOMPATIBILITY_H
34 
35