Line data Source code
1 : #ifndef AliTRDPTRGCBB_H
2 : #define AliTRDPTRGCBB_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 : #include "AliTRDptrgParam.h"
14 : #include <TObjArray.h>
15 : #include <TObject.h>
16 :
17 : class AliRunLoader;
18 :
19 : class AliTRDptrgCBAC;
20 : class AliTRDptrgTLMU;
21 :
22 : class AliTRDptrgCBB : public TObject {
23 : public:
24 : AliTRDptrgCBB(AliRunLoader *rl = 0x0);
25 : AliTRDptrgCBB(AliRunLoader *rl, AliTRDptrgParam* param,
26 : AliTRDptrgParam::AliTRDptrgOperatingMode_t operatingMode);
27 : ~AliTRDptrgCBB();
28 :
29 : Int_t* Simulate(); // Simulates the ptrg behavior of event
30 : Bool_t GetPT(); // Evaluates ptrg decision
31 : protected:
32 : Bool_t LoadParams(); // loads the parameters stored
33 :
34 : AliRunLoader *fRunLoader; //!
35 : AliTRDptrgParam *fParam; // singleton obj containing configuration parameters
36 : AliTRDptrgParam::AliTRDptrgOperatingMode_t fOperatingMode; // working on Digits or Hits?
37 :
38 : AliTRDptrgCBAC *fCBA; // control box at a side of the solenoid
39 : AliTRDptrgCBAC *fCBC; // control box at c side of the solenoid
40 : AliTRDptrgTLMU *fTLMU; // TLMU
41 :
42 : TObjArray fLUTArray; // Array with Look-Up-Tables (usually two, called X,Y)
43 :
44 : const AliTRDptrgParam::AliTRDptrgPTmasks *fPTmasks; // PT output masks
45 : private:
46 : AliTRDptrgCBB& operator=(const AliTRDptrgCBB &rhs); // not implemented
47 : AliTRDptrgCBB(const AliTRDptrgCBB &rhs); // not implemented
48 :
49 52 : ClassDef(AliTRDptrgCBB, 1);
50 : };
51 :
52 : #endif
|