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