Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:21:19

0001 #ifndef IOPool_Streamer_ClassFiller_h
0002 #define IOPool_Streamer_ClassFiller_h
0003 
0004 // -*- C++ -*-
0005 
0006 #include "FWCore/Utilities/interface/DebugMacros.h"
0007 #include "Rtypes.h"
0008 
0009 #include <typeinfo>
0010 #include <string>
0011 #include <set>
0012 #include <vector>
0013 
0014 namespace edm {
0015   class RootDebug {
0016   public:
0017     RootDebug(int flevel, int rlevel) : flevel_(flevel), rlevel_(rlevel), old_(gDebug) {
0018       if (flevel_ < debugit())
0019         gDebug = rlevel_;
0020     }
0021     ~RootDebug() {
0022       if (flevel_ < debugit())
0023         gDebug = old_;
0024     }
0025 
0026   private:
0027     int flevel_;
0028     int rlevel_;
0029     int old_;
0030   };
0031 
0032   void loadExtraClasses();
0033   TClass* getTClass(const std::type_info& ti);
0034   bool loadCap(const std::string& name, std::vector<std::string>& missingDictionaries);
0035   void doBuildRealData(const std::string& name);
0036 }  // namespace edm
0037 
0038 #endif