]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONLocalTrigger.h
Bug on pad size (Sacha, Christian)
[u/mrichter/AliRoot.git] / MUON / AliMUONLocalTrigger.h
1 #ifndef ALIMUONLOCALTRIGGER_H
2 #define ALIMUONLOCALTRIGGER_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 #include <TObject.h>
11
12 class AliMUONLocalTrigger : public TObject {
13  public:
14   AliMUONLocalTrigger();
15   AliMUONLocalTrigger(const AliMUONLocalTrigger& rhs); // copy constructor !
16   AliMUONLocalTrigger(Int_t* localtr);
17   virtual ~AliMUONLocalTrigger(){;}
18   AliMUONLocalTrigger& operator=(const AliMUONLocalTrigger& rhs); 
19
20   Int_t LoCircuit() const {return fLoCircuit;}; 
21   Int_t LoStripX() const {return fLoStripX;};    
22   Int_t LoDev() const {return fLoDev;};     
23   Int_t LoStripY() const {return fLoStripY;};  
24   Int_t LoLpt() const {return fLoLpt;};     
25   Int_t LoHpt() const {return fLoHpt;};     
26   Int_t LoApt() const {return fLoApt;}; 
27
28    
29   UShort_t GetX1Pattern() const {return fX1Pattern;}
30   UShort_t GetX2Pattern() const {return fX2Pattern;}
31   UShort_t GetX3Pattern() const {return fX3Pattern;}
32   UShort_t GetX4Pattern() const {return fX4Pattern;}
33
34   UShort_t GetY1Pattern() const {return fY1Pattern;}
35   UShort_t GetY2Pattern() const {return fY2Pattern;}
36   UShort_t GetY3Pattern() const {return fY3Pattern;}
37   UShort_t GetY4Pattern() const {return fY4Pattern;}
38
39   Char_t GetLoDecision();
40
41   ClassDef(AliMUONLocalTrigger,2)  // reconstructed Local Trigger object
42
43 private:
44   Int_t fLoCircuit; // circuit number 
45   Int_t fLoStripX;  // X strip in MT11 
46   Int_t fLoDev;     // deviation 
47   Int_t fLoStripY;  // Y strip in MT11 
48   Int_t fLoLpt;     // Low pt  0 : nothing, 1 : Minus, 2 : Plus, 3 : Undef
49   Int_t fLoHpt;     // High pt 0 : nothing, 1 : Minus, 2 : Plus, 3 : Undef
50   Int_t fLoApt;     // All pt  0 : nothing, 1 : Minus, 2 : Plus, 3 : Undef
51
52   UShort_t fX1Pattern; // X and Y strip pattern for each chamber
53   UShort_t fX2Pattern;
54   UShort_t fX3Pattern;
55   UShort_t fX4Pattern;
56  
57   UShort_t fY1Pattern;
58   UShort_t fY2Pattern;
59   UShort_t fY3Pattern;
60   UShort_t fY4Pattern;
61
62   Char_t fLoDecision; // local decision word (4 bits)
63 };
64 #endif
65
66
67
68
69
70