- Removed not implemented methods AddData(), GetGlobalTriggerPattern
[u/mrichter/AliRoot.git] / MUON / AliMUONRegionalTriggerBoard.h
CommitLineData
8778870d 1#ifndef ALIMUONREGIONALTRIGGERBOARD_H
2#define ALIMUONREGIONALTRIGGERBOARD_H
809874e0 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
edd00c2d 8/// \ingroup sim
9/// \class AliMUONRegionalTriggerBoard
c4ee792d 10/// \brief Regional trigger - real HW algorithm is implemented
11///
12// Author: Rachid Guernane (LPCCFd)
809874e0 13
14#include "AliMUONTriggerBoard.h"
15
16class AliMUONRegionalTriggerBoard : public AliMUONTriggerBoard
17{
18 public:
19 AliMUONRegionalTriggerBoard();
20 AliMUONRegionalTriggerBoard(const char *name, Int_t a);
21 virtual ~AliMUONRegionalTriggerBoard() {;}
22
23 virtual void Reset() {for (Int_t i=0; i<16; i++) fLocalResponse[i] = 0;}
24
edd00c2d 25 virtual void Scan(Option_t *option) const;
809874e0 26
edd00c2d 27 virtual void Resp(Option_t*) const {}
809874e0 28
29 virtual void Response();
30
31 virtual void SetLocalResponse(UShort_t val[16]) {for (Int_t i=0;i<16;i++) fLocalResponse[i] = val[i];}
32
33 virtual UShort_t Algo(UShort_t i, UShort_t j, char *thres, Int_t level);
34
41922e78 35 void Mask(Int_t index, UShort_t mask);
36
809874e0 37 private:
829425a5 38 UShort_t fLocalResponse[16]; ///< Local trigger inputs
39 UShort_t fMask[16]; ///< Entry mask
41922e78 40
809874e0 41 ClassDef(AliMUONRegionalTriggerBoard,1)
42};
43#endif
44
45
46