CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RefStreamer.cc
Go to the documentation of this file.
3 #include "TClass.h"
4 #include <cassert>
5 #include <ostream>
6 
7 class TBuffer;
8 
9 namespace fwlite {
11  {
12  TClass* cl = TClass::GetClass("edm::RefCore");
13  TClassStreamer* st = cl->GetStreamer();
14  if (st == nullptr) {
15  cl->AdoptStreamer(new edm::RefCoreStreamer());
16  }
17  }
18  {
19  TClass* cl = TClass::GetClass("edm::RefCoreWithIndex");
20  TClassStreamer* st = cl->GetStreamer();
21  if (st == nullptr) {
22  cl->AdoptStreamer(new edm::RefCoreWithIndexStreamer());
23  }
24  }
26  }
27 }
edm::EDProductGetter const * setRefStreamer(edm::EDProductGetter const *ep)
Definition: RefStreamer.cc:10
static EDProductGetter const * switchProductGetter(EDProductGetter const *)
These can only be used internally by the framework.