]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONTriggerBoard.h
Adding mask handling
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerBoard.h
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 //*-- Author: Rachid Guernane (LPCCFd)
9
10 #include <TNamed.h>
11
12 class AliMUONTriggerBoard : public TNamed
13 {
14    public:
15       AliMUONTriggerBoard();
16       AliMUONTriggerBoard(const AliMUONTriggerBoard &entry);
17       AliMUONTriggerBoard(const char *name, Int_t islot);
18       virtual ~AliMUONTriggerBoard() {}
19
20       AliMUONTriggerBoard& operator=(const AliMUONTriggerBoard &rhs);
21
22       virtual void Response() = 0;
23
24       virtual void Reset() = 0;
25
26       virtual void Scan(Option_t *option) = 0;
27
28       virtual void Resp(Option_t *option) = 0;
29
30       virtual UShort_t GetResponse() {return fResponse;}
31
32       virtual void Mask(Int_t index, UShort_t mask) = 0;
33       
34    protected:
35
36       Int_t fSlot; 
37
38       UShort_t fResponse;
39
40       void Copy(TObject&) const;
41
42    private:
43
44
45
46    ClassDef(AliMUONTriggerBoard,1)
47 };
48 #endif
49