]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/TOFda.cxx
Magic patch from Rene to have the DA working with ROOT I/O on DAQ machines
[u/mrichter/AliRoot.git] / TOF / TOFda.cxx
index b28a08cc0c6333bf3de9947c699c24817266f221..0ba699b37c2899c1d1c45d739133809443b53323 100644 (file)
@@ -38,6 +38,8 @@ Trigger types used: PHYSICS_EVENT
 #include <TObject.h>
 #include <TMath.h>
 #include <TSystem.h>
+#include "TROOT.h"
+#include "TPluginManager.h"
 
 
 /* Main routine
@@ -47,6 +49,13 @@ Trigger types used: PHYSICS_EVENT
 
 int main(int argc, char **argv) {
   
+  /* magic line from Rene */
+  gROOT->GetPluginManager()->AddHandler("TVirtualStreamerInfo",
+                    "*",
+                    "TStreamerInfo",
+                    "RIO",
+                    "TStreamerInfo()");
+
   AliTOFGeometry * geom = new AliTOFGeometry();
 
   static const Int_t size = AliTOFGeometry::NPadXSector()*AliTOFGeometry::NSectors();