Use absolute index for module labeling (page-relative was used).
[u/mrichter/AliRoot.git] / MUON / AliMUONLocalTrigger.h
CommitLineData
a9e2aefa 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
30178c30 7/* $Id$ */
8// Revision of includes 07/05/2004
a9e2aefa 9
692de412 10/// \ingroup base
11/// \class AliMUONLocalTrigger
12/// \brief Reconstructed Local Trigger object
5398f946 13// Author Ph. Crochet
692de412 14
a9e2aefa 15#include <TObject.h>
16
8d7dfec2 17class AliMUONLocalStruct;
18
a9e2aefa 19class AliMUONLocalTrigger : public TObject {
20 public:
402fb06e 21 AliMUONLocalTrigger();
d694b6f6 22 AliMUONLocalTrigger(const AliMUONLocalTrigger& rhs); // copy constructor !
71a2d3aa 23 virtual ~AliMUONLocalTrigger();
d694b6f6 24 AliMUONLocalTrigger& operator=(const AliMUONLocalTrigger& rhs);
e9b63742 25
ce6a659c 26 // getter methods
5398f946 27 //
28 /// Return Circuit number
b8fdc4dd 29 Int_t LoCircuit() const {return fLoCircuit;}
5398f946 30 /// Return X strip in MT11
b8fdc4dd 31 Int_t LoStripX() const {return fLoStripX;}
5398f946 32 /// Return Deviation
b8fdc4dd 33 Int_t LoDev() const {return fLoDev;}
5398f946 34 /// Return Y strip in MT11
b8fdc4dd 35 Int_t LoStripY() const {return fLoStripY;}
5398f946 36 /// Return Low pt
b8fdc4dd 37 Int_t LoLpt() const {return fLoLpt;}
5398f946 38 /// Return High p
b8fdc4dd 39 Int_t LoHpt() const {return fLoHpt;}
4a69b40c 40
5398f946 41 /// Return X strip pattern for chamber 11
6dc7fcdf 42 UShort_t GetX1Pattern() const {return fX1Pattern;}
5398f946 43 /// Return X strip pattern for chamber 12
6dc7fcdf 44 UShort_t GetX2Pattern() const {return fX2Pattern;}
5398f946 45 /// Return X strip pattern for chamber 21
6dc7fcdf 46 UShort_t GetX3Pattern() const {return fX3Pattern;}
5398f946 47 /// Return X strip pattern for chamber 22
6dc7fcdf 48 UShort_t GetX4Pattern() const {return fX4Pattern;}
49
5398f946 50 /// Return Y strip pattern for chamber 11
6dc7fcdf 51 UShort_t GetY1Pattern() const {return fY1Pattern;}
5398f946 52 /// Return Y strip pattern for chamber 12
6dc7fcdf 53 UShort_t GetY2Pattern() const {return fY2Pattern;}
5398f946 54 /// Return Y strip pattern for chamber 21
6dc7fcdf 55 UShort_t GetY3Pattern() const {return fY3Pattern;}
5398f946 56 /// Return Y strip pattern for chamber 22
6dc7fcdf 57 UShort_t GetY4Pattern() const {return fY4Pattern;}
58
59 Char_t GetLoDecision();
60
ce6a659c 61 // setter methods
5398f946 62 //
63 /// Set Circuit number
ce6a659c 64 void SetLoCircuit(Int_t loCir) {fLoCircuit = loCir;}
5398f946 65 /// Set X strip in MT11
ce6a659c 66 void SetLoStripX(Int_t loStrX) {fLoStripX = loStrX;}
5398f946 67 /// Set Deviation
ce6a659c 68 void SetLoDev(Int_t loDev) {fLoDev = loDev;}
5398f946 69 /// Set Y strip in MT11
ce6a659c 70 void SetLoStripY(Int_t loStrY) {fLoStripY = loStrY;}
5398f946 71 /// Set Low pt
ce6a659c 72 void SetLoLpt(Int_t loLpt) {fLoLpt = loLpt;}
5398f946 73 /// Set High pt
ce6a659c 74 void SetLoHpt(Int_t loHpt) {fLoHpt = loHpt;}
94d65ea1 75
5398f946 76 /// Set X strip pattern for chamber 11
ce6a659c 77 void SetX1Pattern(UShort_t pat) {fX1Pattern = pat;}
5398f946 78 /// Set X strip pattern for chamber 12
ce6a659c 79 void SetX2Pattern(UShort_t pat) {fX2Pattern = pat;}
5398f946 80 /// Set X strip pattern for chamber 21
ce6a659c 81 void SetX3Pattern(UShort_t pat) {fX3Pattern = pat;}
5398f946 82 /// Set X strip pattern for chamber 22
ce6a659c 83 void SetX4Pattern(UShort_t pat) {fX4Pattern = pat;}
84
5398f946 85 /// Set Y strip pattern for chamber 11
ce6a659c 86 void SetY1Pattern(UShort_t pat) {fY1Pattern = pat;}
5398f946 87 /// Set Y strip pattern for chamber 12
ce6a659c 88 void SetY2Pattern(UShort_t pat) {fY2Pattern = pat;}
5398f946 89 /// Set Y strip pattern for chamber 21
ce6a659c 90 void SetY3Pattern(UShort_t pat) {fY3Pattern = pat;}
5398f946 91 /// Set Y strip pattern for chamber 22
ce6a659c 92 void SetY4Pattern(UShort_t pat) {fY4Pattern = pat;}
93
8d7dfec2 94 void SetLocalStruct(Int_t loCircuit, AliMUONLocalStruct& localStruct);
95
1908473e 96
eba3379e 97 virtual void Print(Option_t* opt="") const;
98
402fb06e 99private:
18b6b8c7 100 Int_t fLoCircuit; ///< Circuit number
101 Int_t fLoStripX; ///< X strip in MT11
102 Int_t fLoDev; ///< Deviation
103 Int_t fLoStripY; ///< Y strip in MT11
104 Int_t fLoLpt; ///< Low pt 0 : nothing, 1 : Minus, 2 : Plus, 3 : Undef
105 Int_t fLoHpt; ///< High pt 0 : nothing, 1 : Minus, 2 : Plus, 3 : Undef
94d65ea1 106
18b6b8c7 107 UShort_t fX1Pattern; ///< X strip pattern for chamber 11
108 UShort_t fX2Pattern; ///< X strip pattern for chamber 12
109 UShort_t fX3Pattern; ///< X strip pattern for chamber 21
110 UShort_t fX4Pattern; ///< X strip pattern for chamber 22
8d7dfec2 111
18b6b8c7 112 UShort_t fY1Pattern; ///< Y strip pattern for chamber 11
113 UShort_t fY2Pattern; ///< Y strip pattern for chamber 12
114 UShort_t fY3Pattern; ///< Y strip pattern for chamber 21
115 UShort_t fY4Pattern; ///< Y strip pattern for chamber 22
6dc7fcdf 116
8d7dfec2 117
18b6b8c7 118 Char_t fLoDecision; ///< Local decision word (4 bits)
2be06f1e 119
2f013ecd 120 ClassDef(AliMUONLocalTrigger,3) // reconstructed Local Trigger object
a9e2aefa 121};
122#endif
123
124
125
126
127
128