]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONTriggerTrack.cxx
Histogram ranges changed to cut off saturation peak and noise
[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
ee8a8d65 16// $Id$
0b3dd00a 17
ee8a8d65 18//-----------------------------------------------------------------------------
19// Class AliMUONTriggerTrack
20//---------------------------
21// Reconstructed Trigger track in ALICE dimuon spectrometer
22// Note: equivalent to AliMUONTriggerTrack for tracking,
23// No need for a AliMUONTriggerTrackParam
24// Author: Philippe Crochet
25//-----------------------------------------------------------------------------
0b3dd00a 26
0b3dd00a 27#include "AliMUONTriggerTrack.h"
29f1b13a 28#include "AliMUONTrackReconstructor.h"
e5e7be4b 29#include <Riostream.h>
30#include "AliLog.h"
0b3dd00a 31
ee8a8d65 32/// \cond CLASSIMP
33ClassImp(AliMUONTriggerTrack)
34/// \endcond
35
0b3dd00a 36//__________________________________________________________________________
37AliMUONTriggerTrack::AliMUONTriggerTrack()
7fe0032c 38 : TObject(),
39 fx11(0),
40 fy11(0),
41 fthetax(0),
42 fthetay(0),
c6ba19f7 43 floTrgNum(0),
7fe0032c 44 fGTPattern(0)
45
0b3dd00a 46{
7945aae7 47 /// default ctr
e5e7be4b 48 AliDebug(1,Form("this=%p",this));
0b3dd00a 49}
50//__________________________________________________________________________
c6ba19f7 51AliMUONTriggerTrack::AliMUONTriggerTrack(Float_t x11, Float_t y11, Float_t thetax, Float_t thetay, Int_t loTrgNum, Long_t theGTPattern)
1657f946 52 : TObject(),
53 fx11(x11),
54 fy11(y11),
55 fthetax(thetax),
56 fthetay(thetay),
c6ba19f7 57 floTrgNum(loTrgNum),
1657f946 58 fGTPattern(theGTPattern)
0b3dd00a 59{
7945aae7 60/// ctor from local trigger output
e5e7be4b 61 AliDebug(1,Form("this=%p x11=%f y11=%f thetax=%f thetay=%f loTrgNum=%d GTPattern=%ld",
62 this,x11,y11,thetax,thetay,loTrgNum,theGTPattern));
63
0b3dd00a 64}
65
66//__________________________________________________________________________
67AliMUONTriggerTrack::~AliMUONTriggerTrack()
68{
7945aae7 69 /// Destructor
e5e7be4b 70 AliDebug(1,Form("this=%p",this));
0b3dd00a 71}
72
73//__________________________________________________________________________
30178c30 74AliMUONTriggerTrack::AliMUONTriggerTrack (const AliMUONTriggerTrack& theMUONTriggerTrack)
1657f946 75 : TObject(theMUONTriggerTrack),
76 fx11(theMUONTriggerTrack.fx11),
77 fy11(theMUONTriggerTrack.fy11),
78 fthetax(theMUONTriggerTrack.fthetax),
79 fthetay(theMUONTriggerTrack.fthetay),
c6ba19f7 80 floTrgNum(theMUONTriggerTrack.floTrgNum),
1657f946 81 fGTPattern(theMUONTriggerTrack.fGTPattern)
0b3dd00a 82{
7945aae7 83///
84/// copy ctor
85///
e5e7be4b 86 AliDebug(1,Form("this=%p copy ctor",this));
87
0b3dd00a 88}
89
90//__________________________________________________________________________
91AliMUONTriggerTrack & AliMUONTriggerTrack::operator=(const AliMUONTriggerTrack&
30178c30 92theMUONTriggerTrack)
0b3dd00a 93{
7945aae7 94/// Assignment operator
95
30178c30 96 // check assignement to self
97 if (this == &theMUONTriggerTrack)
0b3dd00a 98 return *this;
99
7945aae7 100 /// base class assignement
30178c30 101 TObject::operator=(theMUONTriggerTrack);
102
30178c30 103 fx11 = theMUONTriggerTrack.fx11;
104 fy11 = theMUONTriggerTrack.fy11;
105 fthetax = theMUONTriggerTrack.fthetax;
106 fthetay = theMUONTriggerTrack.fthetay;
c6ba19f7 107 floTrgNum = theMUONTriggerTrack.floTrgNum;
30178c30 108 fGTPattern = theMUONTriggerTrack.fGTPattern;
9131b4fe 109
0b3dd00a 110 return *this;
111}
c6ba19f7 112
e5e7be4b 113//__________________________________________________________________________
114void
115AliMUONTriggerTrack::Print(Option_t*) const
116{
117/// Printing
118
119 cout << Form("(X,Y)11=(%7.2f,%7.2f) Theta(X,Y)=(%7.2f,%7.2f) LocalBoard #%3d GlobalTriggerPattern %x",
120 fx11,fy11,fthetax,fthetay,floTrgNum,fGTPattern) << endl;
121}