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