]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONGlobalTriggerBoard.h
Loading libraries needed for reading & decoding rawdata
[u/mrichter/AliRoot.git] / MUON / AliMUONGlobalTriggerBoard.h
1 #ifndef ALIMUONGLOBALTRIGGERBOARD_H
2 #define ALIMUONGLOBALTRIGGERBOARD_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 "AliMUONTriggerBoard.h"
11
12 class AliMUONGlobalTriggerBoard : public AliMUONTriggerBoard
13 {
14    public:
15
16       AliMUONGlobalTriggerBoard();  
17       AliMUONGlobalTriggerBoard(const char *name, Int_t a);
18       virtual ~AliMUONGlobalTriggerBoard() {;}
19     
20       virtual void     SetRegionalResponse(UShort_t resp[16]) {for (Int_t i=0; i<16; i++) fRegionalResponse[i] = resp[i];}
21
22       virtual void     Response();
23
24       virtual UShort_t Algo(UShort_t i, UShort_t j, char *thres);
25
26       virtual void     Reset() {for (Int_t i=0; i<16; i++) fRegionalResponse[i] = 0;}
27
28       virtual void     Scan(Option_t *option);
29
30       virtual void     Resp(Option_t*) {}
31
32       void Mask(Int_t index, UShort_t mask);
33       
34    private:
35
36       UShort_t fRegionalResponse[16];
37       UShort_t fMask[16];
38
39    ClassDef(AliMUONGlobalTriggerBoard,1) 
40 };
41 #endif