30 #include <Riostream.h>
62 fTrackChamberHitMap(0),
93 fTrackChamberHitMap(0),
102 : TObject(clusterInfo),
103 fRunId(clusterInfo.fRunId),
104 fEventId(clusterInfo.fEventId),
106 fClusterId(clusterInfo.fClusterId),
107 fClusterX(clusterInfo.fClusterX),
108 fClusterY(clusterInfo.fClusterY),
109 fClusterXErr(clusterInfo.fClusterXErr),
110 fClusterYErr(clusterInfo.fClusterYErr),
111 fClusterChi2(clusterInfo.fClusterChi2),
112 fClusterCharge(clusterInfo.fClusterCharge),
113 fTrackId(clusterInfo.fTrackId),
114 fTrackX(clusterInfo.fTrackX),
115 fTrackY(clusterInfo.fTrackY),
116 fTrackThetaX(clusterInfo.fTrackThetaX),
117 fTrackThetaY(clusterInfo.fTrackThetaY),
118 fTrackP(clusterInfo.fTrackP),
119 fTrackXErr(clusterInfo.fTrackXErr),
120 fTrackYErr(clusterInfo.fTrackYErr),
121 fTrackChi2(clusterInfo.fTrackChi2),
122 fTrackCharge(clusterInfo.fTrackCharge),
123 fTrackNHits(clusterInfo.fTrackNHits),
124 fTrackChamberHitMap(clusterInfo.fTrackChamberHitMap),
125 fNPads(clusterInfo.fNPads),
126 fPads(new TClonesArray(
"AliMUONPadInfo",clusterInfo.fNPads))
140 if (
this == &clusterInfo)
return *
this;
142 TObject::operator=(clusterInfo);
203 cout<<Form(
"- clusterID=%u (ch=%d, det=%d, index=%d)",
206 cout<<Form(
" position=(%5.2f, %5.2f, %5.2f), sigma=(%8.5f, %8.5f, 0.0)",
212 cout<<Form(
"- trackID=%u",
GetTrackId())<<endl;
214 cout<<Form(
" position=(%5.2f, %5.2f, %5.2f), angles=(%5.2f, %5.2f), momentum=%5.2f",
217 cout<<Form(
" sigma_XY=(%8.5f, %8.5f), charge=%d, chi2=%5.2f",
221 if (strstr(option,
"FULL")) {
233 Double_t lClusterChargeC = 0.;
244 return lClusterChargeC;
269 Double_t lPadXMin = 10000.;
270 Double_t lPadXMax = -10000.;
271 Int_t nChangedMin = 0;
272 Int_t nChangedMax = 0;
292 iNPadsX = TMath::Max(nChangedMin+nChangedMax-1,0);
300 Double_t lPadYMin = 10000.;
301 Double_t lPadYMax = -10000.;
302 Int_t nChangedMin = 0;
303 Int_t nChangedMax = 0;
323 iNPadsY = TMath::Max(nChangedMin+nChangedMax-1,0);
Int_t GetClusterIndex() const
Return the index of this cluster (0..), part of the cluster ID.
Double_t GetTrackX() const
Return track X-position (cm)
Double32_t fTrackChi2
track normalized chi2
Double_t GetTrackYErr() const
Return track Y-resolution (cm)
Int_t GetPadPlaneType() const
Return the plane type 0=Bending 1=NonBending.
Int_t GetNPads() const
return the number of pads attached to the cluster
Double_t GetTrackXErr() const
Return track X-resolution (cm)
Short_t fTrackCharge
track charge
Double32_t fTrackThetaX
track Theta_X angle
Double_t GetTrackP() const
Return track momentum (MeV/c)
Double_t GetTrackY() const
Return track Y-position (cm)
void Print(Option_t *option="") const
Int_t fEventId
event number
Double32_t fClusterCharge
cluster charge
Double_t GetTrackThetaY() const
Return track ThetaY angle (radian)
Double32_t fTrackX
track X position
void Print(Option_t *option="") const
Double_t GetPadCharge() const
Return the calibrated charge.
Int_t GetDetElemId() const
Return detection element ID, part of the cluster ID.
Double_t GetPadY() const
Return pad Y-position (cm)
Int_t GetEventId() const
return event ID
Double32_t fTrackP
track momentum
Double_t GetClusterX() const
Return cluster X-position (cm)
TClonesArray * fPads
Array of pads attached to the cluster.
UInt_t fTrackChamberHitMap
Map of clusters in tracking chambers.
virtual void Clear(Option_t *opt="")
Double32_t fClusterChi2
cluster chi2
Double32_t fTrackXErr
track X resolution
Int_t GetNPadsY(Int_t iC) const
return the number of pads attached to the cluster
Double32_t fClusterYErr
cluster Y resolution
Short_t GetTrackCharge() const
Return the muon charge.
Double32_t fZ
track/cluster Z position
Double_t GetClusterYErr() const
Return cluster Y-resolution (cm)
Double_t GetZ() const
Return cluster/track Z-position (cm)
Double32_t fClusterXErr
cluster X resolution
Double32_t fClusterY
cluster Y position
Double_t GetClusterXErr() const
Return cluster X-resolution (cm)
Double32_t fClusterX
cluster X position
Double_t GetClusterCharge() const
Return the total cluster charge.
Int_t GetNPadsX(Int_t iC) const
return the number of pads attached to the cluster
AliMUONClusterInfo & operator=(const AliMUONClusterInfo &cluster)
Double32_t fTrackY
track Y position
UInt_t fClusterId
cluster ID
Double_t GetClusterChi2() const
return cluster Chi2
Int_t GetChamberId() const
Return chamber ID (0..), part of the cluster ID.
virtual ~AliMUONClusterInfo()
Double_t GetPadX() const
Return pad X-position (cm)
Double32_t fTrackYErr
track Y resolution
Class to summarize ESD data at cluster.
Class to summarize ESD data at pad.
Double32_t fTrackThetaY
track Theta_Y angle
UInt_t GetClusterId() const
return cluster ID
Double_t GetTrackChi2() const
return track Chi2
Double_t GetTrackThetaX() const
Return track ThetaX angle (radian)
UChar_t fTrackNHits
track number of hits
Double_t GetClusterY() const
Return cluster Y-position (cm)
UInt_t GetTrackId() const
return track ID