]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PMD/AliPMDddldata.h
First MC version
[u/mrichter/AliRoot.git] / PMD / AliPMDddldata.h
CommitLineData
9f0d3dfb 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
10class AliPMDddldata : public TObject {
11
12public:
13 AliPMDddldata();
14 AliPMDddldata(const AliPMDddldata &ddl);
15 AliPMDddldata& operator=(const AliPMDddldata &ddl);
16
17 virtual ~AliPMDddldata();
18
19 void SetDetector(Int_t idet) {fDetector = idet;}
20 void SetSMN(Int_t ismn) {fSMN = ismn;}
21 void SetModule(Int_t imod) {fModule = imod;}
22 void SetPatchBusId(Int_t ipbusid) {fPatchBus = ipbusid;}
23 void SetMCM(Int_t imcm) {fMCM = imcm;}
24 void SetChannel(Int_t ich) {fChannel = ich;}
25 void SetRow(Int_t irow) {fRow = irow;}
26 void SetColumn(Int_t icol) {fCol = icol;}
27 void SetSignal(Int_t isig) {fSignal = isig;}
28 void SetParityBit(Int_t ibit) {fBit = ibit;}
29
30 Int_t GetDetector() const {return fDetector;}
31 Int_t GetSMN() const {return fSMN;}
32 Int_t GetModule() const {return fModule;}
33 Int_t GetPatchBusId() const {return fPatchBus;}
34 Int_t GetMCM() const {return fMCM;}
b7642b23 35 Int_t GetChannel() const {return fChannel;}
9f0d3dfb 36 Int_t GetRow() const {return fRow;}
37 Int_t GetColumn() const {return fCol;}
38 Int_t GetSignal() const {return fSignal;}
39 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 ClassDef(AliPMDddldata,0) // PMD DDL container
57};
58#endif