]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIMUONREGIONALTRIGGER_H | |
2 | #define ALIMUONREGIONALTRIGGER_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id$ */ | |
8 | // Revision of includes 07/05/2004 | |
9 | ||
10 | /// \ingroup trigger | |
11 | /// \class AliMUONRegionalTrigger | |
12 | /// \brief Reconstructed regional Trigger object | |
13 | // Author Ch. Finck | |
14 | ||
15 | #include <TObject.h> | |
16 | ||
17 | class AliMUONRegionalTrigger : public TObject { | |
18 | public: | |
19 | AliMUONRegionalTrigger(); | |
20 | AliMUONRegionalTrigger(const AliMUONRegionalTrigger& rhs); // copy constructor ! | |
21 | virtual ~AliMUONRegionalTrigger(); | |
22 | AliMUONRegionalTrigger& operator=(const AliMUONRegionalTrigger& rhs); | |
23 | ||
24 | // getter methods | |
25 | /// Return regional id | |
26 | Int_t GetId() const {return fId;} | |
27 | /// Return local output Lpt & Hpt | |
28 | UInt_t GetLocalOutput(Int_t n) const {return fLocalOutput[n];} | |
29 | /// Return local mask | |
30 | UShort_t GetLocalMask() const {return fLocalMask;} | |
31 | /// Return regional output (single muon:2, unlike sign:1, like sign:1) | |
32 | Char_t GetOutput() const {return fOutput;} | |
33 | ||
34 | // setter methods | |
35 | /// Set regional id | |
36 | void SetId(Int_t d) {fId = d;} | |
37 | /// Set local output Lpt & Hpt | |
38 | void SetLocalOutput(UInt_t local, Int_t n) {fLocalOutput[n] = local;} | |
39 | /// Set local mask | |
40 | void SetLocalMask(UShort_t m) {fLocalMask = m;} | |
41 | /// Set regional output (single muon:2, unlike sign:1, like sign:1) | |
42 | void SetOutput(Char_t o) {fOutput = o;} | |
43 | ||
44 | virtual void Print(Option_t* opt="") const; | |
45 | ||
46 | private: | |
47 | Int_t fId; ///< regional id | |
48 | UInt_t fLocalOutput[2]; ///< local output Lpt & Hpt | |
49 | UShort_t fLocalMask; ///< local mask | |
50 | UChar_t fOutput; ///< regional output (single muon:2, unlike sign:1, like sign:1) | |
51 | ||
52 | ||
53 | ClassDef(AliMUONRegionalTrigger,1) // reconstructed regional Trigger object | |
54 | }; | |
55 | #endif | |
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 |