Adding makefile for Darwin and XLC compiler
[u/mrichter/AliRoot.git] / FMD / AliFMDdigit.h
CommitLineData
963d4d30 1#ifndef ALIFMDDIGIT_H
2#define ALIFMDDIGIT_H
3
4////////////////////////////////////////////////
5// Digits classes for set:FMD //
6////////////////////////////////////////////////
7#include <TClonesArray.h>
8#include <TObject.h>
9
10
11//___________________________________________
12class AliFMDdigit: public TObject {
13
14private:
15 Int_t fNumOfDet ; //Number of FMD disk
16 Int_t fNumOfSector ; //Number of sector
17 Int_t fNumOfRing; //Number of ring
18 Int_t fNelectrons; // real charge
19 Int_t fADC; // ADC signal for this charge
20
21public:
22 AliFMDdigit() {
23 // constructor
24 fNumOfDet=fNumOfSector=fNumOfRing=fNelectrons=fADC=0;
25 }
26 AliFMDdigit(Int_t *digits);
27 virtual ~AliFMDdigit() {
28 // destructor
29 }
30 Int_t Volume();
31 Int_t NumberOfSector();
32 Int_t NumberOfRing();
33 Int_t Charge();
34 Int_t ADCsignal();
35
dc8af42e 36 ClassDef(AliFMDdigit,1) // Real data digit object for set:ITS
963d4d30 37};
38inline Int_t AliFMDdigit::Volume(){return fNumOfDet;}
39inline Int_t AliFMDdigit::NumberOfSector() {return fNumOfSector;}
40inline Int_t AliFMDdigit::NumberOfRing() {return fNumOfRing;}
41inline Int_t AliFMDdigit::Charge() {return fNelectrons;}
42inline Int_t AliFMDdigit::ADCsignal() {return fADC;}
43
44
45#endif