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

Interface of a cluster finder. More...

#include <AliMUONVClusterFinder.h>

Inheritance diagram for AliMUONVClusterFinder:

Public Member Functions

 AliMUONVClusterFinder ()
 
virtual ~AliMUONVClusterFinder ()
 
virtual Bool_t NeedSegmentation () const
 
virtual Bool_t Prepare (Int_t detElemId, TObjArray *pads[2], const AliMpArea &area)
 
virtual Bool_t Prepare (Int_t detElemId, TObjArray *pads[2], const AliMpArea &area, const AliMpVSegmentation *segmentations[2])
 
virtual AliMUONClusterNextCluster ()=0
 
virtual Bool_t UsePad (const AliMUONPad &pad)
 
virtual void SetChargeHints (Double_t, Double_t)
 

Detailed Description

Interface of a cluster finder.

Defines an interface for a cluster finder.

A cluster finder is supposed to work on a single detection element at a time, thus the Prepare function (which sets up the cluster finder for a particular DE)

Author
Laurent Aphecetche

Definition at line 25 of file AliMUONVClusterFinder.h.

Constructor & Destructor Documentation

AliMUONVClusterFinder::AliMUONVClusterFinder ( )

Default constructor

Definition at line 38 of file AliMUONVClusterFinder.cxx.

AliMUONVClusterFinder::~AliMUONVClusterFinder ( )
virtual

Destructor

Definition at line 44 of file AliMUONVClusterFinder.cxx.

Member Function Documentation

Bool_t AliMUONVClusterFinder::Prepare ( Int_t  detElemId,
TObjArray pads[2],
const AliMpArea area,
const AliMpVSegmentation segmentations[2] 
)
virtual
virtual void AliMUONVClusterFinder::SetChargeHints ( Double_t  ,
Double_t   
)
inlinevirtual

Specify a couple of charge hints. We call them hints because some clustering need them and use them directly, other cook them before using them, and some others yet simply don't care about them.

Reimplemented in AliMUONClusterFinderMLEM, and AliMUONClusterFinderSimpleFit.

Definition at line 60 of file AliMUONVClusterFinder.h.

Referenced by AliMUONSimpleClusterServer::Clusterize().

Bool_t AliMUONVClusterFinder::UsePad ( const AliMUONPad pad)
virtual

Add a pad to the list of pads to be considered for clustering. Typical usage is to "put-back-in-business" a pad that was part of a previous cluster (returned by NextCluster) but was externally identified of not being part of that cluster, so it must be reuseable. Might not be implemented by all cluster finders... (in which case it must returns kFALSE)

Not implemented

Reimplemented in AliMUONPreClusterFinder, AliMUONPreClusterFinderV2, and AliMUONPreClusterFinderV3.

Definition at line 76 of file AliMUONVClusterFinder.cxx.

Referenced by AliMUONClusterFinderPeakCOG::NextCluster(), AliMUONClusterFinderPeakFit::NextCluster(), and AliMUONClusterFinderMLEM::NextCluster().


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