]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PMD/AliPMDMappingData.h
Fix Coverity
[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
ab0cde47 21 Int_t GetBeginPatchBus(Int_t iddl, Int_t imod) const;
22 Int_t GetEndPatchBus(Int_t iddl, Int_t imod) const;
c3217637 23 Int_t GetModuleNo(Int_t iddl, Int_t ibus) const;
24 Int_t GetMcmperBus(Int_t iddl, Int_t ibus) const;
25 Int_t GetStartRowBus(Int_t iddl, Int_t ibus) const;
26 Int_t GetEndRowBus(Int_t iddl, Int_t ibus) const;
27 Int_t GetStartColBus(Int_t iddl, Int_t ibus) const;
28 Int_t GetEndColBus(Int_t iddl, Int_t ibus) const;
29
ab0cde47 30
31 void SetPatchBus(Int_t iddl, Int_t imod, Int_t bpatchbus, Int_t epatchbus);
c3217637 32 void SetModuleNo(Int_t iddl, Int_t ibus, Int_t modno);
33 void SetMcmperBus(Int_t iddl, Int_t ibus, Int_t totmcm);
34 void SetRowBus(Int_t iddl, Int_t ibus, Int_t rows, Int_t rowe);
35 void SetColBus(Int_t iddl, Int_t ibus, Int_t cols, Int_t cole);
36
37 virtual void Print(Option_t *) const;
38
39 protected:
40 enum
41 {
42 kDdl = 6, // Number of DDL
43 kBus = 51 // Modules of patch bus
44 };
45
ab0cde47 46 Int_t fBeginPatchBus[6][48];
47 Int_t fEndPatchBus[6][48];
c3217637 48 Int_t fModuleNo[kDdl][kBus];
49 Int_t fMcmperBus[kDdl][kBus];
50 Int_t fStartRowBus[kDdl][kBus];
51 Int_t fEndRowBus[kDdl][kBus];
52 Int_t fStartColBus[kDdl][kBus];
53 Int_t fEndColBus[kDdl][kBus];
54
55
ab0cde47 56 ClassDef(AliPMDMappingData,2) // calibration class for gainfactors
c3217637 57};
58#endif