]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - MUON/AliMUONRegionalTriggerBoard.h
recover the detector tag int and not the string from the AOD particle
[u/mrichter/AliRoot.git] / MUON / AliMUONRegionalTriggerBoard.h
... / ...
CommitLineData
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 */
5
6/* $Id$ */
7
8/// \ingroup trigger
9/// \class AliMUONRegionalTriggerBoard
10/// \brief Regional trigger - real HW algorithm is implemented
11///
12// Author: Rachid Guernane (LPCCFd)
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();
24
25 virtual void Scan(Option_t *option) const;
26
27 /// Dummy implementation
28 virtual void Resp(Option_t*) const {}
29
30 virtual void Response();
31
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];}
34
35 /// response of the algorithm
36 virtual UShort_t Algo(UShort_t i, UShort_t j, const char *thres, Int_t level);
37
38 /// set local boards enable
39 void Mask(UShort_t mask);
40
41 virtual Bool_t IsNull();
42
43 private:
44 UShort_t fLocalResponse[16]; ///< Local trigger inputs
45 UShort_t fMask; ///< Entry mask
46
47 ClassDef(AliMUONRegionalTriggerBoard,1) // Regional trigger - real HW algorithm is implemented
48};
49#endif
50
51
52