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