CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/IOPool/Streamer/interface/ClassFiller.h

Go to the documentation of this file.
00001 #ifndef IOPool_Streamer_ClassFiller_h
00002 #define IOPool_Streamer_ClassFiller_h
00003 
00004 // -*- C++ -*-
00005 
00006 #include "FWCore/Utilities/interface/DebugMacros.h"
00007 #include "Rtypes.h"
00008 
00009 #include <typeinfo>
00010 #include <string>
00011 #include <set>
00012 
00013 namespace edm
00014 {
00015   class RootDebug
00016   {
00017   public:
00018     RootDebug(int flevel, int rlevel):
00019       flevel_(flevel),rlevel_(rlevel),old_(gDebug)
00020     { if(flevel_ < debugit()) gDebug=rlevel_; }
00021     ~RootDebug()
00022     { if(flevel_ < debugit()) gDebug=old_; } 
00023     
00024   private:
00025     int flevel_;
00026     int rlevel_;
00027     int old_;
00028   };
00029 
00030   void loadExtraClasses();
00031   TClass* getTClass(const std::type_info& ti);
00032   void loadCap(const std::string& name);
00033   void doBuildRealData(const std::string& name);
00034 }
00035 
00036 #endif