1 #ifndef ALIMUONRAWCLUSTER_H
2 #define ALIMUONRAWCLUSTER_H
30 virtual void Clear(Option_t* =
"") {}
36 virtual void SetXYZ(Double_t x, Double_t y, Double_t z) {
fX[0] = x;
fY[0] = y;
fZ[0] = z;}
38 virtual Double_t
GetX()
const {
return fX[0];}
40 virtual Double_t
GetY()
const {
return fY[0];}
42 virtual Double_t
GetZ()
const {
return fZ[0];}
67 virtual void SetDigitsId(Int_t nDigits,
const UInt_t *digitsId);
90 Int_t
Compare(
const TObject *obj)
const;
92 virtual void Print(Option_t* opt=
"")
const;
93 static Int_t
BinarySearch(Float_t r, TArrayF ccord, Int_t from, Int_t upto);
94 static void SortMin(Int_t *idx,Float_t *xdarray, Float_t *xarray, Float_t *yarray, Float_t *qarray,Int_t ntr);
98 Int_t
AddX(Int_t i, Float_t X);
99 Int_t
AddY(Int_t i, Float_t Y);
100 Int_t
AddZ(Int_t i, Float_t Z);
103 Float_t
GetX(Int_t i)
const;
104 Float_t
GetY(Int_t i)
const;
105 Float_t
GetZ(Int_t i)
const;
112 Float_t
GetChi2(Int_t i)
const;
113 Int_t
GetIndex(Int_t i, Int_t j)
const;
119 Int_t
SetX(Int_t i, Float_t X);
120 Int_t
SetY(Int_t i, Float_t Y);
121 Int_t
SetZ(Int_t i, Float_t Z);
129 void SetIndex(Int_t i, Int_t j, Int_t index);
130 void SetOffset(Int_t i, Int_t j, Int_t offset);
131 void SetContrib(Int_t i, Int_t j, Float_t contrib);
Int_t GetMultiplicity(Int_t i=0) const
virtual void SetMCLabel(Int_t label)
Set the corresponding MC track number.
Int_t fPhysicsMap[50]
Distinguish signal and background contr.
Int_t fOffsetMap[50][2]
Emmanuel special.
virtual Double_t GetCharge() const
Set the cluster charge.
virtual Int_t GetMCLabel() const
Return the corresponding MC track number.
Int_t AddY(Int_t i, Float_t Y)
Float_t fQ[2]
Q of cluster (in ADC counts)
virtual Double_t GetX() const
Return coordinate X (cm)
Int_t SetClusterType(Int_t type)
Float_t GetPeakSignal(Int_t i=0) const
Int_t SetGhost(Int_t ghost)
static Int_t BinarySearch(Float_t r, TArrayF ccord, Int_t from, Int_t upto)
Int_t AddX(Int_t i, Float_t X)
Int_t fIndexMap[50][2]
Indices of digits.
virtual UInt_t GetDigitId(Int_t i) const
Return Id of digits i.
virtual void AddDigitId(UInt_t id)
Add a digit Id to the array of associated digits.
virtual Double_t GetErrX() const
Return resolution (cm) on coordinate X.
Int_t fTracks[3]
Labels of overlapped tracks.
virtual Double_t GetChi2() const
Return chi2 of cluster.
Int_t SetZ(Int_t i, Float_t Z)
Int_t GetTrack(Int_t i=0) const
Bool_t IsSortable() const
Return true as the function Compare() is implemented.
Float_t fX[2]
X of cluster.
Int_t GetPhysics(Int_t i) const
Return Distinguish signal and background contr.
virtual void SetDigitsId(Int_t nDigits, const UInt_t *digitsId)
Set Id of associated digits.
Int_t PhysicsContribution() const
virtual Double_t GetErrY() const
Return resolution (cm) on coordinate Y.
Int_t Compare(const TObject *obj) const
Int_t GetClusterType() const
virtual Double_t GetErrY2() const
Return resolution**2 (cm**2) on coordinate Y.
virtual Double_t GetErrX2() const
Return resolution**2 (cm**2) on coordinate X.
Float_t GetRadius(Int_t i) const
Return radius.
Int_t SetPeakSignal(Int_t i, Float_t peaksignal)
Float_t fPeakSignal[2]
Peak signal.
Float_t fContMap[50][2]
Contribution from digit.
virtual Double_t GetZ() const
Return coordinate Z (cm)
virtual void Clear(Option_t *="")
Clear method (used by TClonesArray)
virtual AliMUONRawCluster * Clone(const char *="") const
Create a copy of the current cluster.
virtual ~AliMUONRawCluster()
Float_t GetContrib(Int_t i, Int_t j) const
Return Contribution from digit.
abstract base class for clusters
void SetContrib(Int_t i, Int_t j, Float_t contrib)
Set Contribution from digit.
Int_t AddZ(Int_t i, Float_t Z)
Int_t SetMultiplicity(Int_t i, Int_t mul)
Float_t fErrXY[2]
coordinate errors
virtual Int_t GetDetElemId() const
Return detection element Id.
void SetOffset(Int_t i, Int_t j, Int_t offset)
Set Emmanuel special offset map.
Int_t SetNcluster(Int_t i, Int_t ncluster)
virtual void Print(Option_t *opt="") const
static void SortMin(Int_t *idx, Float_t *xdarray, Float_t *xarray, Float_t *yarray, Float_t *qarray, Int_t ntr)
Int_t fDetElemId
ID number of the detection element (slat) on which the cluster is found.
Int_t fClusterType
Cluster type.
Int_t SetX(Int_t i, Float_t X)
Float_t fChi2[2]
Chi**2 of fit.
Float_t fZ[2]
Z of cluster.
Float_t fY[2]
Y of cluster.
void SetIndex(Int_t i, Int_t j, Int_t index)
Set Indices of digits.
virtual void SetXYZ(Double_t x, Double_t y, Double_t z)
Set coordinates (cm)
virtual Int_t GetChamberId() const
Return chamber Id.
Int_t AddCharge(Int_t i, Float_t Q)
Int_t GetNcluster(Int_t i=0) const
Int_t fMultiplicity[2]
Cluster multiplicity.
virtual void SetChi2(Double_t chi2)
Set chi2 of cluster.
virtual void SetErrXY(Double_t errX, Double_t errY)
Set resolution (cm) on coordinates (X,Y)
void SetDetElemId(Int_t id)
Set detection element Id.
virtual Double_t GetY() const
Return coordinate Y (cm)
Int_t fNcluster[2]
Number of clusters.
Int_t SetY(Int_t i, Float_t Y)
Int_t GetIndex(Int_t i, Int_t j) const
Return Indices of digits.
Int_t GetOffset(Int_t i, Int_t j) const
Return Emmanuel special offset map.
Int_t SetTrack(Int_t i, Int_t track)
void SetPhysics(Int_t i, Int_t physics)
Set Distinguish signal and background contr.
virtual void SetCharge(Double_t q)
Set the cluster charge.
virtual Int_t GetNDigits() const
Return number of associated digits.