]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONTriggerBoard.h
Coding conventions
[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 /// \ingroup sim
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 AliMUONTriggerBoard &entry);
21       AliMUONTriggerBoard(const char *name, Int_t islot);
22       virtual ~AliMUONTriggerBoard() {}
23
24       AliMUONTriggerBoard& operator=(const AliMUONTriggerBoard &rhs);
25
26       virtual void Response() = 0;
27
28       virtual void Reset() = 0;
29
30       virtual void Scan(Option_t *option) const = 0;
31
32       virtual void Resp(Option_t *option) const = 0;
33
34       virtual UShort_t GetResponse() const {return fResponse;}
35
36       virtual void Mask(Int_t index, UShort_t mask) = 0;
37       
38    protected:
39
40       Int_t fSlot;                // SLOT NUMBER IN CRATE
41
42       UShort_t fResponse;         // RESPONSE
43
44       void Copy(TObject&) const;
45
46    private:
47
48
49
50    ClassDef(AliMUONTriggerBoard,1)
51 };
52 #endif
53