Line data Source code
1 : #ifndef ALIMUONTRIGGERBOARD_H
2 : #define ALIMUONTRIGGERBOARD_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 : /// \ingroup trigger
9 : /// \class AliMUONTriggerBoard
10 : /// \brief Trigger board base class
11 : ///
12 : // Author Rachid Guernane (LPCCFd)
13 :
14 : #include <TNamed.h>
15 :
16 : class AliMUONTriggerBoard : public TNamed
17 : {
18 : public:
19 : AliMUONTriggerBoard();
20 : AliMUONTriggerBoard(const char *name, Int_t islot);
21 : virtual ~AliMUONTriggerBoard();
22 :
23 : /// virtual method for derivated classes
24 : virtual void Response() = 0;
25 :
26 : /// virtual method for derivated classes
27 : virtual void Reset() = 0;
28 :
29 : /// virtual method for derivated classes
30 : virtual void Scan(Option_t *option) const = 0;
31 :
32 : /// virtual method for derivated classes
33 : virtual void Resp(Option_t *option) const = 0;
34 :
35 : /// Return response
36 733106 : virtual UShort_t GetResponse() const {return fResponse;}
37 :
38 : AliMUONTriggerBoard(const AliMUONTriggerBoard &rhs);
39 : AliMUONTriggerBoard& operator=(const AliMUONTriggerBoard &rhs);
40 :
41 : protected:
42 : Int_t fSlot; ///< SLOT NUMBER IN CRATE
43 :
44 : UShort_t fResponse; ///< RESPONSE
45 :
46 18 : ClassDef(AliMUONTriggerBoard,1) //Trigger board base class
47 : };
48 : #endif
49 :
|