]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliCaloRawAnalyzerPeakFinder.h
adding histo with distribution of used clusters and changing ranges of some histograms
[u/mrichter/AliRoot.git] / EMCAL / AliCaloRawAnalyzerPeakFinder.h
index fff69856008131b412e909ee83d3dac19bcc55e0..510bf035f99307c3faf948f319af721a0280c7f4 100644 (file)
@@ -32,32 +32,40 @@ class AliCaloPeakFinderVectors;
 
 class  AliCaloRawAnalyzerPeakFinder : public AliCaloRawAnalyzer
 {
-  friend class AliCaloRawAnalyzerFactory; // shutting up the rule checker
+  friend class AliCaloRawAnalyzerFactory; // rule checker request
+  
  public:
-  virtual ~AliCaloRawAnalyzerPeakFinder();
+  
+  virtual ~AliCaloRawAnalyzerPeakFinder() { ; }
+  
   virtual AliCaloFitResults Evaluate( const std::vector<AliCaloBunchInfo> &bunchvector, 
-                                     const UInt_t altrocfg1,  const UInt_t altrocfg2 );
+                                      UInt_t altrocfg1, UInt_t altrocfg2 );
 
  private:
+  
   AliCaloRawAnalyzerPeakFinder();
-  AliCaloRawAnalyzerPeakFinder( const AliCaloRawAnalyzerPeakFinder   & );
-  AliCaloRawAnalyzerPeakFinder   & operator = ( const  AliCaloRawAnalyzerPeakFinder  & );
-  void     LoadVectorsASCII();
+  AliCaloRawAnalyzerPeakFinder(                const AliCaloRawAnalyzerPeakFinder & );
+  AliCaloRawAnalyzerPeakFinder  & operator = ( const AliCaloRawAnalyzerPeakFinder & );
+  
   void     LoadVectorsOCDB();
-  void     CopyVectors(const AliCaloPeakFinderVectors *const pfvectors );
+  void     CopyVectors(const AliCaloPeakFinderVectors * pfvectors );
   void     ResetVectors();
-  void     InitOCDB(bool alien) const;
   void     WriteRootFile() const;
-  void PrintVectors();
-  Double_t ScanCoarse(const Double_t *const array, const int length ) const ; // Find a rough estimate of peak position and t0
-  Double_t fPFAmpVectorsCoarse[PF::MAXSTART][PF::SAMPLERANGE][100];  // Vectors for Amplitude extraction, first iteration
-  Double_t fPFTofVectorsCoarse[PF::MAXSTART][PF::SAMPLERANGE][100];  // Vectors for TOF extraction, first iteration
-  Double_t fPFAmpVectors[PF::MAXSTART][PF::SAMPLERANGE][100];        // Vectors for Amplitude extraction, second iteration
-  Double_t fPFTofVectors[PF::MAXSTART][PF::SAMPLERANGE][100];        // Vectors for TOF extraction, second iteration
-  AliCaloPeakFinderVectors  *fPeakFinderVectors; // Collection of Peak-Fincer vectors
-  bool fRunOnAlien; // Wether or not we are running on the GRID
-  bool fIsInitialized;
+  void     PrintVectors();
+  Double_t ScanCoarse( const Double_t *array, Int_t  length ) const ; // Find a rough estimate of peak position and t0
+  
+  Double_t fPFAmpVectorsCoarse[PF::MAXSTART][PF::SAMPLERANGE][100];   // Vectors for Amplitude extraction, first iteration
+  Double_t fPFTofVectorsCoarse[PF::MAXSTART][PF::SAMPLERANGE][100];   // Vectors for TOF extraction, first iteration
+  Double_t fPFAmpVectors      [PF::MAXSTART][PF::SAMPLERANGE][100];   // Vectors for Amplitude extraction, second iteration
+  Double_t fPFTofVectors      [PF::MAXSTART][PF::SAMPLERANGE][100];   // Vectors for TOF extraction, second iteration
+  
+  AliCaloPeakFinderVectors * fPeakFinderVectors; // Collection of Peak-Fincer vectors
+  
+  bool fRunOnAlien;    // Wether or not we are running on the GRID
+  bool fIsInitialized; // init flag
   ClassDef( AliCaloRawAnalyzerPeakFinder, 1 )
+  
 };