AliRoot Core  edcc906 (edcc906)
AliMUONRegionalTrigger.h
Go to the documentation of this file.
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 
13 // Author Ch. Finck
14 
15 #include <TObject.h>
16 
17 class AliMUONRegionalTrigger : public TObject {
18  public:
20  AliMUONRegionalTrigger(const AliMUONRegionalTrigger& rhs); // copy constructor !
21  virtual ~AliMUONRegionalTrigger();
23 
24  // getter methods
26  Int_t GetId() const {return fId;}
28  UInt_t GetLocalOutput(Int_t n) const {return fLocalOutput[n];}
30  UShort_t GetLocalMask() const {return fLocalMask;}
32  Char_t GetOutput() const {return fOutput;}
33 
34  // setter methods
36  void SetId(Int_t d) {fId = d;}
38  void SetLocalOutput(UInt_t local, Int_t n) {fLocalOutput[n] = local;}
40  void SetLocalMask(UShort_t m) {fLocalMask = m;}
42  void SetOutput(Char_t o) {fOutput = o;}
43 
44  virtual void Print(Option_t* opt="") const;
45 
46 private:
47  Int_t fId;
48  UInt_t fLocalOutput[2];
49  UShort_t fLocalMask;
50  UChar_t fOutput;
51 
52 
53  ClassDef(AliMUONRegionalTrigger,1) // reconstructed regional Trigger object
54 };
55 #endif
56 
57 
58 
59 
60 
61 
void SetLocalOutput(UInt_t local, Int_t n)
Set local output Lpt & Hpt.
UInt_t GetLocalOutput(Int_t n) const
Return local output Lpt & Hpt.
UInt_t fLocalOutput[2]
local output Lpt & Hpt
AliMUONRegionalTrigger & operator=(const AliMUONRegionalTrigger &rhs)
UChar_t fOutput
regional output (single muon:2, unlike sign:1, like sign:1)
void SetOutput(Char_t o)
Set regional output (single muon:2, unlike sign:1, like sign:1)
Int_t GetId() const
Return regional id.
virtual void Print(Option_t *opt="") const
UShort_t GetLocalMask() const
Return local mask.
Char_t GetOutput() const
Return regional output (single muon:2, unlike sign:1, like sign:1)
Reconstructed regional Trigger object.
void SetId(Int_t d)
Set regional id.
UShort_t fLocalMask
local mask
void SetLocalMask(UShort_t m)
Set local mask.