static AliMUONGlobalCrateConfig* CreateGlobalTriggerCrateConfig(Int_t runNumber, Int_t* startOfValidity=0);
/// Create a hv map (which must be deleted) from OCDB for the given run
- static TMap* CreateHV(Int_t runNumber, Int_t* startOfValidity=0);
+ static TMap* CreateHV(Int_t runNumber, Int_t* startOfValidity=0, Bool_t patched=kTRUE, TList* messages=0x0);
/// Create a Trigger HV and current map (which must be deleted) from OCDB for the given run
static TMap* CreateTriggerDCS(Int_t runNumber, Int_t* startOfValidity=0);
/// Get the Gain calibration object for channels within (detElemId,manuId).
AliMUONVCalibParam* Gains(Int_t detElemId, Int_t manuId) const;
- /// Get the HV values
- TMap* HV() const;
+ /// Get the HV values. Use patched=kFALSE to get unprocessed (i.e. "raw") values as they are in the OCDB
+ TMap* HV(Bool_t patched=kTRUE) const;
/// Get the Trigger HV and current values
TMap* TriggerDCS() const;
static TObject* CreateObject(Int_t runNumber, const char* path, Int_t* startOfValidity=0x0);
static void Check(Int_t runNumber);
-
+
static void BypassStores(AliMUONVStore* ped, AliMUONVStore* gain);
protected:
AliMUONCalibrationData(const AliMUONCalibrationData& other);
/// Not implemented
AliMUONCalibrationData& operator=(const AliMUONCalibrationData& other);
+
+ static Bool_t PatchHVValues(TObjArray& values, TString* msg=0x0);
+
+ static Bool_t CheckHVGroup(TObjArray& values, Int_t first, Int_t last, Double_t& value,
+ Int_t& slope, TString* msg);
private:
mutable Bool_t fIsValid; ///< Whether we were able to correctly initialize
mutable AliMUONRejectList* fRejectList; //!< reject list
- static AliMUONVStore* fBypassPedestals;
- static AliMUONVStore* fBypassGains;
+ static AliMUONVStore* fgBypassPedestals;
+ static AliMUONVStore* fgBypassGains;
mutable AliMUONVStore* fConfig; //!< configuration of the tracker