]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/ITSSDDQA.C
Possibility to specify event selection criteria within the raw-data input URI. The...
[u/mrichter/AliRoot.git] / ITS / ITSSDDQA.C
index cd8ed45e7b0288b80a576d5423d85d0ebc0a106e..10e0c6afc2edd968eaa37063d4dc69943ea4866b 100644 (file)
@@ -57,7 +57,9 @@ for(Int_t imod=0; imod<nSDDmodules;imod++){
 }
 delete [] cindex;
 
 }
 delete [] cindex;
 
-  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;
 
   //AliITS *itsRun = new AliITS();
   Int_t evCounter = 0;
 
   //AliITS *itsRun = new AliITS();
@@ -75,7 +77,6 @@ delete [] cindex;
      cout << "Read Event: " << evCounter+FirstEvt-1 << endl;
 
     rd->RequireHeader(kFALSE);             
      cout << "Read Event: " << evCounter+FirstEvt-1 << endl;
 
     rd->RequireHeader(kFALSE);             
-    rd->SelectEvents(7);                   // read only events with the given type. no selection is applied if a value < 0 is used. 
 
     rd->SelectEquipment(17,eqOffset+1,eqOffset+DDLid_range);
 
 
     rd->SelectEquipment(17,eqOffset+1,eqOffset+DDLid_range);