#include "AliTRDcalibDB.h"
#include "AliRun.h"
#include "AliTRDtrack.h"
-#include "Cal/AliTRDCalPIDLQ.h"
+#include "Cal/AliTRDCalPID.h"
ClassImp(AliTRDpidESD)
// The method produces probabilities based on the charge
// and the position of the maximum time bin in each layer.
// The dE/dx information can be used as global charge or 2 to 3
- // slices. Check AliTRDCalPIDLQ and AliTRDCalPIDLQRef for the actual
+ // slices. Check AliTRDCalPID and AliTRDCalPIDRefMaker for the actual
// implementation.
//
// Author
}
// Retrieve the CDB container class with the probability distributions
- const AliTRDCalPIDLQ *pd = calibration->GetPIDLQObject();
+ const AliTRDCalPID *pd = calibration->GetPIDObject(1);
if (!pd) {
AliErrorGeneral("AliTRDpidESD::MakePID()"
- ,"No access to AliTRDCalPIDLQ");
+ ,"No access to AliTRDCalPID");
return -1;
}
// Get the probabilities for the different particle species
for (Int_t iSpecies = 0; iSpecies < AliPID::kSPECIES; iSpecies++) {
- p[iSpecies] *= pd->GetProbability(iSpecies, mom, dedx, length);
+ p[iSpecies] *= pd->GetProbability(iSpecies, mom, dedx, length, iPlan);
//p[iSpecies] *= pd->GetProbabilityT(iSpecies, mom, timebin);
}
}