]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/FMDGainda.cxx
Adding the new AliRawReaderChain to the Create() mactory method. The URI syntax is...
[u/mrichter/AliRoot.git] / FMD / FMDGainda.cxx
index 22a1276ac9f25aaf863bfe51aee5e6d0893590f4..64cac3b8938afc580c470240c0a67357efdd6871 100644 (file)
@@ -5,7 +5,7 @@
   Contact:                 canute@nbi.dk
   Link:                    fmd.nbi.dk/fmd/offline
   Run Type:                GAIN
-  DA Type:                 GAIN
+  DA Type:                 LDC
   Number of events needed: usually 102400
   Input Files:             raw data 
   Output Files:            gains.csv
@@ -54,7 +54,6 @@ int main(int argc, char **argv)
     Bool_t old = kTRUE;
     
   AliFMDParameters::Instance()->Init(kFALSE,0);
-  AliFMDParameters::Instance()->UseRcuTrailer(!old);
 
   //This will only work for FDR 1 data. When newer data becomes available the ! must be removed!
   AliFMDParameters::Instance()->UseCompleteHeader(!old);
@@ -63,7 +62,7 @@ int main(int argc, char **argv)
   AliRawReader *reader = 0;
   TString fileNam(fileName);
   if (fileNam.EndsWith(".root")) reader = new AliRawReaderRoot(fileName);
-  else if (fileNam.EndsWith(".raw")) reader = new AliRawReaderDate(fileName);
+  else reader = new AliRawReaderDate(fileName);
   if (!reader) { 
     std::cerr << "Don't know how to make reader for " << fileNam 
              << std::endl;