![]() |
AliRoot Core
ee782a0 (ee782a0)
|
MUON raw cluster. More...
#include <AliMUONRawCluster.h>
Public Member Functions | |
AliMUONRawCluster () | |
virtual | ~AliMUONRawCluster () |
virtual void | Clear (Option_t *="") |
Clear method (used by TClonesArray) More... | |
virtual AliMUONRawCluster * | 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... | |
void | SetDetElemId (Int_t id) |
Set detection element 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 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... | |
Float_t | GetRadius (Int_t i) const |
Return radius. More... | |
Bool_t | IsSortable () const |
Return true as the function Compare() is implemented. More... | |
Int_t | Compare (const TObject *obj) const |
Int_t | PhysicsContribution () const |
virtual void | Print (Option_t *opt="") const |
void | DumpIndex () |
Int_t | AddCharge (Int_t i, Float_t Q) |
Int_t | AddX (Int_t i, Float_t X) |
Int_t | AddY (Int_t i, Float_t Y) |
Int_t | AddZ (Int_t i, Float_t Z) |
Float_t | GetCharge (Int_t i) const |
Float_t | GetX (Int_t i) const |
Float_t | GetY (Int_t i) const |
Float_t | GetZ (Int_t i) const |
Int_t | GetTrack (Int_t i=0) const |
Float_t | GetPeakSignal (Int_t i=0) const |
Int_t | GetMultiplicity (Int_t i=0) const |
Int_t | GetClusterType () const |
Int_t | GetGhost () const |
Int_t | GetNcluster (Int_t i=0) const |
Float_t | GetChi2 (Int_t i) const |
Int_t | GetIndex (Int_t i, Int_t j) const |
Return Indices of digits. More... | |
Int_t | GetOffset (Int_t i, Int_t j) const |
Return Emmanuel special offset map. More... | |
Float_t | GetContrib (Int_t i, Int_t j) const |
Return Contribution from digit. More... | |
Int_t | GetPhysics (Int_t i) const |
Return Distinguish signal and background contr. More... | |
Int_t | SetCharge (Int_t i, Float_t Q) |
Int_t | SetX (Int_t i, Float_t X) |
Int_t | SetY (Int_t i, Float_t Y) |
Int_t | SetZ (Int_t i, Float_t Z) |
Int_t | SetTrack (Int_t i, Int_t track) |
Int_t | SetPeakSignal (Int_t i, Float_t peaksignal) |
Int_t | SetMultiplicity (Int_t i, Int_t mul) |
Int_t | SetClusterType (Int_t type) |
Int_t | SetGhost (Int_t ghost) |
Int_t | SetNcluster (Int_t i, Int_t ncluster) |
Int_t | SetChi2 (Int_t i, Float_t chi2) |
void | SetIndex (Int_t i, Int_t j, Int_t index) |
Set Indices of digits. More... | |
void | SetOffset (Int_t i, Int_t j, Int_t offset) |
Set Emmanuel special offset map. More... | |
void | SetContrib (Int_t i, Int_t j, Float_t contrib) |
Set Contribution from digit. More... | |
void | SetPhysics (Int_t i, Int_t physics) |
Set Distinguish signal and background contr. More... | |
![]() | |
AliMUONVCluster () | |
AliMUONVCluster (Int_t chamberId, Int_t detElemId, Int_t clusterIndex) | |
virtual | ~AliMUONVCluster () |
virtual const UInt_t * | GetDigitsId () const |
Return the array of digits'id. More... | |
Static Public Member Functions | |
static Int_t | BinarySearch (Float_t r, TArrayF ccord, Int_t from, Int_t upto) |
static void | SortMin (Int_t *idx, Float_t *xdarray, Float_t *xarray, Float_t *yarray, Float_t *qarray, Int_t ntr) |
![]() | |
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... | |
Private Attributes | |
Int_t | fIndexMap [50][2] |
Indices of digits. More... | |
Int_t | fOffsetMap [50][2] |
Emmanuel special. More... | |
Float_t | fContMap [50][2] |
Contribution from digit. More... | |
Int_t | fPhysicsMap [50] |
Distinguish signal and background contr. More... | |
Float_t | fQ [2] |
Q of cluster (in ADC counts) More... | |
Float_t | fX [2] |
X of cluster. More... | |
Float_t | fY [2] |
Y of cluster. More... | |
Float_t | fZ [2] |
Z of cluster. More... | |
Int_t | fTracks [3] |
Labels of overlapped tracks. More... | |
Float_t | fPeakSignal [2] |
Peak signal. More... | |
Int_t | fMultiplicity [2] |
Cluster multiplicity. More... | |
Int_t | fClusterType |
Cluster type. More... | |
Int_t | fGhost |
Ghost info. More... | |
Int_t | fNcluster [2] |
Number of clusters. More... | |
Float_t | fChi2 [2] |
Chi**2 of fit. More... | |
Int_t | fDetElemId |
ID number of the detection element (slat) on which the cluster is found. More... | |
Float_t | fErrXY [2] |
coordinate errors More... | |
MUON raw cluster.
Class for the MUON RecPoint It contains the properties of the physics cluters found in the tracking chambers RawCluster contains also the information from the both cathode of the chambers.
Definition at line 23 of file AliMUONRawCluster.h.
AliMUONRawCluster::AliMUONRawCluster | ( | ) |
|
virtual |
Destructor
Definition at line 73 of file AliMUONRawCluster.cxx.
Int_t AliMUONRawCluster::AddCharge | ( | Int_t | i, |
Float_t | Q | ||
) |
Adding Q to the fQ value
Definition at line 259 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
|
inlinevirtual |
Add a digit Id to the array of associated digits.
Implements AliMUONVCluster.
Definition at line 69 of file AliMUONRawCluster.h.
Int_t AliMUONRawCluster::AddX | ( | Int_t | i, |
Float_t | X | ||
) |
Adding X to the fX value
Definition at line 269 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
Int_t AliMUONRawCluster::AddY | ( | Int_t | i, |
Float_t | Y | ||
) |
Adding Y to the fY value
Definition at line 279 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
Int_t AliMUONRawCluster::AddZ | ( | Int_t | i, |
Float_t | Z | ||
) |
Adding Z to the fZ value
Definition at line 289 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
|
static |
Find object using a binary search. Array must first have been sorted. Search can be limited by setting upto to desired index.
Definition at line 128 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
|
inlinevirtual |
Clear method (used by TClonesArray)
Implements AliMUONVCluster.
Definition at line 30 of file AliMUONRawCluster.h.
|
inlinevirtual |
Create a copy of the current cluster.
Definition at line 33 of file AliMUONRawCluster.h.
Int_t AliMUONRawCluster::Compare | ( | const TObject * | obj | ) | const |
void AliMUONRawCluster::DumpIndex | ( | void | ) |
Dumping IdexMap of the cluster
Definition at line 246 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
|
inlinevirtual |
|
inlinevirtual |
Set the cluster charge.
Implements AliMUONVCluster.
Definition at line 58 of file AliMUONRawCluster.h.
Referenced by Compare(), IsSortable(), and Print().
Float_t AliMUONRawCluster::GetCharge | ( | Int_t | i | ) | const |
Getting the charge of the cluster
Definition at line 299 of file AliMUONRawCluster.cxx.
|
inlinevirtual |
Return chi2 of cluster.
Implements AliMUONVCluster.
Definition at line 79 of file AliMUONRawCluster.h.
Referenced by IsSortable(), and Print().
Float_t AliMUONRawCluster::GetChi2 | ( | Int_t | i | ) | const |
Getting chi2 value of the cluster
Definition at line 367 of file AliMUONRawCluster.cxx.
Int_t AliMUONRawCluster::GetClusterType | ( | ) | const |
Getting Cluster Type
Definition at line 348 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
|
inline |
Return Contribution from digit.
Definition at line 173 of file AliMUONRawCluster.h.
Referenced by IsSortable().
|
inlinevirtual |
Return detection element Id.
Implements AliMUONVCluster.
Definition at line 65 of file AliMUONRawCluster.h.
Referenced by AliMUONClusterStoreV1::Add(), and Print().
|
inlinevirtual |
Return Id of digits i.
Implements AliMUONVCluster.
Definition at line 74 of file AliMUONRawCluster.h.
|
inlinevirtual |
Return resolution (cm) on coordinate X.
Implements AliMUONVCluster.
Definition at line 47 of file AliMUONRawCluster.h.
|
inlinevirtual |
Return resolution**2 (cm**2) on coordinate X.
Implements AliMUONVCluster.
Definition at line 49 of file AliMUONRawCluster.h.
|
inlinevirtual |
Return resolution (cm) on coordinate Y.
Implements AliMUONVCluster.
Definition at line 51 of file AliMUONRawCluster.h.
|
inlinevirtual |
Return resolution**2 (cm**2) on coordinate Y.
Implements AliMUONVCluster.
Definition at line 53 of file AliMUONRawCluster.h.
Int_t AliMUONRawCluster::GetGhost | ( | ) | const |
|
inline |
Return Indices of digits.
Definition at line 165 of file AliMUONRawCluster.h.
Referenced by IsSortable().
|
inlinevirtual |
Return the corresponding MC track number.
Implements AliMUONVCluster.
Definition at line 84 of file AliMUONRawCluster.h.
Int_t AliMUONRawCluster::GetMultiplicity | ( | Int_t | i = 0 | ) | const |
Getting cluster multiplicity
Definition at line 341 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
Int_t AliMUONRawCluster::GetNcluster | ( | Int_t | i = 0 | ) | const |
Getting number of clusters
Definition at line 360 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
|
inlinevirtual |
Return number of associated digits.
Implements AliMUONVCluster.
Definition at line 72 of file AliMUONRawCluster.h.
|
inline |
Return Emmanuel special offset map.
Definition at line 169 of file AliMUONRawCluster.h.
Referenced by IsSortable().
Float_t AliMUONRawCluster::GetPeakSignal | ( | Int_t | i = 0 | ) | const |
Getting cluster peaksignal
Definition at line 334 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
|
inline |
Return Distinguish signal and background contr.
Definition at line 177 of file AliMUONRawCluster.h.
Referenced by IsSortable().
|
inline |
Return radius.
Definition at line 87 of file AliMUONRawCluster.h.
Int_t AliMUONRawCluster::GetTrack | ( | Int_t | i = 0 | ) | const |
Getting track i contributing to the cluster
Definition at line 327 of file AliMUONRawCluster.cxx.
Referenced by GetMCLabel(), IsSortable(), and Print().
|
inlinevirtual |
Return coordinate X (cm)
Implements AliMUONVCluster.
Definition at line 38 of file AliMUONRawCluster.h.
Referenced by IsSortable(), and Print().
Float_t AliMUONRawCluster::GetX | ( | Int_t | i | ) | const |
Getting X value of the cluster
Definition at line 306 of file AliMUONRawCluster.cxx.
|
inlinevirtual |
Return coordinate Y (cm)
Implements AliMUONVCluster.
Definition at line 40 of file AliMUONRawCluster.h.
Referenced by IsSortable(), and Print().
Float_t AliMUONRawCluster::GetY | ( | Int_t | i | ) | const |
Getting Y value of the cluster
Definition at line 313 of file AliMUONRawCluster.cxx.
|
inlinevirtual |
Return coordinate Z (cm)
Implements AliMUONVCluster.
Definition at line 42 of file AliMUONRawCluster.h.
Referenced by AliMFTTracker::Clusters2Tracks(), IsSortable(), and Print().
Float_t AliMUONRawCluster::GetZ | ( | Int_t | i | ) | const |
Getting Z value of the cluster
Definition at line 320 of file AliMUONRawCluster.cxx.
|
inline |
Return true as the function Compare() is implemented.
Definition at line 89 of file AliMUONRawCluster.h.
Int_t AliMUONRawCluster::PhysicsContribution | ( | ) | const |
Evaluate physics contribution to cluster
Definition at line 201 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
|
virtual |
Printing Raw Cluster (Rec Point) information "full" option for printing all the information about the raw cluster
Reimplemented from AliMUONVCluster.
Definition at line 222 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
|
inlinevirtual |
Set the cluster charge.
Implements AliMUONVCluster.
Definition at line 56 of file AliMUONRawCluster.h.
Referenced by IsSortable().
Int_t AliMUONRawCluster::SetCharge | ( | Int_t | i, |
Float_t | Q | ||
) |
Setting Charge of the cluster
Definition at line 374 of file AliMUONRawCluster.cxx.
|
inlinevirtual |
Set chi2 of cluster.
Implements AliMUONVCluster.
Definition at line 77 of file AliMUONRawCluster.h.
Referenced by IsSortable().
Int_t AliMUONRawCluster::SetChi2 | ( | Int_t | i, |
Float_t | chi2 | ||
) |
Setting chi2 of the cluster
Definition at line 468 of file AliMUONRawCluster.cxx.
Int_t AliMUONRawCluster::SetClusterType | ( | Int_t | type | ) |
Setting the cluster type
Definition at line 444 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
|
inline |
Set Contribution from digit.
Definition at line 189 of file AliMUONRawCluster.h.
Referenced by IsSortable().
|
inline |
Set detection element Id.
Definition at line 63 of file AliMUONRawCluster.h.
Referenced by AliMFTCluster::CreateMUONCluster().
|
virtual |
Set Id of associated digits.
Set the array of digit Id if digitsId is not given the array is filled with id=0
Implements AliMUONVCluster.
Definition at line 79 of file AliMUONRawCluster.cxx.
Referenced by GetDetElemId().
|
inlinevirtual |
Set resolution (cm) on coordinates (X,Y)
Implements AliMUONVCluster.
Definition at line 45 of file AliMUONRawCluster.h.
Referenced by AliMFTCluster::CreateMUONCluster().
Int_t AliMUONRawCluster::SetGhost | ( | Int_t | ghost | ) |
|
inline |
Set Indices of digits.
Definition at line 181 of file AliMUONRawCluster.h.
Referenced by IsSortable().
|
inlinevirtual |
Set the corresponding MC track number.
Implements AliMUONVCluster.
Definition at line 82 of file AliMUONRawCluster.h.
Int_t AliMUONRawCluster::SetMultiplicity | ( | Int_t | i, |
Int_t | mul | ||
) |
Setting multiplicity of the cluster
Definition at line 434 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
Int_t AliMUONRawCluster::SetNcluster | ( | Int_t | i, |
Int_t | ncluster | ||
) |
Setting number the cluster
Definition at line 458 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
|
inline |
Set Emmanuel special offset map.
Definition at line 185 of file AliMUONRawCluster.h.
Referenced by IsSortable().
Int_t AliMUONRawCluster::SetPeakSignal | ( | Int_t | i, |
Float_t | peaksignal | ||
) |
Setting PeakSignal of the cluster
Definition at line 424 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
|
inline |
Set Distinguish signal and background contr.
Definition at line 193 of file AliMUONRawCluster.h.
Referenced by IsSortable().
Int_t AliMUONRawCluster::SetTrack | ( | Int_t | i, |
Int_t | track | ||
) |
Setting tracks contributing to the cluster
Definition at line 414 of file AliMUONRawCluster.cxx.
Referenced by IsSortable(), and SetMCLabel().
Int_t AliMUONRawCluster::SetX | ( | Int_t | i, |
Float_t | X | ||
) |
Setting X value of the cluster
Definition at line 384 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
|
inlinevirtual |
Set coordinates (cm)
Implements AliMUONVCluster.
Definition at line 36 of file AliMUONRawCluster.h.
Referenced by AliMFTCluster::CreateMUONCluster().
Int_t AliMUONRawCluster::SetY | ( | Int_t | i, |
Float_t | Y | ||
) |
Setting Y value of the cluster
Definition at line 394 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
Int_t AliMUONRawCluster::SetZ | ( | Int_t | i, |
Float_t | Z | ||
) |
Setting Z value of the cluste
Definition at line 404 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
|
static |
Get the 3 closest points(cog) one can find on the second cathode starting from a given cog on first cathode
Definition at line 142 of file AliMUONRawCluster.cxx.
Referenced by IsSortable().
|
private |
Chi**2 of fit.
Definition at line 155 of file AliMUONRawCluster.h.
|
private |
Cluster type.
Definition at line 147 of file AliMUONRawCluster.h.
Referenced by GetClusterType(), and SetClusterType().
|
private |
Contribution from digit.
Definition at line 137 of file AliMUONRawCluster.h.
Referenced by GetContrib(), and SetContrib().
|
private |
ID number of the detection element (slat) on which the cluster is found.
Definition at line 156 of file AliMUONRawCluster.h.
Referenced by GetChamberId(), GetDetElemId(), and SetDetElemId().
|
private |
coordinate errors
Definition at line 157 of file AliMUONRawCluster.h.
Referenced by GetErrX(), GetErrX2(), GetErrY(), GetErrY2(), and SetErrXY().
|
private |
Ghost info.
Definition at line 148 of file AliMUONRawCluster.h.
Referenced by GetGhost(), and SetGhost().
|
private |
Indices of digits.
Definition at line 135 of file AliMUONRawCluster.h.
Referenced by AddDigitId(), DumpIndex(), GetDigitId(), GetIndex(), SetDigitsId(), and SetIndex().
|
private |
Cluster multiplicity.
Definition at line 146 of file AliMUONRawCluster.h.
Referenced by AddDigitId(), DumpIndex(), GetDigitId(), GetMultiplicity(), GetNDigits(), PhysicsContribution(), SetDigitsId(), and SetMultiplicity().
|
private |
Number of clusters.
Definition at line 154 of file AliMUONRawCluster.h.
Referenced by GetNcluster(), and SetNcluster().
|
private |
Emmanuel special.
Definition at line 136 of file AliMUONRawCluster.h.
Referenced by GetOffset(), and SetOffset().
|
private |
Peak signal.
Definition at line 145 of file AliMUONRawCluster.h.
Referenced by GetPeakSignal(), and SetPeakSignal().
|
private |
Distinguish signal and background contr.
Definition at line 138 of file AliMUONRawCluster.h.
Referenced by GetPhysics(), PhysicsContribution(), and SetPhysics().
|
private |
Q of cluster (in ADC counts)
Definition at line 140 of file AliMUONRawCluster.h.
Referenced by AddCharge(), GetCharge(), and SetCharge().
|
private |
Labels of overlapped tracks.
Definition at line 144 of file AliMUONRawCluster.h.
Referenced by GetTrack(), and SetTrack().
|
private |
X of cluster.
Definition at line 141 of file AliMUONRawCluster.h.
Referenced by AddX(), GetRadius(), GetX(), SetX(), and SetXYZ().
|
private |
Y of cluster.
Definition at line 142 of file AliMUONRawCluster.h.
Referenced by AddY(), GetRadius(), GetY(), SetXYZ(), and SetY().
|
private |