]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/ITSSDDQAMaker.C
Possibility to specify event selection criteria within the raw-data input URI. The...
[u/mrichter/AliRoot.git] / ITS / ITSSDDQAMaker.C
index 50b9fc4ba9f62941cf14ed58ef4881929973bf04..b673f0727a4bf91c65d27a033f285b4a22e6cfff 100644 (file)
@@ -50,7 +50,9 @@ Char_t *hisnam3 = new Char_t[50];
    }
  }
 
-  AliRawReader *rd = new AliRawReaderDate(iFile,FirstEvt);  // open run
+  TString strFile = iFile;
+  strFile += "?EventType=7";
+  AliRawReader *rd = new AliRawReaderDate(strFile.Data(),FirstEvt);  // open run
   Int_t evCounter = 0;
   Int_t eqOffset = 256;
   Int_t DDLid_range = 24;
@@ -59,7 +61,6 @@ Char_t *hisnam3 = new Char_t[50];
     cout << "Read Event: " << evCounter+FirstEvt-1 << endl;
 
     rd->RequireHeader(kFALSE);             
-    rd->SelectEvents(7);                  
     rd->SelectEquipment(17,eqOffset+1,eqOffset+DDLid_range);  //17 states for "DRorc acquisition"
     rd->Reset();                           // reset the current position to the beginning of the event