CMS 3D CMS Logo

eventindexmap.h
Go to the documentation of this file.
1 #ifndef eventindexmap_h
2 #define eventindexmap_h
3 
4 #include <iostream>
5 #include <fstream>
6 #include <vector>
7 #include <map>
8 #include <sstream>
9 
10 #include "TString.h"
11 #include "TEventList.h"
12 
13 #include "printutil.h"
14 
15 namespace RooUtil {
16  class EventIndexMap {
17  public:
18  std::map<TString, TEventList*> eventlistmap_;
19  EventIndexMap();
21  void load(TString filename);
22  bool hasEventList(TString);
23  TEventList* getEventList(TString);
24  };
25 } // namespace RooUtil
26 
27 #endif
void load(TString filename)
Definition: eventindexmap.cc:9
std::map< TString, TEventList * > eventlistmap_
Definition: eventindexmap.h:18
bool hasEventList(TString)
TEventList * getEventList(TString)