1 #ifndef ALIITSPREPROCESSORSDD_H
2 #define ALIITSPREPROCESSORSDD_H
3 /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ////////////////////////////////////////////////////
10 // Class for SDD data preprocessing //
11 // Origin: E. Crescio - crescio@to.infn.it //
12 // F. Prino - prino@to.infn.t //
14 ////////////////////////////////////////////////////
17 #include "AliPreprocessor.h"
19 class AliITSDriftSpeedSDD;
20 class AliITSDDLModuleMapSDD;
22 class AliITSPreprocessorSDD : public AliPreprocessor {
27 AliITSPreprocessorSDD( AliShuttleInterface* shuttle);
28 virtual ~AliITSPreprocessorSDD(){;}
30 enum {kNumberOfSDD = 260}; // number of SDD modules
31 enum {kNumberOfSDDLay3 = 84}; // number of SDD modules on layer 3
32 enum {kNumberOfDDL = 24}; // number of DDLs in SDD
33 enum {kModulesPerDDL = 12}; // number of modules in each DDL
34 enum {kNumberOfChannels = 512}; // number of channels per module
40 virtual UInt_t Process(TMap* dcsAliasMap);
41 UInt_t ProcessPulser(AliITSDDLModuleMapSDD* ddlmap);
42 UInt_t ProcessInjector(AliITSDDLModuleMapSDD* ddlmap);
43 Bool_t ProcessDCSDataPoints(TMap* dcsAliasMap);
44 Double_t* RescaleDriftSpeedModule(const TList* theList, Int_t iBadMod, Int_t iBadSide, const AliITSDriftSpeedSDD* refSpeed) const;
46 static const TString fgkNameHistoPedestals; //name of ped. histo
47 static const TString fgkNameHistoNoise; //name of noise histo
48 ClassDef(AliITSPreprocessorSDD,4) // Alice ITS-SDD preprocessor.