initialisation warning fixed
[u/mrichter/AliRoot.git] / PMD / AliPMDMappingData.h
CommitLineData
c3217637 1#ifndef ALIPMDMAPPINGDATA_H
2#define ALIPMDMAPPINGDATA_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7class TNamed;
8class AliCDBEntry;
9class AliPMD;
10
11class AliPMDMappingData: public TNamed
12{
13 public:
14 AliPMDMappingData();
15 AliPMDMappingData(const char* name);
16 AliPMDMappingData(const AliPMDMappingData &mapda);
17 AliPMDMappingData& operator= (const AliPMDMappingData &mapda);
18 virtual ~AliPMDMappingData();
19 void Reset();
20
21 Int_t GetModuleNo(Int_t iddl, Int_t ibus) const;
22 Int_t GetMcmperBus(Int_t iddl, Int_t ibus) const;
23 Int_t GetStartRowBus(Int_t iddl, Int_t ibus) const;
24 Int_t GetEndRowBus(Int_t iddl, Int_t ibus) const;
25 Int_t GetStartColBus(Int_t iddl, Int_t ibus) const;
26 Int_t GetEndColBus(Int_t iddl, Int_t ibus) const;
27
28 void SetModuleNo(Int_t iddl, Int_t ibus, Int_t modno);
29 void SetMcmperBus(Int_t iddl, Int_t ibus, Int_t totmcm);
30 void SetRowBus(Int_t iddl, Int_t ibus, Int_t rows, Int_t rowe);
31 void SetColBus(Int_t iddl, Int_t ibus, Int_t cols, Int_t cole);
32
33 virtual void Print(Option_t *) const;
34
35 protected:
36 enum
37 {
38 kDdl = 6, // Number of DDL
39 kBus = 51 // Modules of patch bus
40 };
41
42 Int_t fModuleNo[kDdl][kBus];
43 Int_t fMcmperBus[kDdl][kBus];
44 Int_t fStartRowBus[kDdl][kBus];
45 Int_t fEndRowBus[kDdl][kBus];
46 Int_t fStartColBus[kDdl][kBus];
47 Int_t fEndColBus[kDdl][kBus];
48
49
50 ClassDef(AliPMDMappingData,1) // calibration class for gainfactors
51};
52#endif