]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/ITSSDDBASda.cxx
correct treatment of DDL header; modification needed to solve I/O problems; added...
[u/mrichter/AliRoot.git] / ITS / ITSSDDBASda.cxx
index 39a44cbeefba4e5bda0eb95266d576a9ad61d03f..4fc0482550169af4157cd7e1baf9c5363da2c67a 100644 (file)
@@ -1,3 +1,15 @@
+/*
+- Contact: - prino@to.infn.it
+- Link: -
+- Run Type: - 
+- DA Type: - LDC
+- Number of events needed: 100
+- Input Files: - 
+- Output Files: - SDDbase_step1_mod*_sid*.data
+- Trigger types used: 
+*/
+
+
 //////////////////////////////////////////////////////////////////////////////
 // Detector Algorithm for analysis of SDD baseline runs.                    //
 //                                                                          //
@@ -30,6 +42,8 @@ extern "C" {
 #include <TFile.h>
 #include <TH1F.h>
 #include <TH2F.h>
+#include <TROOT.h>
+#include <TPluginManager.h>
 
 // AliRoot includes
 #include "AliRawReaderDate.h"
@@ -43,6 +57,12 @@ int main(int argc, char **argv) {
 
   int status = 0;
 
+  // line added to solve IO problems
+  gROOT->GetPluginManager()->AddHandler("TVirtualStreamerInfo",
+                                        "*",
+                                        "TStreamerInfo",
+                                        "RIO",
+                                        "TStreamerInfo()");
 
   /* log start of process */
   printf("ITS SDD BASE algorithm program started\n");  
@@ -146,7 +166,6 @@ int main(int argc, char **argv) {
        case PHYSICS_EVENT: // uncomment this line for test raw data
          printf(" event number = %i \n",iev);
          AliRawReader *rawReader = new AliRawReaderDate((void*)event);
-         rawReader->RequireHeader(kFALSE);
          rawReader->SelectEquipment(17,eqOffset+1,eqOffset+DDLrange);