]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONRegionalTrigger.h
New version of SPD raw-data reconstruction. The format now correponds to the actual...
[u/mrichter/AliRoot.git] / MUON / AliMUONRegionalTrigger.h
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 base
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   Int_t    GetId()        const {return fId;}
26   UInt_t   GetLocalOutput(Int_t n) const {return fLocalOutput[n];}
27   UShort_t GetLocalMask() const {return fLocalMask;}
28   Char_t   GetOutput()    const {return fOutput;}
29
30   // setter methods
31   void  SetId(Int_t d)           {fId = d;}
32   void  SetLocalOutput(UInt_t local, Int_t n) {fLocalOutput[n] = local;}
33   void  SetLocalMask(UShort_t m) {fLocalMask = m;}
34   void  SetOutput(Char_t o)      {fOutput = o;}
35
36   virtual void Print(Option_t* opt="") const;
37   
38 private:
39   Int_t    fId;              ///< regional id 
40   UInt_t   fLocalOutput[2];  ///< local output Lpt & Hpt
41   UShort_t fLocalMask;       ///< local mask
42   UChar_t  fOutput;          ///< regional output (single muon:2, unlike sign:1, like sign:1) 
43
44
45   ClassDef(AliMUONRegionalTrigger,1)  // reconstructed regional Trigger object
46 };
47 #endif
48
49
50
51
52
53