1 #ifndef ALIMUONRAWCLUSTERV2_H
2 #define ALIMUONRAWCLUSTERV2_H
28 virtual void Clear(Option_t* =
"");
34 virtual void SetXYZ(Double_t x, Double_t y, Double_t z) {
fX = x;
fY = y;
fZ = z;}
36 virtual Double_t
GetX()
const {
return fX;}
38 virtual Double_t
GetY()
const {
return fY;}
40 virtual Double_t
GetZ()
const {
return fZ;}
63 virtual void SetDigitsId(Int_t nDigits,
const UInt_t *digitsId);
85 Int_t
Compare(
const TObject *obj)
const;
virtual void SetChi2(Double_t chi2)
Set chi2 of cluster.
Double32_t fErrY2
Y coordinate error square.
virtual Double_t GetErrX() const
Return resolution (cm) on coordinate X.
virtual AliMUONRawClusterV2 * Clone(const char *="") const
Create a copy of the current cluster.
virtual Int_t GetDetElemId() const =0
Return detection element Id.
virtual Int_t GetNDigits() const
Return number of associated digits.
Double32_t fZ
Z of cluster.
Double32_t fChi2
Chi2 of cluster.
UInt_t * fDigitsId
Indices of digits attached to the cluster.
virtual Int_t GetChamberId() const =0
Return chamber Id.
virtual Double_t GetChi2() const
Return chi2 of cluster.
Bool_t IsSortable() const
Return true as the function Compare() is implemented.
virtual Double_t GetX() const
Return coordinate X (cm)
Double32_t fY
Y of cluster.
virtual void SetXYZ(Double_t x, Double_t y, Double_t z)
Set coordinates (cm)
abstract base class for clusters
virtual Double_t GetErrX2() const
Return resolution**2 (cm**2) on coordinate X.
virtual Int_t GetMCLabel() const
Return the corresponding MC track number.
virtual Double_t GetCharge() const
Set the cluster charge.
virtual Double_t GetErrY2() const
Return resolution**2 (cm**2) on coordinate Y.
virtual void SetErrXY(Double_t errX, Double_t errY)
Set resolution (cm) on coordinates (X,Y)
Int_t fMCLabel
Point to the corresponding MC track.
virtual void Clear(Option_t *="")
Clear method (used by TClonesArray)
virtual Double_t GetZ() const
Return coordinate Z (cm)
virtual void SetDigitsId(Int_t nDigits, const UInt_t *digitsId)
Set Id of associated digits.
virtual UInt_t GetDigitId(Int_t i) const
Return Id of digits i.
virtual void SetMCLabel(Int_t label)
Set the corresponding MC track number.
AliMUONRawClusterV2 & operator=(const AliMUONRawClusterV2 &cluster)
Int_t Compare(const TObject *obj) const
virtual void SetCharge(Double_t q)
Set the cluster charge.
Double32_t fX
X of cluster.
virtual Int_t GetDetElemId() const
Return detection element id.
virtual Double_t GetErrY() const
Return resolution (cm) on coordinate Y.
virtual void AddDigitId(UInt_t id)
Add a digit Id to the array of associated digits.
virtual ~AliMUONRawClusterV2()
virtual const UInt_t * GetDigitsId() const
Return the array of digits'id.
Double32_t fErrX2
X coordinate error square.
Double32_t fQ
Q of cluster (in ADC counts)
virtual Double_t GetY() const
Return coordinate Y (cm)
virtual Int_t GetChamberId() const
Return chamber Id.