]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/Cal/AliTRDCalPIDNN.cxx
default to all tracks in standard cuts
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDCalPIDNN.cxx
index 2a59ce2d195c42bdcc78b7dab4434e18d32328f0..cb366b96870b186ba3120b1b04995aa379243650 100644 (file)
@@ -33,7 +33,6 @@
 
 #include "AliTRDgeometry.h"
 #include "AliTRDCalPIDNN.h"
-#include "AliTRDcalibDB.h"
 
 ClassImp(AliTRDCalPIDNN)
 
@@ -165,8 +164,7 @@ Double_t AliTRDCalPIDNN::GetProbability(Int_t spec, Float_t mom
   Double_t ddedx[AliTRDCalPID::kNSlicesNN];
 
   for (int inode=0; inode<AliTRDCalPID::kNSlicesNN; inode++) {
-    ddedx[inode] = (((Double_t) dedx[inode]/kMLPscale)*3)          // Bug fix! Needs new reference data or different calculation of dedx!!!!
-                 / (AliTRDcalibDB::Instance()->GetNumberOfTimeBins()/AliTRDCalPID::kNSlicesNN);
+    ddedx[inode] = (Double_t) dedx[inode]/kMLPscale;
   }
 
   lNN1 = nn->Evaluate(spec, ddedx);
@@ -204,7 +202,7 @@ void AliTRDCalPIDNN::Init()
 }
 
 //_________________________________________________________________________
-Int_t AliTRDCalPIDNN::GetModelID(Int_t mom, Int_t /*ii*/, Int_t plane) const
+Int_t AliTRDCalPIDNN::GetModelID(Int_t mom, Int_t /*ii*/, Int_t plane)
 {
   
   // returns the ID of the NN distribution (66 MLPs, ID from 56 to 121)