]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/PHOS/AliHLTPHOSAltroConfig.cxx
Bugfix: lowercase b should be upper case B for component id: TPCClusterFinder32Bit
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSAltroConfig.cxx
index 50ca765f076532f4fc62c741f1c45b851629c39a..18655ea4882a41d67ae1d48f4d46fb936c0bed09 100644 (file)
@@ -35,42 +35,6 @@ AliHLTPHOSAltroConfig::AliHLTPHOSAltroConfig() : fNPresamples(900),
 
 
 {
-  //  fNTotalSamples =  fNPresamples + fNSamples ; 
-  int tmpNSamples = 0;
-  int tmpNPreSamples = 0;
-
-  char *tmpBaseDir = getenv("ALIHLT_BASEDIR");
-  char tmpFileName[256];
-
-  sprintf(tmpFileName, "%s/PHOS/hltAltroConfig.txt", tmpBaseDir);
-
-  int res = 0; //OD to get rid of warnings
-
-  if(tmpBaseDir != 0)
-    {
-      FILE *fp = fopen(tmpFileName, "r");
-
-      if(fp == 0)
-       {
-         printf("\nNSamples scanned from file is, ERROR \n");
-         printf("\nNPreSamples scanned from file is. ERROR\n"); 
-         PrintAltroDefaultValues(); 
-       }
-      else
-       {
-         res = fscanf(fp, "N_SAMPLES %d\n", &tmpNSamples); 
-         res = fscanf(fp, "N_PRE_SAMPLES %d\n", &tmpNPreSamples);
-         fNSamples = tmpNSamples;
-         fNPresamples = tmpNPreSamples;
-         fNTotalSamples = fNSamples + fNPresamples;
-         fclose(fp);
-       }
-
-    }
-  else
-    {
-      printf( "\nERROR: could not find ALIHLT_BASEDIR\n" );
-    }
 
 }