Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / ITS / AliITSPreprocessorSDD.h
CommitLineData
e56160b8 1#ifndef ALIITSPREPROCESSORSDD_H
2#define ALIITSPREPROCESSORSDD_H
979b5a5f 3/* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
e56160b8 7
8////////////////////////////////////////////////////
979b5a5f 9// //
10// Class for SDD data preprocessing //
e56160b8 11// Origin: E. Crescio - crescio@to.infn.it //
979b5a5f 12// F. Prino - prino@to.infn.t //
e56160b8 13// //
14////////////////////////////////////////////////////
15
16
17#include "AliPreprocessor.h"
18
b34fed4e 19class AliITSDriftSpeedSDD;
27199d86 20class AliITSDDLModuleMapSDD;
e56160b8 21
22class AliITSPreprocessorSDD : public AliPreprocessor {
23
24
25 public:
26
15b67cdc 27 AliITSPreprocessorSDD( AliShuttleInterface* shuttle);
e56160b8 28 virtual ~AliITSPreprocessorSDD(){;}
29
979b5a5f 30 enum {kNumberOfSDD = 260}; // number of SDD modules
50d25e98 31 enum {kNumberOfSDDLay3 = 84}; // number of SDD modules on layer 3
979b5a5f 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
e56160b8 35
36 protected:
7537d03c 37
38
e56160b8 39
40 virtual UInt_t Process(TMap* dcsAliasMap);
461c9263 41 UInt_t ProcessPulser(AliITSDDLModuleMapSDD* ddlmap);
42 UInt_t ProcessInjector(AliITSDDLModuleMapSDD* ddlmap);
317e638f 43 Bool_t ProcessDCSDataPoints(TMap* dcsAliasMap);
27199d86 44 Double_t* RescaleDriftSpeedModule(const TList* theList, Int_t iBadMod, Int_t iBadSide, const AliITSDriftSpeedSDD* refSpeed) const;
e56160b8 45
7537d03c 46 static const TString fgkNameHistoPedestals; //name of ped. histo
47 static const TString fgkNameHistoNoise; //name of noise histo
979b5a5f 48 ClassDef(AliITSPreprocessorSDD,4) // Alice ITS-SDD preprocessor.
e56160b8 49
50 };
51
52
53
54#endif
55
56