Line data Source code
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 */
5 :
6 : /* $Id$ */
7 :
8 : ////////////////////////////////////////////////////
9 : // //
10 : // Class for SDD data preprocessing //
11 : // Origin: E. Crescio - crescio@to.infn.it //
12 : // F. Prino - prino@to.infn.t //
13 : // //
14 : ////////////////////////////////////////////////////
15 :
16 :
17 : #include "AliPreprocessor.h"
18 :
19 : class AliITSDriftSpeedSDD;
20 : class AliITSDDLModuleMapSDD;
21 :
22 : class AliITSPreprocessorSDD : public AliPreprocessor {
23 :
24 :
25 : public:
26 :
27 : AliITSPreprocessorSDD( AliShuttleInterface* shuttle);
28 0 : virtual ~AliITSPreprocessorSDD(){;}
29 :
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
35 :
36 : protected:
37 :
38 :
39 :
40 : virtual UInt_t Process(TMap* dcsAliasMap);
41 : UInt_t ProcessPulser(AliITSDDLModuleMapSDD* ddlmap);
42 : UInt_t ProcessInjector(AliITSDDLModuleMapSDD* ddlmap);
43 0 : Bool_t ProcessDCS() { return kFALSE; }
44 :
45 : Double_t* RescaleDriftSpeedModule(const TList* theList, Int_t iBadMod, Int_t iBadSide, const AliITSDriftSpeedSDD* refSpeed) const;
46 :
47 : static const TString fgkNameHistoPedestals; //name of ped. histo
48 : static const TString fgkNameHistoNoise; //name of noise histo
49 116 : ClassDef(AliITSPreprocessorSDD,4) // Alice ITS-SDD preprocessor.
50 :
51 : };
52 :
53 :
54 :
55 : #endif
56 :
57 :
|