![]() |
AliRoot Core
da88d91 (da88d91)
|
A basic pre-cluster finder. More...
#include <AliMUONPreClusterFinder.h>
Public Member Functions | |
AliMUONPreClusterFinder () | |
virtual | ~AliMUONPreClusterFinder () |
virtual Bool_t | Prepare (Int_t detElemId, TObjArray *pads[2], const AliMpArea &area) |
virtual AliMUONCluster * | NextCluster () |
virtual Bool_t | UsePad (const AliMUONPad &pad) |
![]() | |
AliMUONVClusterFinder () | |
virtual | ~AliMUONVClusterFinder () |
virtual Bool_t | NeedSegmentation () const |
virtual Bool_t | Prepare (Int_t detElemId, TObjArray *pads[2], const AliMpArea &area, const AliMpVSegmentation *segmentations[2]) |
virtual void | SetChargeHints (Double_t, Double_t) |
Private Member Functions | |
AliMUONPreClusterFinder (const AliMUONPreClusterFinder &rhs) | |
Not implemented. More... | |
AliMUONPreClusterFinder & | operator= (const AliMUONPreClusterFinder &rhs) |
Not implemented. More... | |
void | AddPad (AliMUONCluster &cluster, AliMUONPad *pad) |
AliMUONPad * | GetNextPad (Int_t cathode) const |
virtual Bool_t | ShouldAbort () const |
Whether we should stop working... More... | |
AliMUONCluster * | NewCluster () |
void | RemoveCluster (AliMUONCluster *cluster) |
Private Attributes | |
TClonesArray | fClusters |
! the clusters we've found (owner) More... | |
TObjArray ** | fPads |
! the pads corresponding to the digits (not owner) More... | |
Int_t | fDetElemId |
! which DE we're considering More... | |
AliMpArea | fArea |
! area into which to consider pads to start a cluster More... | |
Bool_t | fShouldAbort |
! to indicate clustering should stop right now More... | |
A basic pre-cluster finder.
Implementation of AliMUONVClusterFinder
This class simply find adjacent pads to form clusters
Definition at line 29 of file AliMUONPreClusterFinder.h.
AliMUONPreClusterFinder::AliMUONPreClusterFinder | ( | ) |
|
virtual |
dtor : note we're owner of the clusters, but not of the pads
Definition at line 62 of file AliMUONPreClusterFinder.cxx.
|
private |
Not implemented.
|
private |
Add a pad to a cluster
FIXME : we should at that point really find a better way to remove "bad" preclusters, like e.g. computing the charge dispersion (the lower, the most probably we have noise cluster) and/or mean charge per pad (if too close to LowestPadCharge, again that's a noise cluster... BUT this needs carefull testing !
Definition at line 105 of file AliMUONPreClusterFinder.cxx.
Referenced by NextCluster().
|
private |
Return the next unused pad of given cathode, which is within fArea
Definition at line 173 of file AliMUONPreClusterFinder.cxx.
Referenced by NextCluster().
|
private |
Create a new (empty) cluster
Definition at line 199 of file AliMUONPreClusterFinder.cxx.
Referenced by NextCluster().
|
virtual |
Builds the next cluster, and returns it.
Implements AliMUONVClusterFinder.
Definition at line 220 of file AliMUONPreClusterFinder.cxx.
|
private |
Not implemented.
|
virtual |
Prepare for clustering, by giving access to segmentations and digit lists
Reimplemented from AliMUONVClusterFinder.
Definition at line 86 of file AliMUONPreClusterFinder.cxx.
|
private |
Remove a cluster Note that we are not releasing the pads, so they won't be used further on
Definition at line 210 of file AliMUONPreClusterFinder.cxx.
Referenced by NextCluster().
|
inlineprivatevirtual |
Whether we should stop working...
Definition at line 56 of file AliMUONPreClusterFinder.h.
Referenced by NextCluster().
|
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 69 of file AliMUONPreClusterFinder.cxx.
|
private |
! area into which to consider pads to start a cluster
Definition at line 65 of file AliMUONPreClusterFinder.h.
Referenced by GetNextPad(), and Prepare().
|
private |
! the clusters we've found (owner)
Definition at line 62 of file AliMUONPreClusterFinder.h.
Referenced by NewCluster(), Prepare(), and RemoveCluster().
|
private |
! which DE we're considering
Definition at line 64 of file AliMUONPreClusterFinder.h.
Referenced by NextCluster(), Prepare(), and UsePad().
|
private |
! the pads corresponding to the digits (not owner)
Definition at line 63 of file AliMUONPreClusterFinder.h.
Referenced by AddPad(), GetNextPad(), NextCluster(), Prepare(), and UsePad().
|
private |
! to indicate clustering should stop right now
Definition at line 66 of file AliMUONPreClusterFinder.h.
Referenced by AddPad(), Prepare(), and ShouldAbort().