]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSPreprocessorSDD.h
Coding conventions
[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"
317e638f 18#include "AliITSDDLModuleMapSDD.h"
b34fed4e 19//#include "AliITSDriftSpeedSDD.h"
e56160b8 20
b34fed4e 21class AliITSDriftSpeedSDD;
e56160b8 22
23class AliITSPreprocessorSDD : public AliPreprocessor {
24
25
26 public:
27
15b67cdc 28 AliITSPreprocessorSDD( AliShuttleInterface* shuttle);
e56160b8 29 virtual ~AliITSPreprocessorSDD(){;}
30
979b5a5f 31 enum {kNumberOfSDD = 260}; // number of SDD modules
50d25e98 32 enum {kNumberOfSDDLay3 = 84}; // number of SDD modules on layer 3
979b5a5f 33 enum {kNumberOfDDL = 24}; // number of DDLs in SDD
34 enum {kModulesPerDDL = 12}; // number of modules in each DDL
35 enum {kNumberOfChannels = 512}; // number of channels per module
e56160b8 36
37 protected:
7537d03c 38
39
e56160b8 40
41 virtual UInt_t Process(TMap* dcsAliasMap);
461c9263 42 UInt_t ProcessPulser(AliITSDDLModuleMapSDD* ddlmap);
43 UInt_t ProcessInjector(AliITSDDLModuleMapSDD* ddlmap);
317e638f 44 Bool_t ProcessDCSDataPoints(TMap* dcsAliasMap);
b34fed4e 45 Double_t* RescaleDriftSpeedModule(TList* theList, Int_t iBadMod, Int_t iBadSide, const AliITSDriftSpeedSDD* refSpeed) const;
e56160b8 46
7537d03c 47 static const TString fgkNameHistoPedestals; //name of ped. histo
48 static const TString fgkNameHistoNoise; //name of noise histo
979b5a5f 49 ClassDef(AliITSPreprocessorSDD,4) // Alice ITS-SDD preprocessor.
e56160b8 50
51 };
52
53
54
55#endif
56
57