+
+ /// Set the default non bending resolution of chamber iCh
+ void SetDefaultNonBendingReso(Int_t iCh, Double_t val) {if (iCh >= 0 && iCh < 10) fDefaultNonBendingReso[iCh] = val;}
+ /// Get the default non bending resolution of chamber iCh
+ Double_t GetDefaultNonBendingReso(Int_t iCh) const {return (iCh >= 0 && iCh < 10) ? fDefaultNonBendingReso[iCh] : FLT_MAX;}
+ /// Set the default bending resolution of chamber iCh
+ void SetDefaultBendingReso(Int_t iCh, Double_t val) {if (iCh >= 0 && iCh < 10) fDefaultBendingReso[iCh] = val;}
+ /// Get the default bending resolution of chamber iCh
+ Double_t GetDefaultBendingReso(Int_t iCh) const {return (iCh >= 0 && iCh < 10) ? fDefaultBendingReso[iCh] : FLT_MAX;}
+
+ /// Set the maximum number of trigger tracks above which the tracking is cancelled
+ void SetMaxTriggerTracks(Int_t maxTriggerTracks) {fMaxTriggerTracks = maxTriggerTracks;}
+ /// Get the maximum number of trigger tracks above which the tracking is cancelled
+ Int_t GetMaxTriggerTracks() const {return fMaxTriggerTracks;}
+
+ /// Set the maximum number of track candidates above which the tracking abort
+ void SetMaxTrackCandidates(Int_t maxTrackCandidates) {fMaxTrackCandidates = maxTrackCandidates;}
+ /// Get the maximum number of track candidates above which the tracking abort
+ Int_t GetMaxTrackCandidates() const {return fMaxTrackCandidates;}
+
+ /// Set the limits for the acceptable manu occupancy
+ void SetManuOccupancyLimits(float low, float high) { fManuOccupancyLimits[0]=low; fManuOccupancyLimits[1]=high; }
+ /// Retrieve low value of manu occupancy limit
+ Float_t ManuOccupancyLowLimit() const { return fManuOccupancyLimits[0]; }
+ /// Retrieve high value of manu occupancy limit
+ Float_t ManuOccupancyHighLimit() const { return fManuOccupancyLimits[1]; }
+
+ /// Set the limits for the acceptable bp occupancy
+ void SetBuspatchOccupancyLimits(float low, float high) { fBuspatchOccupancyLimits[0]=low; fBuspatchOccupancyLimits[1]=high; }
+ /// Retrieve low value of bp occupancy limit
+ Float_t BuspatchOccupancyLowLimit() const { return fBuspatchOccupancyLimits[0]; }
+ /// Retrieve high value of bp occupancy limit
+ Float_t BuspatchOccupancyHighLimit() const { return fBuspatchOccupancyLimits[1]; }
+
+ /// Set the limits for the acceptable DE occupancy
+ void SetDEOccupancyLimits(float low, float high) { fDEOccupancyLimits[0]=low; fDEOccupancyLimits[1]=high; }
+ /// Retrieve low value of DE occupancy limit
+ Float_t DEOccupancyLowLimit() const { return fDEOccupancyLimits[0]; }
+ /// Retrieve high value of DE occupancy limit
+ Float_t DEOccupancyHighLimit() const { return fDEOccupancyLimits[1]; }
+
+ /// Set the fraction of buspatches outside the occupancy limits
+ void SetFractionOfBuspatchOutsideOccupancyLimit(float v) { fFractionOfBuspatchOutsideOccupancyLimit = v; }
+ /// Get the fraction of buspatches outside the occupancy limits
+ Float_t FractionOfBuspatchOutsideOccupancyLimit() const { return fFractionOfBuspatchOutsideOccupancyLimit; }
+
+ virtual void Print(Option_t *option = "") const;
+
+ /// Get the max event size (soft limit)
+ virtual Double_t EventSizeSoftLimit() const { return fEventSizeSoftLimit; }
+
+ /// Get the max event size (hard limit)
+ virtual Double_t EventSizeHardLimit() const { return fEventSizeHardLimit; }
+
+ /// Set the max event size limits
+ virtual void SetEventSizeLimits(Double_t soft, Double_t hard) { fEventSizeSoftLimit=soft; fEventSizeHardLimit=hard; }
+
+ /// Get the percentage of token lost error we allow
+ virtual Double_t TokenLostLimit() const { return fTokenLostLimit; }
+
+ /// Set the percentage of token lost error we allow
+ virtual void SetTokenLostLimit(Double_t limit) { fTokenLostLimit = limit; }