virtual ~AliMUONRefitter();
/// connect to the ESD interface containing MUON data to refit
- void Connect(AliMUONESDInterface* esdInterface) {fESDInterface = esdInterface;}
+ void Connect(const AliMUONESDInterface* esdInterface) {fkESDInterface = esdInterface;}
// re-reconstruct all tracks (clusters) in the ESD event
AliMUONVTrackStore* ReconstructFromDigits();
AliMUONVClusterStore* ReClusterize(UInt_t trackId, UInt_t clusterId);
AliMUONVClusterStore* ReClusterize(UInt_t clusterId);
+ // set the first index of clusters produced by this refitter (to build its uniqueID)
+ void SetFirstClusterIndex(Int_t index) {nextClusterIndex = (index >= 0) ? index : 0;}
protected:
AliMUONTrack* RetrackFromDigits(const AliMUONTrack& track);
- void AddClusterToTracks(const AliMUONVClusterStore &localClusterStore, AliMUONVTrackStore &trackStore);
-
- const AliMUONRecoParam* GetRecoParam() const { return fRecoParam; }
+ Bool_t AddClusterToTracks(const AliMUONVClusterStore &localClusterStore, AliMUONVTrackStore &trackStore);
private:
- const AliMUONRecoParam* fRecoParam; ///< pointer to reco param (not owner)
+ const AliMUONRecoParam* fkRecoParam; ///< pointer to reco param (not owner)
+ const AliMUONESDInterface* fkESDInterface; ///< container of MUON tracks/clusters/digits (not owner)
AliMUONGeometryTransformer* fGeometryTransformer; ///< geometry transformer (owner)
AliMUONVClusterServer* fClusterServer; ///< clusterizer (owner)
AliMUONVTrackReconstructor* fTracker; ///< tracker (owner)
- AliMUONESDInterface* fESDInterface; ///< container of MUON tracks/clusters/digits (not owner)
+ Int_t nextClusterIndex; ///< Index of the next cluster produced by this refitter (to build its uniqueID)
ClassDef(AliMUONRefitter,0)
};