}
//_____________________________________________________________________________
-const AliTRDCalPID *AliTRDcalibDB::GetPIDObject(AliTRDrecoParam::AliTRDpidMethod method)
+const AliTRDCalPID *AliTRDcalibDB::GetPIDObject(AliTRDReconstructor::AliTRDpidMethod method)
{
//
// Returns the object storing the distributions for PID with likelihood
//
switch(method) {
- case AliTRDrecoParam::kLQPID:
+ case AliTRDReconstructor::kLQPID:
return dynamic_cast<const AliTRDCalPID *>(GetCachedCDBObject(kIDPIDLQ));
- case AliTRDrecoParam::kNNPID:
+ case AliTRDReconstructor::kNNPID:
return dynamic_cast<const AliTRDCalPID *>(GetCachedCDBObject(kIDPIDNN));
}
//_____________________________________________________________________________
Int_t AliTRDcalibDB::PadResponse(Double_t signal, Double_t dist
- , Int_t layer, Double_t *pad) const
+ , Int_t layer, Double_t *pad) const
{
//
// Applies the pad response
// something dependent on calibration values
//
- Int_t iBin = ((Int_t) ((dist - fPRFlo) / fPRFwid));
+ Int_t iBin = ((Int_t) ((-dist - fPRFlo) / fPRFwid));
Int_t iOff = layer * fPRFbin;
Int_t iBin0 = iBin - fPRFpad + iOff;