Line data Source code
1 : #ifndef ALITRDPTRGFEB_H
2 : #define ALITRDPTRGFEB_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 : //
10 : // PTRG simulation
11 : //
12 : // --------------------------------------------------------
13 :
14 : #include "TObject.h"
15 : #include "AliTRDptrgParam.h"
16 :
17 : class AliRunLoader;
18 :
19 : class AliTRDptrgFEB : public TObject {
20 : public:
21 : AliTRDptrgFEB(AliRunLoader *rl = 0x0);
22 : AliTRDptrgFEB(AliRunLoader *rl, AliTRDptrgParam::AliTRDptrgFEBType_t febType,
23 : AliTRDptrgParam::AliTRDptrgOperatingMode_t operatingMode,
24 : AliTRDptrgParam::AliTRDptrgFEBPosition_t position, Int_t id,
25 : AliTRDptrgParam *param);
26 :
27 : ~AliTRDptrgFEB();
28 : Int_t* Simulate(); // starts a simulation
29 : protected:
30 : Int_t LoadDigits(); // loads Digits (for usage with aquired data)
31 : Int_t LoadAndProcessHits();
32 : // load and process hits (for usage with simulated data)
33 : Bool_t LoadParams(); // load AliTRDprtgParam content
34 :
35 :
36 : AliRunLoader *fRunLoader; //!
37 : AliTRDptrgParam *fParam; // Configuration parameter object
38 : TObjArray fLUTArray; // Array with Look-Up-Tables
39 :
40 : AliTRDptrgParam::AliTRDptrgFEBType_t fType; // Indicates what input FEB uses (V0 or T0)
41 : AliTRDptrgParam::AliTRDptrgOperatingMode_t fOperatingMode; // working on Digits or Hits?
42 : Int_t fInputChannelCount; // Number of input channels
43 : AliTRDptrgParam::AliTRDptrgFEBPosition_t fPosition; // 0 = unkown, 1 = A, 2 = C
44 : Int_t fID; // 0 = T0, 1 = V0-1, 2 = V0-2, 3 = V0-3, 4 = V0-4 (numbering?)
45 :
46 : UInt_t *fThreshold; // specifies the threshold for incoming analog signals
47 : private:
48 : AliTRDptrgFEB& operator=(const AliTRDptrgFEB &rhs); // not implemented
49 : AliTRDptrgFEB(const AliTRDptrgFEB &rhs); // not implemented
50 :
51 9996 : ClassDef(AliTRDptrgFEB, 1);
52 : };
53 :
54 : #endif
|