-protected:
- // for caching see also implentation of GetCachedCDBObject in the .cxx file
- enum { kCDBCacheSize = 17 }; // Number of cached objects
- enum { kIDVdriftPad = 0, kIDVdriftChamber,
- kIDT0Pad, kIDT0Chamber,
- kIDGainFactorPad, kIDGainFactorChamber,
- kIDPRFWidth,
- kIDGlobals,
- kIDChamberPos, kIDStackPos, kIDSuperModulePos,
- kIDPIDLQ, kIDMonitoringData,
- kIDSuperModuleStatus, kIDChamberStatus, kIDMCMStatus, kIDPadStatus }; // IDs of cached objects
-
- const TObject* GetCachedCDBObject(Int_t id);
+ Bool_t IsChamberInstalled(Int_t det);
+ Bool_t IsChamberMasked(Int_t det);
+
+ const AliTRDCalMonitoring *GetMonitoringObject();
+ const AliTRDCalPID *GetPIDObject(AliTRDpidUtil::ETRDPIDMethod m);
+
+ // Related functions, these depend on calibration data
+ Int_t PadResponse(Double_t signal, Double_t dist
+ , Int_t layer, Double_t *pad) const;
+
+ protected:
+
+ // For caching see also implentation of GetCachedCDBObject in the .cxx file
+ enum { kCDBCacheSize = 19 }; // Number of cached objects
+ enum { kIDVdriftPad = 0
+ , kIDVdriftChamber
+ , kIDT0Pad
+ , kIDT0Chamber
+ , kIDGainFactorPad
+ , kIDGainFactorChamber
+ , kIDNoiseChamber
+ , kIDNoisePad
+ , kIDPRFWidth
+ , kIDFEE
+ , kIDChamberPos
+ , kIDStackPos
+ , kIDSuperModulePos
+ , kIDPIDNN
+ , kIDPIDLQ
+ , kIDRecoParam
+ , kIDMonitoringData
+ , kIDChamberStatus
+ , kIDPadStatus }; // IDs of cached objects
+
+ const TObject *GetCachedCDBObject(Int_t id);