AliRoot Core  3abf5b4 (3abf5b4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONVCluster Class Referenceabstract

abstract base class for clusters More...

#include <AliMUONVCluster.h>

Inheritance diagram for AliMUONVCluster:

Public Member Functions

 AliMUONVCluster ()
 
 AliMUONVCluster (Int_t chamberId, Int_t detElemId, Int_t clusterIndex)
 
virtual ~AliMUONVCluster ()
 
virtual void Clear (Option_t *)=0
 Clear method (used by TClonesArray) More...
 
virtual void SetXYZ (Double_t x, Double_t y, Double_t z)=0
 Set coordinates (cm) More...
 
virtual Double_t GetX () const =0
 Return coordinate X (cm) More...
 
virtual Double_t GetY () const =0
 Return coordinate Y (cm) More...
 
virtual Double_t GetZ () const =0
 Return coordinate Z (cm) More...
 
virtual void SetErrXY (Double_t errX, Double_t errY)=0
 Set resolution (cm) on coordinates (X,Y) More...
 
virtual Double_t GetErrX () const =0
 Return resolution (cm) on coordinate X. More...
 
virtual Double_t GetErrX2 () const =0
 Return resolution**2 (cm**2) on coordinate X. More...
 
virtual Double_t GetErrY () const =0
 Return resolution (cm) on coordinate Y. More...
 
virtual Double_t GetErrY2 () const =0
 Return resolution**2 (cm**2) on coordinate Y. More...
 
virtual void SetCharge (Double_t charge)=0
 Set the cluster charge. More...
 
virtual Double_t GetCharge () const =0
 Set the cluster charge. More...
 
virtual Int_t GetChamberId () const =0
 Return chamber Id. More...
 
virtual Int_t GetDetElemId () const =0
 Return detection element Id. More...
 
virtual void SetDigitsId (Int_t nDigits, const UInt_t *digitsId)=0
 Set Id of associated digits. More...
 
virtual void AddDigitId (UInt_t id)=0
 Add a digit Id to the array of associated digits. More...
 
virtual Int_t GetNDigits () const =0
 Return number of associated digits. More...
 
virtual UInt_t GetDigitId (Int_t i) const =0
 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)=0
 Set chi2 of cluster. More...
 
virtual Double_t GetChi2 () const =0
 Return chi2 of cluster. More...
 
virtual void SetMCLabel (Int_t label)=0
 Set the corresponding MC track number. More...
 
virtual Int_t GetMCLabel () const =0
 Return the corresponding MC track number. More...
 
virtual void Print (Option_t *option="") const
 

Static Public Member Functions

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

abstract base class for clusters

An abstract base class for clusters

Author
Philippe Pillot, Subatech

Definition at line 18 of file AliMUONVCluster.h.

Constructor & Destructor Documentation

AliMUONVCluster::AliMUONVCluster ( )

default constructor

Definition at line 39 of file AliMUONVCluster.cxx.

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

constructor

Definition at line 45 of file AliMUONVCluster.cxx.

AliMUONVCluster::~AliMUONVCluster ( )
virtual

destructor

Definition at line 53 of file AliMUONVCluster.cxx.

Member Function Documentation

virtual void AliMUONVCluster::AddDigitId ( UInt_t  id)
pure virtual

Add a digit Id to the array of associated digits.

Implemented in AliMUONRawCluster, and AliMUONRawClusterV2.

Referenced by AliMUONSimpleClusterServer::Clusterize().

static UInt_t AliMUONVCluster::BuildUniqueID ( Int_t  chamberId,
Int_t  detElemId,
Int_t  clusterIndex 
)
inlinestatic
virtual void AliMUONVCluster::Clear ( Option_t *  )
pure virtual

Clear method (used by TClonesArray)

Implemented in AliMUONRawCluster, and AliMUONRawClusterV2.

Referenced by AliMUONESDInterface::ESDToMUON().

static Int_t AliMUONVCluster::GetChamberId ( UInt_t  uniqueID)
inlinestatic

Return chamber id (0..), part of the uniqueID.

Definition at line 56 of file AliMUONVCluster.h.

