]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDPreprocessor.h
add cent and semi cent to histogram
[u/mrichter/AliRoot.git] / FMD / AliFMDPreprocessor.h
index 5d9142306eb1c65632a5e61de75f168f1d2e5275..ed2e20e47b228a64e3274f54475fe7abf24bba7f 100644 (file)
 #ifndef ALIFMDUSHORTMAP_H
 # include <AliFMDUShortMap.h>
 #endif
+#ifndef ALIFMDBOOLMAP_H
+# include <AliFMDBoolMap.h>
+#endif
 typedef AliFMDUShortMap AliFMDCalibZeroSuppression;
+typedef AliFMDBoolMap  AliFMDCalibDeadMap;
 class AliFMDCalibPedestal;
 class AliFMDCalibGain;
 class AliFMDCalibSampleRate;
@@ -59,23 +63,36 @@ class AliFMDPreprocessor: public AliPreprocessor
 {
 public:
   /** Constructor */
-  AliFMDPreprocessor(): AliPreprocessor("FMD",0) { }
+  AliFMDPreprocessor(): AliPreprocessor("FMD",0) {}
   /** Constructor 
       @param shuttle Shuttle */
-  AliFMDPreprocessor(AliShuttleInterface* shuttle)
-    : AliPreprocessor("FMD", shuttle)
-  {}
+  AliFMDPreprocessor(AliShuttleInterface* shuttle) ;
+  
+  
   /** Destructor */
   virtual ~AliFMDPreprocessor() {}
   /** Get an entry from OCDB */ 
   AliCDBEntry* GetFromCDB(const char* second, const char* third);
 protected:
-  /** Get the pedestal calibrations 
-      @param list List of files */
-  AliFMDCalibPedestal*   GetPedestalCalibration(TList* list);
-  /** Get the gain calibrations 
-      @param list List of files */
-  AliFMDCalibGain*       GetGainCalibration(TList*);
+  /** 
+   * Get the pedestal calibrations 
+   *
+   * @param list List of files 
+   */
+  AliFMDCalibPedestal*   GetPedestalCalibration(const TList* list);
+  /** 
+   * Get the gain calibrations 
+   * 
+   * @param list List of files 
+   */
+  AliFMDCalibGain*       GetGainCalibration(const TList*);
+  /** 
+   * Get the dead channels map based on the pedestal
+   * an gain calibration objects. 
+   */
+  AliFMDCalibDeadMap*    GetDeadChannelMap(AliFMDCalibPedestal* pedcalib,
+                                          AliFMDCalibGain*     gaincalib);
+
   /** Get info calibrations. 
       @param files List of files. 
       @param s     On return, newly allocated object