1 #ifndef ALIMUONREGIONALTRIGGERBOARD_H
2 #define ALIMUONREGIONALTRIGGERBOARD_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
9 /// \class AliMUONRegionalTriggerBoard
10 /// \brief Regional trigger - real HW algorithm is implemented
12 // Author: Rachid Guernane (LPCCFd)
14 #include "AliMUONTriggerBoard.h"
16 class AliMUONRegionalTriggerBoard : public AliMUONTriggerBoard
19 AliMUONRegionalTriggerBoard();
20 AliMUONRegionalTriggerBoard(const char *name, Int_t a);
21 virtual ~AliMUONRegionalTriggerBoard();
25 virtual void Scan(Option_t *option) const;
27 /// Dummy implementation
28 virtual void Resp(Option_t*) const {}
30 virtual void Response();
32 /// Set Local trigger inputs
33 virtual void SetLocalResponse(UShort_t val[16]) {for (Int_t i=0;i<16;i++) fLocalResponse[i] = val[i];}
35 /// response of the algorithm
36 virtual UShort_t Algo(UShort_t i, UShort_t j, const char *thres, Int_t level);
38 /// set local boards enable
39 void Mask(UShort_t mask);
41 virtual Bool_t IsNull();
44 UShort_t fLocalResponse[16]; ///< Local trigger inputs
45 UShort_t fMask; ///< Entry mask
47 ClassDef(AliMUONRegionalTriggerBoard,1) // Regional trigger - real HW algorithm is implemented