AliRoot Core  edcc906 (edcc906)
AliMUONPreClusterFinderV2 Class Reference

A basic pre-cluster finder. More...

#include <AliMUONPreClusterFinderV2.h>

Inheritance diagram for AliMUONPreClusterFinderV2:

Public Member Functions

 AliMUONPreClusterFinderV2 ()
 
virtual ~AliMUONPreClusterFinderV2 ()
 
Bool_t NeedSegmentation () const
 
virtual Bool_t Prepare (Int_t detElemId, TObjArray *pads[2], const AliMpArea &area, const AliMpVSegmentation *seg[2])
 
virtual AliMUONClusterNextCluster ()
 
virtual Bool_t UsePad (const AliMUONPad &pad)
 
- Public Member Functions inherited from AliMUONVClusterFinder
 AliMUONVClusterFinder ()
 
virtual ~AliMUONVClusterFinder ()
 
virtual Bool_t Prepare (Int_t detElemId, TObjArray *pads[2], const AliMpArea &area)
 
virtual void SetChargeHints (Double_t, Double_t)
 

Private Member Functions

 AliMUONPreClusterFinderV2 (const AliMUONPreClusterFinderV2 &rhs)
 Not implemented. More...
 
AliMUONPreClusterFinderV2operator= (const AliMUONPreClusterFinderV2 &rhs)
 Not implemented. More...
 
void AddPad (AliMUONCluster &cluster, AliMUONPad *pad)
 

Private Attributes

TClonesArray * fClusters
 ! the clusters we've found (owner) More...
 
const AliMpVSegmentation ** fkSegmentations
 ! segmentations (not owner) More...
 
TObjArray ** fPads
 ! the pads corresponding to the digits (not owner) More...
 
Int_t fDetElemId
 ! which DE we're considering More...
 

Detailed Description

A basic pre-cluster finder.

Implementation of AliMUONVClusterFinder

This one ressembles the preclustering stage in the original ClusterFinderAZ

Author
Laurent Aphecetche

Definition at line 23 of file AliMUONPreClusterFinderV2.h.

Constructor & Destructor Documentation

AliMUONPreClusterFinderV2::AliMUONPreClusterFinderV2 ( )

ctor

Definition at line 43 of file AliMUONPreClusterFinderV2.cxx.

Referenced by NeedSegmentation().

AliMUONPreClusterFinderV2::~AliMUONPreClusterFinderV2 ( )
virtual

dtor : note we're owner of the clusters, but not of the pads

Definition at line 54 of file AliMUONPreClusterFinderV2.cxx.

AliMUONPreClusterFinderV2::AliMUONPreClusterFinderV2 ( const AliMUONPreClusterFinderV2 rhs)
private

Not implemented.

Member Function Documentation

void AliMUONPreClusterFinderV2::AddPad ( AliMUONCluster cluster,
AliMUONPad pad 
)
private

Add a pad to a cluster

Definition at line 110 of file AliMUONPreClusterFinderV2.cxx.

Referenced by NeedSegmentation(), and NextCluster().

Bool_t AliMUONPreClusterFinderV2::NeedSegmentation ( ) const
inlinevirtual
Todo:
add comment

Reimplemented from AliMUONVClusterFinder.

Definition at line 29 of file AliMUONPreClusterFinderV2.h.

AliMUONCluster * AliMUONPreClusterFinderV2::NextCluster ( )
virtual
Todo:
add comment

Builds the next cluster, and returns it.

Implements AliMUONVClusterFinder.

Definition at line 172 of file AliMUONPreClusterFinderV2.cxx.

Referenced by NeedSegmentation().

AliMUONPreClusterFinderV2& AliMUONPreClusterFinderV2::operator= ( const AliMUONPreClusterFinderV2 rhs)
private

Not implemented.

Referenced by NeedSegmentation().

Bool_t AliMUONPreClusterFinderV2::Prepare ( Int_t  detElemId,
TObjArray pads[2],
const AliMpArea area,
const AliMpVSegmentation seg[2] 
)
virtual

Prepare for clustering, by giving access to segmentations and digit lists

Reimplemented from AliMUONVClusterFinder.

Definition at line 79 of file AliMUONPreClusterFinderV2.cxx.

Referenced by NeedSegmentation().

Bool_t AliMUONPreClusterFinderV2::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)

Add a pad to the list of pads to be considered

Not implemented

Reimplemented from AliMUONVClusterFinder.

Definition at line 62 of file AliMUONPreClusterFinderV2.cxx.

Referenced by NeedSegmentation().

Member Data Documentation

TClonesArray* AliMUONPreClusterFinderV2::fClusters
private

! the clusters we've found (owner)

Definition at line 51 of file AliMUONPreClusterFinderV2.h.

Referenced by NextCluster(), Prepare(), and ~AliMUONPreClusterFinderV2().

Int_t AliMUONPreClusterFinderV2::fDetElemId
private

! which DE we're considering

Definition at line 54 of file AliMUONPreClusterFinderV2.h.

Referenced by Prepare(), and UsePad().

const AliMpVSegmentation** AliMUONPreClusterFinderV2::fkSegmentations
private

! segmentations (not owner)

Definition at line 52 of file AliMUONPreClusterFinderV2.h.

Referenced by AddPad(), and Prepare().

TObjArray** AliMUONPreClusterFinderV2::fPads
private

! the pads corresponding to the digits (not owner)

Definition at line 53 of file AliMUONPreClusterFinderV2.h.

Referenced by AddPad(), NextCluster(), Prepare(), and UsePad().


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