]>
Commit | Line | Data |
---|---|---|
d15ca731 | 1 | #ifndef ALIMUONGLOBALTRIGGERBOARD_H |
2 | #define ALIMUONGLOBALTRIGGERBOARD_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 | ||
c1975ba7 | 8 | /// \ingroup trigger |
edd00c2d | 9 | /// \class AliMUONGlobalTriggerBoard |
71a2d3aa | 10 | /// \brief Global trigger board |
edd00c2d | 11 | /// |
c4ee792d | 12 | // Author: Rachid Guernane (LPCCFd) |
d15ca731 | 13 | |
14 | #include "AliMUONTriggerBoard.h" | |
15 | ||
16 | class AliMUONGlobalTriggerBoard : public AliMUONTriggerBoard | |
17 | { | |
18 | public: | |
19 | ||
20 | AliMUONGlobalTriggerBoard(); | |
21 | AliMUONGlobalTriggerBoard(const char *name, Int_t a); | |
71a2d3aa | 22 | virtual ~AliMUONGlobalTriggerBoard(); |
23 | ||
24 | /// Set regional board responses | |
d15ca731 | 25 | virtual void SetRegionalResponse(UShort_t resp[16]) {for (Int_t i=0; i<16; i++) fRegionalResponse[i] = resp[i];} |
26 | ||
27 | virtual void Response(); | |
28 | ||
29 | virtual UShort_t Algo(UShort_t i, UShort_t j, char *thres); | |
71a2d3aa | 30 | |
31 | /// Reset regional board responses | |
d15ca731 | 32 | virtual void Reset() {for (Int_t i=0; i<16; i++) fRegionalResponse[i] = 0;} |
33 | ||
edd00c2d | 34 | virtual void Scan(Option_t *option) const; |
d15ca731 | 35 | |
71a2d3aa | 36 | /// \todo add comment |
edd00c2d | 37 | virtual void Resp(Option_t*) const {} |
d15ca731 | 38 | |
41922e78 | 39 | void Mask(Int_t index, UShort_t mask); |
40 | ||
d15ca731 | 41 | private: |
42 | ||
829425a5 | 43 | UShort_t fRegionalResponse[16]; ///< REGIONAL BOARD RESPONSES |
44 | UShort_t fMask[16]; ///< MASK | |
d15ca731 | 45 | |
69d7ac2e | 46 | ClassDef(AliMUONGlobalTriggerBoard,1) //Global trigger board |
d15ca731 | 47 | }; |
48 | #endif |