CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MonitorElementMgr.h
Go to the documentation of this file.
1 #ifndef MonitorElementMgr_h
2 #define MonitorElementMgr_h
3 
5 #include "TFile.h"
6 #include <map>
7 #include <string>
8 
9 typedef std::map< int, MonitorElement* > mime;
10 
12 {
13  public:
16  void save( const std::string& name );
17  void openSecondFile( const std::string& name );
18 
19  void printComparisonResult( int ime );
20 
21  bool addME( MonitorElement* ime );
22 
23  MonitorElement* getME( int ime );
24 
25  MonitorElement* getMEFromSecondFile( const char* hnam );
26 
27  private:
29 
30  TFile * theFileRef;
31 
32 };
33 
34 #endif
MonitorElement * getMEFromSecondFile(const char *hnam)
std::map< int, MonitorElement * > mime
bool addME(MonitorElement *ime)
MonitorElement * getME(int ime)
void save(const std::string &name)
void printComparisonResult(int ime)
void openSecondFile(const std::string &name)