![]() |
AliRoot Core
ee782a0 (ee782a0)
|
MUON raw cluster. More...
#include <AliMUONRawClusterV2.h>
Public Member Functions | |
AliMUONRawClusterV2 () | |
AliMUONRawClusterV2 (Int_t chamberId, Int_t detElemId, Int_t clusterIndex) | |
virtual | ~AliMUONRawClusterV2 () |
AliMUONRawClusterV2 (const AliMUONRawClusterV2 &cluster) | |
AliMUONRawClusterV2 & | operator= (const AliMUONRawClusterV2 &cluster) |
virtual void | Clear (Option_t *="") |
Clear method (used by TClonesArray) More... | |
virtual AliMUONRawClusterV2 * | Clone (const char *="") const |
Create a copy of the current cluster. More... | |
virtual void | SetXYZ (Double_t x, Double_t y, Double_t z) |
Set coordinates (cm) More... | |
virtual Double_t | GetX () const |
Return coordinate X (cm) More... | |
virtual Double_t | GetY () const |
Return coordinate Y (cm) More... | |
virtual Double_t | GetZ () const |
Return coordinate Z (cm) More... | |
virtual void | SetErrXY (Double_t errX, Double_t errY) |
Set resolution (cm) on coordinates (X,Y) More... | |
virtual Double_t | GetErrX () const |
Return resolution (cm) on coordinate X. More... | |
virtual Double_t | GetErrX2 () const |
Return resolution**2 (cm**2) on coordinate X. More... | |
virtual Double_t | GetErrY () const |
Return resolution (cm) on coordinate Y. More... | |
virtual Double_t | GetErrY2 () const |
Return resolution**2 (cm**2) on coordinate Y. More... | |
virtual void | SetCharge (Double_t q) |
Set the cluster charge. More... | |
virtual Double_t | GetCharge () const |
Set the cluster charge. More... | |
virtual Int_t | GetChamberId () const |
Return chamber Id. More... | |
virtual Int_t | GetDetElemId () const |
Return detection element id. More... | |
virtual void | SetDigitsId (Int_t nDigits, const UInt_t *digitsId) |
Set Id of associated digits. More... | |
virtual void | AddDigitId (UInt_t id) |
Add a digit Id to the array of associated digits. More... | |
virtual Int_t | GetNDigits () const |
Return number of associated digits. More... | |
virtual UInt_t | GetDigitId (Int_t i) const |
Return Id of digits i. More... | |
virtual const UInt_t * | GetDigitsId () const |
Return the array of digits'id. More... | |
virtual void | SetChi2 (Double_t chi2) |
Set chi2 of cluster. More... | |
virtual Double_t | GetChi2 () const |
Return chi2 of cluster. More... | |
virtual void | SetMCLabel (Int_t label) |
Set the corresponding MC track number. More... | |
virtual Int_t | GetMCLabel () const |
Return the corresponding MC track number. More... | |
Bool_t | IsSortable () const |
Return true as the function Compare() is implemented. More... | |
Int_t | Compare (const TObject *obj) const |
![]() | |
AliMUONVCluster () | |
AliMUONVCluster (Int_t chamberId, Int_t detElemId, Int_t clusterIndex) | |
virtual | ~AliMUONVCluster () |
virtual void | Print (Option_t *option="") const |
Private Attributes | |
Double32_t | fX |
X of cluster. More... | |
Double32_t | fY |
Y of cluster. More... | |
Double32_t | fZ |
Z of cluster. More... | |
Double32_t | fErrX2 |
X coordinate error square. More... | |
Double32_t | fErrY2 |
Y coordinate error square. More... | |
Double32_t | fQ |
Q of cluster (in ADC counts) More... | |
Double32_t | fChi2 |
Chi2 of cluster. More... | |
Int_t | fNDigits |
UInt_t * | fDigitsId |
Indices of digits attached to the cluster. More... | |
Int_t | fMCLabel |
Point to the corresponding MC track. More... | |
Additional Inherited Members | |
![]() | |
static UInt_t | BuildUniqueID (Int_t chamberId, Int_t detElemId, Int_t clusterIndex) |
Build a single integer with id information. More... | |
static Int_t | GetChamberId (UInt_t uniqueID) |
Return chamber id (0..), part of the uniqueID. More... | |
static Int_t | GetDetElemId (UInt_t uniqueID) |
Return detection element id, part of the uniqueID. More... | |
static Int_t | GetClusterIndex (UInt_t uniqueID) |
The index of this cluster (0..), part of the uniqueID. More... | |
AliMUONRawClusterV2::AliMUONRawClusterV2 | ( | ) |
AliMUONRawClusterV2::AliMUONRawClusterV2 | ( | Int_t | chamberId, |
Int_t | detElemId, | ||
Int_t | clusterIndex | ||
) |
Constructor
Definition at line 57 of file AliMUONRawClusterV2.cxx.
|
virtual |
Destructor
Definition at line 74 of file AliMUONRawClusterV2.cxx.
AliMUONRawClusterV2::AliMUONRawClusterV2 | ( | const AliMUONRawClusterV2 & | cluster | ) |
Copy constructor
Definition at line 81 of file AliMUONRawClusterV2.cxx.
|
virtual |
Add a digit Id to the array of associated digits.
Reset size of array of digits Id and add the new id to its content
Implements AliMUONVCluster.
Definition at line 157 of file AliMUONRawClusterV2.cxx.
Referenced by GetDetElemId().
|
virtual |
Clear method (used by TClonesArray)
clear memory
Implements AliMUONVCluster.
Definition at line 129 of file AliMUONRawClusterV2.cxx.
|
inlinevirtual |
Create a copy of the current cluster.
Definition at line 31 of file AliMUONRawClusterV2.h.
Int_t AliMUONRawClusterV2::Compare | ( | const TObject * | obj | ) | const |
|
inlinevirtual |
Return chamber Id.
Implements AliMUONVCluster.
Definition at line 59 of file AliMUONRawClusterV2.h.
Referenced by AliMUONClusterStoreV2::Add().
|
inlinevirtual |
Set the cluster charge.
Implements AliMUONVCluster.
Definition at line 56 of file AliMUONRawClusterV2.h.
Referenced by Compare().
|
inlinevirtual |
Return chi2 of cluster.
Implements AliMUONVCluster.
Definition at line 76 of file AliMUONRawClusterV2.h.
|
inlinevirtual |
Return detection element id.
Implements AliMUONVCluster.
Definition at line 61 of file AliMUONRawClusterV2.h.
|
inlinevirtual |
Return Id of digits i.
Implements AliMUONVCluster.
Definition at line 69 of file AliMUONRawClusterV2.h.
|
inlinevirtual |
Return the array of digits'id.
Reimplemented from AliMUONVCluster.
Definition at line 71 of file AliMUONRawClusterV2.h.
|
inlinevirtual |
Return resolution (cm) on coordinate X.
Implements AliMUONVCluster.
Definition at line 45 of file AliMUONRawClusterV2.h.
|
inlinevirtual |
Return resolution**2 (cm**2) on coordinate X.
Implements AliMUONVCluster.
Definition at line 47 of file AliMUONRawClusterV2.h.
|
inlinevirtual |
Return resolution (cm) on coordinate Y.
Implements AliMUONVCluster.
Definition at line 49 of file AliMUONRawClusterV2.h.
|
inlinevirtual |
Return resolution**2 (cm**2) on coordinate Y.
Implements AliMUONVCluster.
Definition at line 51 of file AliMUONRawClusterV2.h.
|
inlinevirtual |
Return the corresponding MC track number.
Implements AliMUONVCluster.
Definition at line 81 of file AliMUONRawClusterV2.h.
|
inlinevirtual |
Return number of associated digits.
Implements AliMUONVCluster.
Definition at line 67 of file AliMUONRawClusterV2.h.
|
inlinevirtual |
Return coordinate X (cm)
Implements AliMUONVCluster.
Definition at line 36 of file AliMUONRawClusterV2.h.
|
inlinevirtual |
Return coordinate Y (cm)
Implements AliMUONVCluster.
Definition at line 38 of file AliMUONRawClusterV2.h.
|
inlinevirtual |
Return coordinate Z (cm)
Implements AliMUONVCluster.
Definition at line 40 of file AliMUONRawClusterV2.h.
|
inline |
Return true as the function Compare() is implemented.
Definition at line 84 of file AliMUONRawClusterV2.h.
AliMUONRawClusterV2 & AliMUONRawClusterV2::operator= | ( | const AliMUONRawClusterV2 & | cluster | ) |
Asignment operator
Definition at line 104 of file AliMUONRawClusterV2.cxx.
|
inlinevirtual |
Set the cluster charge.
Implements AliMUONVCluster.
Definition at line 54 of file AliMUONRawClusterV2.h.
|
inlinevirtual |
Set chi2 of cluster.
Implements AliMUONVCluster.
Definition at line 74 of file AliMUONRawClusterV2.h.
|
virtual |
Set Id of associated digits.
Set size of array of digits Id to n ints and set the content if digitsId is not given the array is filled with id=0
Implements AliMUONVCluster.
Definition at line 138 of file AliMUONRawClusterV2.cxx.
Referenced by GetDetElemId(), and operator=().
|
inlinevirtual |
Set resolution (cm) on coordinates (X,Y)
Implements AliMUONVCluster.
Definition at line 43 of file AliMUONRawClusterV2.h.
|
inlinevirtual |
Set the corresponding MC track number.
Implements AliMUONVCluster.
Definition at line 79 of file AliMUONRawClusterV2.h.
|
inlinevirtual |
Set coordinates (cm)
Implements AliMUONVCluster.
Definition at line 34 of file AliMUONRawClusterV2.h.
|
private |
Chi2 of cluster.
Definition at line 99 of file AliMUONRawClusterV2.h.
Referenced by GetChi2(), operator=(), and SetChi2().
|
private |
Indices of digits attached to the cluster.
Definition at line 103 of file AliMUONRawClusterV2.h.
Referenced by AddDigitId(), AliMUONRawClusterV2(), Clear(), GetDigitId(), GetDigitsId(), operator=(), SetDigitsId(), and ~AliMUONRawClusterV2().
|
private |
X coordinate error square.
Definition at line 94 of file AliMUONRawClusterV2.h.
Referenced by GetErrX(), GetErrX2(), operator=(), and SetErrXY().
|
private |
Y coordinate error square.
Definition at line 95 of file AliMUONRawClusterV2.h.
Referenced by GetErrY(), GetErrY2(), operator=(), and SetErrXY().
|
private |
Point to the corresponding MC track.
Definition at line 105 of file AliMUONRawClusterV2.h.
Referenced by GetMCLabel(), operator=(), and SetMCLabel().
|
private |
Number of digits attached to the cluster
Definition at line 101 of file AliMUONRawClusterV2.h.
Referenced by AddDigitId(), AliMUONRawClusterV2(), Clear(), GetDigitId(), GetNDigits(), operator=(), and SetDigitsId().
|
private |
Q of cluster (in ADC counts)
Definition at line 97 of file AliMUONRawClusterV2.h.
Referenced by GetCharge(), operator=(), and SetCharge().
|
private |
X of cluster.
Definition at line 90 of file AliMUONRawClusterV2.h.
Referenced by GetX(), operator=(), and SetXYZ().
|
private |
Y of cluster.
Definition at line 91 of file AliMUONRawClusterV2.h.
Referenced by GetY(), operator=(), and SetXYZ().
|
private |
Z of cluster.
Definition at line 92 of file AliMUONRawClusterV2.h.
Referenced by GetZ(), operator=(), and SetXYZ().