]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONTriggerTrack.h
Coding conventions fixed.
[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
c6ba19f7 25 AliMUONTriggerTrack(Float_t x11, Float_t y11, Float_t thetax, Float_t thetay, Int_t iloTrg, Long_t theGTPattern);
26
71a2d3aa 27 // getters
28
29 /// Return x position of fired Y strip in MC11
58ff0bd4 30 Float_t GetX11() const {return fx11;}
71a2d3aa 31 /// Return y position of fired X strip in MC11
58ff0bd4 32 Float_t GetY11() const {return fy11;}
71a2d3aa 33 /// Return track theta angle in X
0b3dd00a 34 Float_t GetThetax() const {return fthetax;}
71a2d3aa 35 /// Return track theta angle in Y
c6ba19f7 36 Float_t GetThetay() const {return fthetay;}
71a2d3aa 37 /// Return local trigger number
c6ba19f7 38 Int_t GetLoTrgNum() const {return floTrgNum;}
9131b4fe 39
71a2d3aa 40 // setters
41
42 /// Set x position of fired Y strip in MC11
58ff0bd4 43 void SetX11(Float_t x) {fx11 = x;}
71a2d3aa 44 /// Set y position of fired X strip in MC11
58ff0bd4 45 void SetY11(Float_t y) {fy11 = y;}
71a2d3aa 46 /// Set track theta angle in X
58ff0bd4 47 void SetThetax(Float_t tx) {fthetax = tx;}
71a2d3aa 48 /// Set track theta angle in Y
c6ba19f7 49 void SetThetay(Float_t ty) {fthetay = ty;}
71a2d3aa 50 /// Set local trigger number
c6ba19f7 51 void SetLoTrgNum(Int_t loTrgNum) {floTrgNum = loTrgNum;}
58ff0bd4 52
71a2d3aa 53 /// Set Global trigger pattern (do not work with static statement)
c6eddbb2 54 void SetGTPattern(UChar_t pat) {fGTPattern = pat;}
71a2d3aa 55 /// Return Global trigger pattern (do not work with static statement)
c6eddbb2 56 UChar_t GetGTPattern() const {return fGTPattern;}
9131b4fe 57
e5e7be4b 58 virtual void Print(Option_t* opt="") const;
59
0b3dd00a 60protected:
61 private:
829425a5 62 Float_t fx11; ///< x position of fired Y strip in MC11
63 Float_t fy11; ///< y position of fired X strip in MC11
64 Float_t fthetax; ///< track theta angle in X
65 Float_t fthetay; ///< track theta angle in Y
c6ba19f7 66 Int_t floTrgNum; ///< local trigger number
c6eddbb2 67 UChar_t fGTPattern; ///< Global trigger pattern (do not work with static statement)
9131b4fe 68
c6ba19f7 69 ClassDef(AliMUONTriggerTrack, 4) // Reconstructed trigger track in ALICE dimuon spectrometer
0b3dd00a 70 };
71
72#endif
9131b4fe 73