Referenced by AliMUONTrack::AddTrackParamAtCluster(), AliMUONChamberCalibrationTask::BuildClusterMap(), buildClusterMap(), AliMUONVTrackReconstructor::ChangeMonoCathodClusterRes(), AliMUONTrack::ClustersInCommon(), AliMUONTrackReconstructorK::ComplementTracks(), AliMUONTrackReconstructor::ComplementTracks(), AliMUONTrack::ComputeMCSCovariances(), AliMUONTrack::FindCompatibleClusters(), AliMUONTrack::FindMCLabel(), AliMUONVTrackReconstructor::FollowLinearTrackInChamber(), AliMUONVTrackReconstructor::FollowLinearTrackInStation(), AliMUONTrackReconstructor::FollowTrackInChamber(), AliMUONTrackReconstructorK::FollowTrackInChamber(), AliMUONTrackReconstructor::FollowTrackInStation(), AliMUONTrackReconstructorK::FollowTrackInStation(), AliMUONTrackReconstructor::FollowTracks(), AliMUONTrackReconstructorK::ImproveTrack(), AliMUONVTrackReconstructor::IsAcceptable(), AliMUONTrack::IsValid(), AliMUONTrackerQADataMakerRec::MakeESDs(), MUONRecoCheck(), AliMUONESDInterface::MUONToESD(), AliMUONRefitter::ReClusterize(), AliMUONTrackReconstructor::RecoverTrack(), AliMUONTrackReconstructorK::RecoverTrack(), AliMUONTrackReconstructorK::RetracePartialTrack(), AliMUONTrackReconstructorK::RetraceTrack(), AliMUONRefitter::RetrackFromDigits(), AliMUONTrack::TagRemovableClusters(), TestRecPoints(), AliMUONTrack::UpdateCovTrackParamAtCluster(), AliMUONClusterStoreV2::UpdateMap(), AliMUONTrackReconstructor::UpdateTrack(), and AliMUONTrackReconstructorK::UpdateTrack().

virtual Int_t AliMUONVCluster::GetChamberId ( ) const
pure virtual
virtual Double_t AliMUONVCluster::GetChi2 ( ) const
pure virtual
static Int_t AliMUONVCluster::GetClusterIndex ( UInt_t  uniqueID)
inlinestatic

The index of this cluster (0..), part of the uniqueID.

Definition at line 60 of file AliMUONVCluster.h.

Referenced by Print().

virtual Int_t AliMUONVCluster::GetDetElemId ( ) const
pure virtual

Return detection element Id.

Implemented in AliMUONRawCluster, and AliMUONRawClusterV2.

Referenced by AliMUONRawClusterV2::GetDetElemId(), and Print().

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

Return the array of digits'id.

Reimplemented in AliMUONRawClusterV2.

Definition at line 75 of file AliMUONVCluster.h.

Referenced by AliMUONESDInterface::MUONToESD().

virtual Double_t AliMUONVCluster::GetErrX ( ) const
pure virtual
virtual Double_t AliMUONVCluster::GetErrY ( ) const
pure virtual
virtual Int_t AliMUONVCluster::GetMCLabel ( ) const
pure virtual
virtual void AliMUONVCluster::SetCharge ( Double_t  charge)
pure virtual
virtual void AliMUONVCluster::SetChi2 ( Double_t  chi2)
pure virtual
virtual void AliMUONVCluster::SetDigitsId ( Int_t  nDigits,
const UInt_t *  digitsId 
)
pure virtual

Set Id of associated digits.

Implemented in AliMUONRawCluster, and AliMUONRawClusterV2.

Referenced by AliMUONESDInterface::ESDToMUON().

virtual void AliMUONVCluster::SetMCLabel ( Int_t  label)
pure virtual

Set the corresponding MC track number.

Implemented in AliMUONRawCluster, and AliMUONRawClusterV2.

Referenced by AliMUONSimpleClusterServer::Clusterize(), and AliMUONESDInterface::ESDToMUON().

virtual void AliMUONVCluster::SetXYZ ( Double_t  x,
Double_t  y,
Double_t  z 
)
pure virtual

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