]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDReconstructor.cxx
Instead of deleting the AliTRDcalibDB singleton in the end of AliReconstruction,...
[u/mrichter/AliRoot.git] / TRD / AliTRDReconstructor.cxx
index ce3c1c3fe317a8bcbae60cf1f87d3198fc363f8c..1e93ab8490b5c398d3a649824e83ba9946f18670 100644 (file)
@@ -46,6 +46,7 @@
 #include "AliTRDtrackletWord.h"
 #include "AliTRDtrackletMCM.h"
 #include "AliTRDonlineTrackMatching.h"
+#include "AliTRDcalibDB.h"
 
 #define SETFLG(n,f) ((n) |= f)
 #define CLRFLG(n,f) ((n) &= ~f)
@@ -122,7 +123,9 @@ AliTRDReconstructor::~AliTRDReconstructor()
   //
   // Destructor
   //
-
+  AliTRDcalibDB* calib = AliTRDcalibDB::Instance();
+  if (calib) calib->Invalidate();
+  //
   if(fClusterizer){
     delete fClusterizer;
     fClusterizer = NULL;