AliRoot Core  v5-06-15 (45dab64)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONRawClusterV2 Class Reference

MUON raw cluster. More...

#include <AliMUONRawClusterV2.h>

Inheritance diagram for AliMUONRawClusterV2:

Public Member Functions

 AliMUONRawClusterV2 ()
 
 AliMUONRawClusterV2 (Int_t chamberId, Int_t detElemId, Int_t clusterIndex)
 
virtual ~AliMUONRawClusterV2 ()
 
 AliMUONRawClusterV2 (const AliMUONRawClusterV2 &cluster)
 
AliMUONRawClusterV2operator= (const AliMUONRawClusterV2 &cluster)
 
virtual void Clear (Option_t *="")
 Clear method (used by TClonesArray) More...
 
virtual AliMUONRawClusterV2Clone (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
 
- Public Member Functions inherited from AliMUONVCluster
 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 Public Member Functions inherited from AliMUONVCluster
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...
 

Detailed Description

MUON raw cluster.

Class for the MUON RecPoint

Author
Philippe Pillot, Subatech

Definition at line 19 of file AliMUONRawClusterV2.h.

Constructor & Destructor Documentation

AliMUONRawClusterV2::AliMUONRawClusterV2 ( )

Default Constructor

Definition at line 40 of file AliMUONRawClusterV2.cxx.

Referenced by Clone().

AliMUONRawClusterV2::AliMUONRawClusterV2 ( Int_t  chamberId,
Int_t  detElemId,
Int_t  clusterIndex 
)

Constructor

Definition at line 57 of file AliMUONRawClusterV2.cxx.

AliMUONRawClusterV2::~AliMUONRawClusterV2 ( )
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.

Member Function Documentation

void AliMUONRawClusterV2::AddDigitId ( UInt_t  id)
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.

void AliMUONRawClusterV2::Clear ( Option_t *  = "")
virtual

Clear method (used by TClonesArray)

clear memory

Implements AliMUONVCluster.

Definition at line 129 of file AliMUONRawClusterV2.cxx.

virtual AliMUONRawClusterV2* AliMUONRawClusterV2::Clone ( const char *  = "") const
inlinevirtual

Create a copy of the current cluster.

Definition at line 31 of file AliMUONRawClusterV2.h.

Int_t AliMUONRawClusterV2::Compare ( const TObject *  obj) const

Compare

Definition at line 169 of file AliMUONRawClusterV2.cxx.

virtual Int_t AliMUONRawClusterV2::GetChamberId ( ) const
inlinevirtual

Return chamber Id.

Implements AliMUONVCluster.

Definition at line 59 of file AliMUONRawClusterV2.h.

Referenced by AliMUONClusterStoreV2::Add().

virtual Double_t AliMUONRawClusterV2::GetCharge ( ) const
inlinevirtual

Set the cluster charge.

Implements AliMUONVCluster.

Definition at line 56 of file AliMUONRawClusterV2.h.

Referenced by Compare().

virtual Double_t AliMUONRawClusterV2::GetChi2 ( ) const
inlinevirtual

Return chi2 of cluster.

Implements AliMUONVCluster.

Definition at line 76 of file AliMUONRawClusterV2.h.

virtual Int_t AliMUONRawClusterV2::GetDetElemId ( ) const
inlinevirtual

Return detection element id.

Implements AliMUONVCluster.

Definition at line 61 of file AliMUONRawClusterV2.h.

virtual UInt_t AliMUONRawClusterV2::GetDigitId ( Int_t  i) const
inlinevirtual

Return Id of digits i.

Implements AliMUONVCluster.

Definition at line 69 of file AliMUONRawClusterV2.h.

virtual const UInt_t* AliMUONRawClusterV2::GetDigitsId ( ) const
inlinevirtual

Return the array of digits'id.

Reimplemented from AliMUONVCluster.

Definition at line 71 of file AliMUONRawClusterV2.h.

virtual Double_t AliMUONRawClusterV2::GetErrX ( ) const
inlinevirtual

Return resolution (cm) on coordinate X.

Implements AliMUONVCluster.

Definition at line 45 of file AliMUONRawClusterV2.h.

virtual Double_t AliMUONRawClusterV2::GetErrX2 ( ) const
inlinevirtual

Return resolution**2 (cm**2) on coordinate X.

Implements AliMUONVCluster.

Definition at line 47 of file AliMUONRawClusterV2.h.

virtual Double_t AliMUONRawClusterV2::GetErrY ( ) const
inlinevirtual

Return resolution (cm) on coordinate Y.

Implements AliMUONVCluster.

Definition at line 49 of file AliMUONRawClusterV2.h.

virtual Double_t AliMUONRawClusterV2::GetErrY2 ( ) const
inlinevirtual

Return resolution**2 (cm**2) on coordinate Y.

Implements AliMUONVCluster.

Definition at line 51 of file AliMUONRawClusterV2.h.

virtual Int_t AliMUONRawClusterV2::GetMCLabel ( ) const
inlinevirtual

Return the corresponding MC track number.

Implements AliMUONVCluster.

Definition at line 81 of file AliMUONRawClusterV2.h.

virtual Int_t AliMUONRawClusterV2::GetNDigits ( ) const
inlinevirtual

Return number of associated digits.

Implements AliMUONVCluster.

Definition at line 67 of file AliMUONRawClusterV2.h.

virtual Double_t AliMUONRawClusterV2::GetX ( ) const
inlinevirtual

Return coordinate X (cm)

Implements AliMUONVCluster.

Definition at line 36 of file AliMUONRawClusterV2.h.

virtual Double_t AliMUONRawClusterV2::GetY ( ) const
inlinevirtual

Return coordinate Y (cm)

Implements AliMUONVCluster.

Definition at line 38 of file AliMUONRawClusterV2.h.

virtual Double_t AliMUONRawClusterV2::GetZ ( ) const
inlinevirtual

Return coordinate Z (cm)

Implements AliMUONVCluster.

Definition at line 40 of file AliMUONRawClusterV2.h.

Bool_t AliMUONRawClusterV2::IsSortable ( ) const
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.

virtual void AliMUONRawClusterV2::SetCharge ( Double_t  q)
inlinevirtual

Set the cluster charge.

Implements AliMUONVCluster.

Definition at line 54 of file AliMUONRawClusterV2.h.

virtual void AliMUONRawClusterV2::SetChi2 ( Double_t  chi2)
inlinevirtual

Set chi2 of cluster.

Implements AliMUONVCluster.

Definition at line 74 of file AliMUONRawClusterV2.h.

void AliMUONRawClusterV2::SetDigitsId ( Int_t  nDigits,
const UInt_t *  digitsId 
)
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 operator=().

virtual void AliMUONRawClusterV2::SetErrXY ( Double_t  errX,
Double_t  errY 
)
inlinevirtual

Set resolution (cm) on coordinates (X,Y)

Implements AliMUONVCluster.

Definition at line 43 of file AliMUONRawClusterV2.h.

virtual void AliMUONRawClusterV2::SetMCLabel ( Int_t  label)
inlinevirtual

Set the corresponding MC track number.

Implements AliMUONVCluster.

Definition at line 79 of file AliMUONRawClusterV2.h.

virtual void AliMUONRawClusterV2::SetXYZ ( Double_t  x,
Double_t  y,
Double_t  z 
)
inlinevirtual

Set coordinates (cm)

Implements AliMUONVCluster.

Definition at line 34 of file AliMUONRawClusterV2.h.

Member Data Documentation

Double32_t AliMUONRawClusterV2::fChi2
private

Chi2 of cluster.

Definition at line 99 of file AliMUONRawClusterV2.h.

Referenced by GetChi2(), operator=(), and SetChi2().

UInt_t* AliMUONRawClusterV2::fDigitsId
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().

Double32_t AliMUONRawClusterV2::fErrX2
private

X coordinate error square.

Definition at line 94 of file AliMUONRawClusterV2.h.

Referenced by GetErrX(), GetErrX2(), operator=(), and SetErrXY().

Double32_t AliMUONRawClusterV2::fErrY2
private

Y coordinate error square.

Definition at line 95 of file AliMUONRawClusterV2.h.

Referenced by GetErrY(), GetErrY2(), operator=(), and SetErrXY().

Int_t AliMUONRawClusterV2::fMCLabel
private

Point to the corresponding MC track.

Definition at line 105 of file AliMUONRawClusterV2.h.

Referenced by GetMCLabel(), operator=(), and SetMCLabel().

Int_t AliMUONRawClusterV2::fNDigits
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().

Double32_t AliMUONRawClusterV2::fQ
private

Q of cluster (in ADC counts)

Definition at line 97 of file AliMUONRawClusterV2.h.

Referenced by GetCharge(), operator=(), and SetCharge().

Double32_t AliMUONRawClusterV2::fX
private

X of cluster.

Definition at line 90 of file AliMUONRawClusterV2.h.

Referenced by GetX(), operator=(), and SetXYZ().

Double32_t AliMUONRawClusterV2::fY
private

Y of cluster.

Definition at line 91 of file AliMUONRawClusterV2.h.

Referenced by GetY(), operator=(), and SetXYZ().

Double32_t AliMUONRawClusterV2::fZ
private

Z of cluster.

Definition at line 92 of file AliMUONRawClusterV2.h.

Referenced by GetZ(), operator=(), and SetXYZ().


The documentation for this class was generated from the following files: