]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDcalibDB.cxx
One header file for PYQUEN only.
[u/mrichter/AliRoot.git] / TRD / AliTRDcalibDB.cxx
index f739204591463ddb6c94cb1845f383b6c3da8450..6d047c89d624f68ffb7186f03e775849c1d9f9e5 100644 (file)
@@ -805,12 +805,15 @@ const AliTRDCalPID *AliTRDcalibDB::GetPIDObject(const Int_t method)
   //
   // Returns the object storing the distributions for PID with likelihood
   //
-       switch(method){
-       case 0: return dynamic_cast<const AliTRDCalPID *> 
-                 (GetCachedCDBObject(kIDPIDNN));
-       case 1: return dynamic_cast<const AliTRDCalPID *>
-                 (GetCachedCDBObject(kIDPIDLQ));
-       }
+
+  switch(method) {
+    case 0: return dynamic_cast<const AliTRDCalPID *> 
+                              (GetCachedCDBObject(kIDPIDNN));
+    case 1: return dynamic_cast<const AliTRDCalPID *>
+                              (GetCachedCDBObject(kIDPIDLQ));
+  }
+
+  return 0;
 
 }