TOF + macros to each detector folder
[u/mrichter/AliRoot.git] / TRD / TRDbase / AliTRDCalDCSGTUCtpOpc.h
1 #ifndef ALITRDCALDCSGTUCTPOPC_H
2 #define ALITRDCALDCSGTUCTPOPC_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id: AliTRDCalDCSGTUCtpOpc.h 18952 2007-06-08 11:36:12Z cblume $ */
7
8 ///////////////////////////////////////////////////////////////////////////////
9 //                                                                           //
10 //  TRD calibration class for TRD GTU configuration parameters               //
11 //                                                                           //
12 ///////////////////////////////////////////////////////////////////////////////
13
14 #include "TNamed.h"
15
16 class TString;
17
18 class AliTRDCalDCSGTUCtpOpc : public TNamed {
19
20  public:
21
22   AliTRDCalDCSGTUCtpOpc();
23   AliTRDCalDCSGTUCtpOpc(const char *name, const char *title);
24   virtual ~AliTRDCalDCSGTUCtpOpc() { };
25
26   Int_t   GetId() const                               { return fId;                           }
27   Int_t   GetOpcode() const                           { return fOpcode;                       }
28   Int_t   GetDirection() const                        { return fDirection;                    }
29   Int_t   GetInverted() const                         { return fInverted;                     }
30   Int_t   GetDelay() const                            { return fDelay;                        }
31   Int_t   GetConnected() const                        { return fConnected;                    }
32
33   void    SetId(Int_t id)                             { fId = id;                             }
34   void    SetOpcode(Int_t op)                         { fOpcode = op;                         }
35   void    SetDirection(Int_t di)                      { fDirection = di;                      }
36   void    SetInverted(Int_t in)                       { fInverted = in;                       }
37   void    SetDelay(Int_t de)                          { fDelay = de;                          }
38   void    SetConnected(Int_t co)                      { fConnected = co;                      }
39
40   protected:
41   Int_t   fId; // value of the attribute named id within the otp_opc tag
42   Int_t   fOpcode; // value of the attribute named opcode within the otp_opc tag
43   Int_t   fDirection; // value of the attribute named direction within the otp_opc tag
44   Int_t   fInverted; // value of the attribute named inverted within the otp_opc tag
45   Int_t   fDelay; // value of the attribute named delay within the otp_opc tag
46   Int_t   fConnected; // value of the attribute named connected within the otp_opc tag
47
48   ClassDef(AliTRDCalDCSGTUCtpOpc,1)      //  TRD calibration class for TRD GTU parameters
49
50 };
51 #endif