]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDPreprocessor.h
C0OB0-D-NOPF-ALLNOTRD trigger added to the cosmic list.
[u/mrichter/AliRoot.git] / FMD / AliFMDPreprocessor.h
index 5d9142306eb1c65632a5e61de75f168f1d2e5275..ae96cfdfa2abe774fba91b328239ff616401ab3e 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,12 +63,12 @@ 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 */ 
@@ -76,6 +80,12 @@ protected:
   /** Get the gain calibrations 
       @param list List of files */
   AliFMDCalibGain*       GetGainCalibration(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