]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDptrgCBAC.h
Patch for the AliTRDCalROC object (Raphaelle)
[u/mrichter/AliRoot.git] / TRD / AliTRDptrgCBAC.h
1 #ifndef ALITRDPTRGCBAC_H
2 #define ALITRDPTRGCBAC_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 // Pre-Trigger Control-Box A or C class
11 //
12 // --------------------------------------------------------
13
14 #include "AliTRDptrgParam.h"
15 #include <TObjArray.h>
16 #include <TObject.h>
17
18 class AliRunLoader;
19
20
21 class AliTRDptrgCBAC : public TObject {
22  public:
23   AliTRDptrgCBAC(AliRunLoader *rl = 0x0);
24   AliTRDptrgCBAC(AliRunLoader *rl, AliTRDptrgParam::AliTRDptrgFEBPosition_t position,
25                  AliTRDptrgParam::AliTRDptrgOperatingMode_t operatingMode, 
26                  AliTRDptrgParam *param);
27   ~AliTRDptrgCBAC();
28   
29   Int_t* Simulate();
30
31  protected:
32   Bool_t LoadParams(); // load AliTRDprtgParam content
33
34   AliRunLoader *fRunLoader;  //!
35   TObjArray fLUTArray; // Array with Look-Up-Tables
36   TObjArray fFEBArray; // front end boxes connected to T0 (fFEB[0]) and VO (4x)
37   AliTRDptrgParam::AliTRDptrgFEBPosition_t fPosition; // Control box position (A or C side)
38   AliTRDptrgParam::AliTRDptrgOperatingMode_t fOperatingMode; // working on Digits or Hits?
39   AliTRDptrgParam* fParam; // parameters
40  private:
41   AliTRDptrgCBAC& operator=(const AliTRDptrgCBAC &rhs); // not implemented
42   AliTRDptrgCBAC(const AliTRDptrgCBAC &rhs); // not implemented          
43
44   ClassDef(AliTRDptrgCBAC, 1);
45 };
46
47 #endif