Remove loading of PWG4 libs (not needed anymore)
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerTrack.h
CommitLineData
0b3dd00a 1#ifndef ALIMUONTRIGGERTRACK_H
2#define ALIMUONTRIGGERTRACK_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/*$Id$*/
30178c30 7// Revision of includes 07/05/2004
0b3dd00a 8
692de412 9/// \ingroup rec
13985652 10/// \class AliMUONTriggerTrack
692de412 11/// \brief Reconstructed trigger track in ALICE dimuon spectrometer
58e8f326 12/// \author Philippe Crochet
0b3dd00a 13
30178c30 14#include <TObject.h>
0b3dd00a 15
29f1b13a 16class AliMUONTrackReconstructor;
0b3dd00a 17
30178c30 18class AliMUONTriggerTrack : public TObject
19{
0b3dd00a 20 public:
21 AliMUONTriggerTrack(); // Constructor
22 virtual ~AliMUONTriggerTrack(); // Destructor
23 AliMUONTriggerTrack (const AliMUONTriggerTrack& AliMUONTriggerTrack); // copy constructor
24 AliMUONTriggerTrack& operator=(const AliMUONTriggerTrack& AliMUONTriggerTrack); // assignment operator
67c201be 25 AliMUONTriggerTrack(Float_t x11, Float_t y11, Float_t thetax, Float_t thetay,
26 Int_t iloTrg, Long_t theGTPattern, UShort_t hitsPatternInTrigCh=0);
c6ba19f7 27
71a2d3aa 28 // getters
29
30 /// Return x position of fired Y strip in MC11
58ff0bd4 31 Float_t GetX11() const {return fx11;}
71a2d3aa 32 /// Return y position of fired X strip in MC11
58ff0bd4 33 Float_t GetY11() const {return fy11;}
71a2d3aa 34 /// Return track theta angle in X
0b3dd00a 35 Float_t GetThetax() const {return fthetax;}
71a2d3aa 36 /// Return track theta angle in Y
c6ba19f7 37 Float_t GetThetay() const {return fthetay;}
71a2d3aa 38 /// Return local trigger number
c6ba19f7 39 Int_t GetLoTrgNum() const {return floTrgNum;}
9131b4fe 40
71a2d3aa 41 // setters
42
43 /// Set x position of fired Y strip in MC11
58ff0bd4 44 void SetX11(Float_t x) {fx11 = x;}
71a2d3aa 45 /// Set y position of fired X strip in MC11
58ff0bd4 46 void SetY11(Float_t y) {fy11 = y;}
71a2d3aa 47 /// Set track theta angle in X
58ff0bd4 48 void SetThetax(Float_t tx) {fthetax = tx;}
71a2d3aa 49 /// Set track theta angle in Y
c6ba19f7 50 void SetThetay(Float_t ty) {fthetay = ty;}
71a2d3aa 51 /// Set local trigger number
c6ba19f7 52 void SetLoTrgNum(Int_t loTrgNum) {floTrgNum = loTrgNum;}
58ff0bd4 53
71a2d3aa 54 /// Set Global trigger pattern (do not work with static statement)
c6eddbb2 55 void SetGTPattern(UChar_t pat) {fGTPattern = pat;}
71a2d3aa 56 /// Return Global trigger pattern (do not work with static statement)
67c201be 57 UChar_t GetGTPattern() const {return fGTPattern;}
58
59 /// set word telling which trigger chambers where hit by track
60 UShort_t GetHitsPatternInTrigCh() const {return fHitsPatternInTrigCh;}
61 /// set word telling which trigger chambers where hit by track
62 void SetHitsPatternInTrigCh(UShort_t hitsPatternInTrigCh) {fHitsPatternInTrigCh = hitsPatternInTrigCh;}
9131b4fe 63
e5e7be4b 64 virtual void Print(Option_t* opt="") const;
65
0b3dd00a 66protected:
67 private:
829425a5 68 Float_t fx11; ///< x position of fired Y strip in MC11
69 Float_t fy11; ///< y position of fired X strip in MC11
70 Float_t fthetax; ///< track theta angle in X
71 Float_t fthetay; ///< track theta angle in Y
c6ba19f7 72 Int_t floTrgNum; ///< local trigger number
67c201be 73 UChar_t fGTPattern; ///< Global trigger pattern (do not work with static statement)
74 UShort_t fHitsPatternInTrigCh; ///< Word containing info on the hits left in trigger chambers
9131b4fe 75
67c201be 76 ClassDef(AliMUONTriggerTrack, 5) // Reconstructed trigger track in ALICE dimuon spectrometer
0b3dd00a 77 };
78
79#endif
9131b4fe 80