X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONPreClusterFinder.h;h=06823bc465dab76a766c7cc82a8a424d6d79d185;hb=4f131d832cb5dfb51afea18088745dfc126b4d82;hp=7ca9b559e1ad0dc46b6fdcd738e4e6e084b6cd36;hpb=e22f734ae9fd285fdd5192d06b33dfe6e39e5164;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONPreClusterFinder.h b/MUON/AliMUONPreClusterFinder.h index 7ca9b559e1a..06823bc465d 100644 --- a/MUON/AliMUONPreClusterFinder.h +++ b/MUON/AliMUONPreClusterFinder.h @@ -18,6 +18,9 @@ #ifndef ALI_MP_AREA_H # include "AliMpArea.h" #endif +#ifndef ROOT_TClonesArray +# include +#endif class TStopwatch; class AliMUONPad; @@ -48,13 +51,17 @@ private: AliMUONPad* GetNextPad(Int_t cathode) const; + /// Whether we should stop working... + virtual Bool_t ShouldAbort() const { return fShouldAbort; } + private: - TClonesArray* fClusters; //!< the clusters we've found (owner) + TClonesArray fClusters; //!< the clusters we've found (owner) TClonesArray** fPads; //!< the pads corresponding to the digits (not owner) Int_t fDetElemId; //!< which DE we're considering AliMpArea fArea; //!< area into which to consider pads to *start* a cluster + Bool_t fShouldAbort; //!< to indicate clustering should stop right now - ClassDef(AliMUONPreClusterFinder,2) // A basic pre-cluster finder + ClassDef(AliMUONPreClusterFinder,4) // A basic pre-cluster finder }; #endif