]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONRegionalTriggerBoard.h
Make usage of mask=0 possible
[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
c1975ba7 8/// \ingroup trigger
edd00c2d 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);
71a2d3aa 21 virtual ~AliMUONRegionalTriggerBoard();
809874e0 22
00d46f24 23 virtual void Reset();
809874e0 24
edd00c2d 25 virtual void Scan(Option_t *option) const;
809874e0 26
71a2d3aa 27 /// Dummy implementation
edd00c2d 28 virtual void Resp(Option_t*) const {}
809874e0 29
30 virtual void Response();
31
71a2d3aa 32 /// Set Local trigger inputs
809874e0 33 virtual void SetLocalResponse(UShort_t val[16]) {for (Int_t i=0;i<16;i++) fLocalResponse[i] = val[i];}
34
c05673c9 35 /// response of the algorithm
a6e0ebfe 36 virtual UShort_t Algo(UShort_t i, UShort_t j, const char *thres, Int_t level);
809874e0 37
c05673c9 38 /// set local boards enable
39 void Mask(UShort_t mask);
00d46f24 40
41 virtual Bool_t IsNull();
42
809874e0 43 private:
829425a5 44 UShort_t fLocalResponse[16]; ///< Local trigger inputs
c05673c9 45 UShort_t fMask; ///< Entry mask
41922e78 46
69d7ac2e 47 ClassDef(AliMUONRegionalTriggerBoard,1) // Regional trigger - real HW algorithm is implemented
809874e0 48};
49#endif
50
51
52