]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/TOFnoiseda.cxx
Magic patch from Rene to have the DA working with ROOT I/O on DAQ machines
[u/mrichter/AliRoot.git] / TOF / TOFnoiseda.cxx
index 863b3e5b606d5bb59c479101a1c05dcfad74e9d5..5cfce61eb49f1c0230666621578874e45a8b5758 100644 (file)
@@ -38,12 +38,21 @@ Trigger types used: PHYSICS_EVENT (for the time being)
 #include <TObject.h>
 #include <TMath.h>
 #include <TSystem.h>
+#include "TROOT.h"
+#include "TPluginManager.h"
 
 /* Main routine
       Arguments: list of DATE raw data files
 */
 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();