]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONTriggerTrack.cxx
Better selection between menus
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerTrack.cxx
CommitLineData
0b3dd00a 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
30178c30 16/* $Id$*/
0b3dd00a 17
18///////////////////////////////////////////////////
19//
20// Reconstructed Trigger track
21// in
22// ALICE
23// dimuon
24// spectrometer
25// note: equivalent to AliMUONTriggerTrack for tracking,
26// no need for a AliMUONTriggerTrackParam
27///////////////////////////////////////////////////
28
0b3dd00a 29#include "AliMUONTriggerTrack.h"
29f1b13a 30#include "AliMUONTrackReconstructor.h"
0b3dd00a 31
32//__________________________________________________________________________
33AliMUONTriggerTrack::AliMUONTriggerTrack()
7fe0032c 34 : TObject(),
35 fx11(0),
36 fy11(0),
37 fthetax(0),
38 fthetay(0),
c6ba19f7 39 floTrgNum(0),
7fe0032c 40 fGTPattern(0)
41
0b3dd00a 42{
7945aae7 43 /// default ctr
0b3dd00a 44}
45//__________________________________________________________________________
c6ba19f7 46AliMUONTriggerTrack::AliMUONTriggerTrack(Float_t x11, Float_t y11, Float_t thetax, Float_t thetay, Int_t loTrgNum, Long_t theGTPattern)
1657f946 47 : TObject(),
48 fx11(x11),
49 fy11(y11),
50 fthetax(thetax),
51 fthetay(thetay),
c6ba19f7 52 floTrgNum(loTrgNum),
1657f946 53 fGTPattern(theGTPattern)
0b3dd00a 54{
7945aae7 55/// ctor from local trigger output
0b3dd00a 56}
57
58//__________________________________________________________________________
59AliMUONTriggerTrack::~AliMUONTriggerTrack()
60{
7945aae7 61 /// Destructor
0b3dd00a 62 ;
63
64}
65
66//__________________________________________________________________________
30178c30 67AliMUONTriggerTrack::AliMUONTriggerTrack (const AliMUONTriggerTrack& theMUONTriggerTrack)
1657f946 68 : TObject(theMUONTriggerTrack),
69 fx11(theMUONTriggerTrack.fx11),
70 fy11(theMUONTriggerTrack.fy11),
71 fthetax(theMUONTriggerTrack.fthetax),
72 fthetay(theMUONTriggerTrack.fthetay),
c6ba19f7 73 floTrgNum(theMUONTriggerTrack.floTrgNum),
1657f946 74 fGTPattern(theMUONTriggerTrack.fGTPattern)
0b3dd00a 75{
7945aae7 76///
77/// copy ctor
78///
0b3dd00a 79}
80
81//__________________________________________________________________________
82AliMUONTriggerTrack & AliMUONTriggerTrack::operator=(const AliMUONTriggerTrack&
30178c30 83theMUONTriggerTrack)
0b3dd00a 84{
7945aae7 85/// Assignment operator
86
30178c30 87 // check assignement to self
88 if (this == &theMUONTriggerTrack)
0b3dd00a 89 return *this;
90
7945aae7 91 /// base class assignement
30178c30 92 TObject::operator=(theMUONTriggerTrack);
93
30178c30 94 fx11 = theMUONTriggerTrack.fx11;
95 fy11 = theMUONTriggerTrack.fy11;
96 fthetax = theMUONTriggerTrack.fthetax;
97 fthetay = theMUONTriggerTrack.fthetay;
c6ba19f7 98 floTrgNum = theMUONTriggerTrack.floTrgNum;
30178c30 99 fGTPattern = theMUONTriggerTrack.fGTPattern;
9131b4fe 100
0b3dd00a 101 return *this;
102}
c6ba19f7 103