]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSPreprocessorSDD.h
Changing once more (hopefully we get it correct this time...) the logic to trig the...
[u/mrichter/AliRoot.git] / ITS / AliITSPreprocessorSDD.h
index 44e69db3b6b58681d793b8fe8d882b720fe57b3a..b2ffe676364a5178e81e8f2f2fb36cb0e180ddd7 100644 (file)
@@ -1,15 +1,21 @@
 #ifndef ALIITSPREPROCESSORSDD_H
 #define ALIITSPREPROCESSORSDD_H
+/* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
 
 ////////////////////////////////////////////////////
-//  Class for the                                 //
-//  SDD beam test digit preprocessing             //
+//                                                //
+//  Class for SDD data preprocessing              //
 //  Origin: E. Crescio - crescio@to.infn.it       //
+//          F. Prino   - prino@to.infn.t          //
 //                                                //
 ////////////////////////////////////////////////////
 
 
 #include "AliPreprocessor.h"
+#include "AliITSDDLModuleMapSDD.h"
 
 
 class AliITSPreprocessorSDD : public AliPreprocessor { 
@@ -17,24 +23,28 @@ class AliITSPreprocessorSDD : public AliPreprocessor {
 
  public:
  
-  AliITSPreprocessorSDD(const char* detector, AliShuttleInterface* shuttle):
-    AliPreprocessor(detector,shuttle){SetName("SDD");}
+  AliITSPreprocessorSDD( AliShuttleInterface* shuttle);
   virtual ~AliITSPreprocessorSDD(){;}
 
-
+  enum {kNumberOfSDD = 260};    // number of SDD modules
+  enum {kNumberOfSDDLay3 = 84};    // number of SDD modules on layer 3
+  enum {kNumberOfDDL = 24};     // number of DDLs in SDD
+  enum {kModulesPerDDL = 12};   // number of modules in each DDL 
+  enum {kNumberOfChannels = 512}; // number of channels per module
 
  protected:      
 
 
   
   virtual UInt_t Process(TMap* dcsAliasMap);
+  UInt_t ProcessPulser(AliITSDDLModuleMapSDD* ddlmap);
+  UInt_t ProcessInjector(AliITSDDLModuleMapSDD* ddlmap);
+  Bool_t ProcessDCSDataPoints(TMap* dcsAliasMap);
+
 
-  static const Int_t fgkNumberOfSDD;       // number of SDD modules 
-  static const Int_t fgkNumberOfChannels;  // number of channels per module
-    static const Int_t fgkNumberOfChannelsPerChip;    // Number of channels/chip
   static const TString fgkNameHistoPedestals; //name of ped. histo
   static const TString fgkNameHistoNoise;  //name of noise histo
-  ClassDef(AliITSPreprocessorSDD,2)  // Alice ITS-SDD preprocessor.
+  ClassDef(AliITSPreprocessorSDD,4)  // Alice ITS-SDD preprocessor.
 
  };