51 fIsClusterEditable(kTRUE),
52 fIsClusterFront(kTRUE)
57 for (Int_t iTrack=0; iTrack<fNMaxMCTracks; iTrack++) fMCLabel[iTrack] = -1;
59 fDigitsInCluster =
new TClonesArray(
"AliMFTDigit", fNMaxDigitsPerCluster);
60 fDigitsInCluster -> SetOwner(kTRUE);
73 fNElectrons(cluster.fNElectrons),
74 fNMCTracks(cluster.fNMCTracks),
75 fPlane(cluster.fPlane),
76 fDetElemID(cluster.fDetElemID),
78 fTrackChi2(cluster.fTrackChi2),
79 fLocalChi2(cluster.fLocalChi2),
80 fDigitsInCluster(NULL),
81 fIsClusterEditable(cluster.fIsClusterEditable),
82 fIsClusterFront(cluster.fIsClusterFront)
105 if (
this == &cluster)
return *
this;
108 TObject::operator=(cluster);
144 Double_t distance = -1;
146 if (!
fSize)
return distance;
154 if (distX<=1 && distY<=1)
return 0;
155 if (!iDigit) distance = TMath::Sqrt(distX*distX + distY*distY);
156 else distance = TMath::Min(distance, TMath::Sqrt(distX*distX + distY*distY));
189 Double_t nElectrons = 0.;
222 for (Int_t iTrack=0; iTrack<
fNMCTracks; iTrack++)
if (label==
fMCLabel[iTrack])
return;
Int_t GetNMCTracks() const
Bool_t fIsClusterEditable
(Temporary) Array of the digits composing the cluster
Int_t GetDetElemID() const
void SetPlane(Int_t plane)
virtual void Clear(const Option_t *)
static const Int_t fNMaxDigitsPerCluster
void AddMCLabel(Int_t label)
Double_t GetPixelCenterX() const
void SetNElectrons(Double_t nElectrons)
AliMUONRawCluster * CreateMUONCluster()
Int_t fMCLabel[fNMaxMCTracks]
Double_t GetPixelCenterY() const
Double_t GetDistanceFromPixel(AliMFTDigit *pixel)
Int_t GetMCLabel(Int_t track) const
void SetErrX(Double_t errX)
virtual void SetXYZ(Double_t x, Double_t y, Double_t z)
Set coordinates (cm)
void SetErrZ(Double_t errZ)
void SetErrY(Double_t errY)
Bool_t AddPixel(AliMFTDigit *pixel)
void SetDetElemID(Int_t detElemID)
virtual void SetErrXY(Double_t errX, Double_t errY)
Set resolution (cm) on coordinates (X,Y)
TClonesArray * fDigitsInCluster
void SetDetElemId(Int_t id)
Set detection element Id.
static const Int_t fNMaxMCTracks
Double_t GetNElectrons() const
AliMFTCluster & operator=(const AliMFTCluster &)