]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/PHOS/AliHLTPHOSRawAnalyzerPeakFinderComponent.cxx
Cosmetic changes
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSRawAnalyzerPeakFinderComponent.cxx
index e317dfd0d4064dedb4cd646178397e72586d903c..8b5fdd1c3de4402cb4b134347fe6186709903fc9 100644 (file)
@@ -20,9 +20,6 @@
 
 
 AliHLTPHOSRawAnalyzerPeakFinderComponent gAliHLTPHOSRawAnalyzerPeakFinderComponent;
-//AliHLTPHOSRawAnalyzerPeakFinderComponen    
-//AliHLTPHOSRawAnalyzerPeakFinderComponent AliHLTPHOSRawAnalyzerPeakFinderComponent::gAliHLTPHOSRawAnalyzerPeakFinderComponent;
-
 
 AliHLTPHOSRawAnalyzerPeakFinderComponent::AliHLTPHOSRawAnalyzerPeakFinderComponent():AliHLTPHOSRawAnalyzerComponent()
 {
@@ -36,16 +33,15 @@ AliHLTPHOSRawAnalyzerPeakFinderComponent::AliHLTPHOSRawAnalyzerPeakFinderCompone
     {
       //    cout << "Loaded PF vectors" << endl;
     }
-
 } 
 
+
 AliHLTPHOSRawAnalyzerPeakFinderComponent::~AliHLTPHOSRawAnalyzerPeakFinderComponent()
 {
 
 }
 
 
-
 AliHLTPHOSRawAnalyzerPeakFinderComponent::AliHLTPHOSRawAnalyzerPeakFinderComponent(const AliHLTPHOSRawAnalyzerPeakFinderComponent & ) : AliHLTPHOSRawAnalyzerComponent()
 {
 
@@ -72,10 +68,7 @@ AliHLTPHOSRawAnalyzerPeakFinderComponent::LoadPFVector(int startIndex, int nSamp
   Double_t tmpAVector[nSamples];
   Double_t tmpTVector[nSamples]; 
   sprintf(tmpPFPath,"%s%s/start%dN%dtau%dfs%d.txt", getenv("ALICE_ROOT"), PF_VECTOR_DIR, startIndex, nSamples, tau, fs);
-  //  cout <<"PF PATH =" << tmpPFPath << endl;
-
   FILE *fp;
-
   fp = fopen(tmpPFPath, "r");
   
   if(fp != 0)
@@ -85,20 +78,16 @@ AliHLTPHOSRawAnalyzerPeakFinderComponent::LoadPFVector(int startIndex, int nSamp
          fscanf(fp, "%lf", &tmpAVector[i]);
        }
 
-
       fscanf(fp, "\n");
 
       for(int i=0; i < nSamples; i++)
        {
                  fscanf(fp, "%lf", &tmpTVector[i]);
        }
-
       analyzerPtr->SetAVector(tmpAVector,  nSamples);
       analyzerPtr->SetTVector(tmpTVector,  nSamples);
-
       fclose(fp);
       return kTRUE;
-
     }
   
   else
@@ -109,7 +98,6 @@ AliHLTPHOSRawAnalyzerPeakFinderComponent::LoadPFVector(int startIndex, int nSamp
 }
 
 
-
 AliHLTComponent*
 AliHLTPHOSRawAnalyzerPeakFinderComponent::Spawn()
 {