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 "TROOT.h"
4 #include <assert.h>
5 #include <ostream>
6 
7 class TBuffer;
8 
9 namespace fwlite {
11  {
12  TClass* cl = gROOT->GetClass("edm::RefCore");
13  TClassStreamer* st = cl->GetStreamer();
14  if (st == 0) {
15  cl->AdoptStreamer(new edm::RefCoreStreamer());
16  }
17  }
18  {
19  TClass* cl = gROOT->GetClass("edm::RefCoreWithIndex");
20  TClassStreamer* st = cl->GetStreamer();
21  if (st == 0) {
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.