/// Retrieve high value of DE occupancy limit
Float_t DEOccupancyHighLimit() const { return fDEOccupancyLimits[1]; }
- /// Set the missing pad fraction limit
- void SetMissingPadFractionLimit(float v) { fMissingPadFractionLimit = v; }
- /// Get the missing pad fraction limit
- Float_t MissingPadFractionLimit() const { return fMissingPadFractionLimit; }
-
/// Set the fraction of buspatches outside the occupancy limits
void SetFractionOfBuspatchOutsideOccupancyLimit(float v) { fFractionOfBuspatchOutsideOccupancyLimit = v; }
/// Get the fraction of buspatches outside the occupancy limits
virtual void Print(Option_t *option = "") const;
- private:
+ /// 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; }
+
+ /// Whether or not we try to recover corrupted raw data
+ virtual Bool_t TryRecover() const { return fTryRecover; }
+
+ /// Set the try recover corrupted raw data (use kTRUE only if you know what you are doing. Should be left to kFALSE by default)
+ virtual void TryRecover(Bool_t flag) { fTryRecover = flag; }
+
+ /// Create object ready to be put in OCDB
+ static TObjArray* Create(const char* settings);
+
+ /// Show what is the OCDB for that run
+ static void Show(Int_t runNumber, const char* ocdbPath="raw://");
+
+private:
void SetDefaultLimits();
Double32_t fBuspatchOccupancyLimits[2]; ///< low and high thresholds for bus patch occupancy cut
Double32_t fDEOccupancyLimits[2]; ///< low and high thresholds for DE occupancy cut
- Double32_t fMissingPadFractionLimit; ///< above this fraction, we consider we have too few pads alive...
+ Double32_t fMissingPadFractionLimit; ///< DEPRECATED
Double32_t fFractionOfBuspatchOutsideOccupancyLimit; ///< above this limit, we consider we have too many buspatches out of the allowed occupancy range
Double32_t fAverageNoisePadCharge; ///< the (truncated, typically at 10%) mean of the sigma of the pedestals, in femto-coulomb
Double32_t fClusterChargeCut; ///< the cluster is cut if its charge is below fClusterChargeCut*LowestPadCharge()
+ Double32_t fEventSizeSoftLimit; ///< (soft) limit on mean event size per event (KB)
+ Double32_t fEventSizeHardLimit; ///< (hard) limit on mean event size per event (KB)
+
+ Double32_t fTokenLostLimit; ///< limit on the fraction of token lost error per event we allow
+
+ Bool_t fTryRecover; ///< try to recover corrupted raw data
+
// functions
void SetLowFluxParam();
void SetHighFluxParam();
void SetCosmicParam();
void SetCalibrationParam();
- ClassDef(AliMUONRecoParam,166) // MUON reco parameters
+ ClassDef(AliMUONRecoParam,168) // MUON reco parameters
+ // we're at 167 not because we had that many versions, but because at some point (version 15->16)
+ // 166 was committed by error, and we did not to go reverse afterwards...
};
#endif