]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ACORDE/AliACORDEdigit.h
Protection against special particle types.
[u/mrichter/AliRoot.git] / ACORDE / AliACORDEdigit.h
1 #ifndef ALIACORDEDIGIT_H
2 #define ALIACORDEDIGIT_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 ////////////////////////////////////////////////////////////////////////////
9 //  ACORDE digit: Id
10 //
11 // The digits are made in FinishEvent() by summing all the hits in a 
12 // counter.
13 ////////////////////////////////////////////////////////////////////////////
14
15 #include "AliDigit.h"
16
17 class TArrayF;
18 class TArrayI;
19
20 class AliACORDEdigit: public AliDigit  {
21 public:
22   AliACORDEdigit();
23   AliACORDEdigit(Int_t* tracks, Int_t* vol, Float_t* digit);
24   AliACORDEdigit(const AliACORDEdigit& digit);
25   virtual ~AliACORDEdigit();
26
27   AliACORDEdigit& operator= (const AliACORDEdigit& digit);
28
29 protected:
30   Int_t     fSector;  // number of sector
31   Int_t     fPlate;   // number of plate
32   Int_t     fStrip;   // number of strip
33   Int_t     fPadx;    // number of pad along x
34   Int_t     fPadz;    // number of pad along z
35   Int_t     fNDigits;  // dimension of fTdc array
36   TArrayF*  fTdc;     // tdc values for sdigit
37   TArrayF*  fAdc;     // adc values for sdigit
38
39 private:
40     ClassDef(AliACORDEdigit,1)  //Digit (Header) object for set : ACORDE (ACORDE)
41 };
42
43 typedef AliACORDEdigit AliCRTdigit; // for backward compatibility
44
45 #endif // ALIACORDEDIGIT_H