Line data Source code
1 : #ifndef ALIPMDDDLDATA_H
2 : #define ALIPMDDDLDATA_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 : // Author : B.K. Nandi
7 :
8 : #include <TObject.h>
9 :
10 : class AliPMDddldata : public TObject {
11 :
12 : public:
13 : AliPMDddldata();
14 : AliPMDddldata(const AliPMDddldata &ddl);
15 : AliPMDddldata& operator=(const AliPMDddldata &ddl);
16 :
17 : virtual ~AliPMDddldata();
18 :
19 360 : void SetDetector(Int_t idet) {fDetector = idet;}
20 360 : void SetSMN(Int_t ismn) {fSMN = ismn;}
21 360 : void SetModule(Int_t imod) {fModule = imod;}
22 360 : void SetPatchBusId(Int_t ipbusid) {fPatchBus = ipbusid;}
23 360 : void SetMCM(Int_t imcm) {fMCM = imcm;}
24 360 : void SetChannel(Int_t ich) {fChannel = ich;}
25 360 : void SetRow(Int_t irow) {fRow = irow;}
26 360 : void SetColumn(Int_t icol) {fCol = icol;}
27 360 : void SetSignal(Int_t isig) {fSignal = isig;}
28 360 : void SetParityBit(Int_t ibit) {fBit = ibit;}
29 :
30 360 : Int_t GetDetector() const {return fDetector;}
31 360 : Int_t GetSMN() const {return fSMN;}
32 0 : Int_t GetModule() const {return fModule;}
33 0 : Int_t GetPatchBusId() const {return fPatchBus;}
34 0 : Int_t GetMCM() const {return fMCM;}
35 0 : Int_t GetChannel() const {return fChannel;}
36 360 : Int_t GetRow() const {return fRow;}
37 360 : Int_t GetColumn() const {return fCol;}
38 360 : Int_t GetSignal() const {return fSignal;}
39 0 : Int_t GetParityBit() const {return fBit;}
40 :
41 :
42 :
43 : private:
44 :
45 : Int_t fDetector; // Detector (PRE:0, CPV:47)
46 : Int_t fSMN; // Serial Module number (0 to 23 for each det)
47 : Int_t fModule; // Module number (0 to 47)
48 : Int_t fPatchBus; // Patch bus number
49 : Int_t fMCM; // MCM number
50 : Int_t fChannel; // Channel number
51 : Int_t fRow; // Row number
52 : Int_t fCol; // Column number
53 : Int_t fSignal; // ADC of the cell
54 : Int_t fBit; // Parity Bit
55 :
56 12 : ClassDef(AliPMDddldata,0) // PMD DDL container
57 : };
58 : #endif
|