]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
In AliMUONReconstructor:
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 4 Dec 2008 12:10:58 +0000 (12:10 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 4 Dec 2008 12:10:58 +0000 (12:10 +0000)
- Adding deleting of mapping in dtor
- Adding debug messages in ctor, dtor

MUON/AliMUONReconstructor.cxx

index 50b9566f57fe373a329a4fe13cad8778b3136597..64aec9646431bfe674e2de22d032d450caa29455 100644 (file)
 #include "AliMpArea.h"
 #include "AliMpCDB.h"
 #include "AliMpConstants.h"
+#include "AliMpDDLStore.h"
+#include "AliMpSegmentation.h"
 
 #include "AliRawReader.h"
 #include "AliCDBManager.h"
@@ -142,6 +144,8 @@ fClusterStore(0x0)
 {
   /// normal ctor
 
+  AliDebug(1,"");
+
   // Load mapping
   if ( ! AliMpCDB::LoadDDLStore() ) {
     AliFatal("Could not access mapping from OCDB !");
@@ -155,6 +159,8 @@ fClusterStore(0x0)
 //_____________________________________________________________________________
 AliMUONReconstructor::~AliMUONReconstructor()
 {
+  AliDebug(1,"");
+
   /// dtor
   delete fDigitMaker;
   delete fDigitStore;
@@ -166,6 +172,9 @@ AliMUONReconstructor::~AliMUONReconstructor()
   delete fTriggerStore;
   delete fTrackStore;
   delete fClusterStore;
+
+  delete AliMpSegmentation::Instance(false);
+  delete AliMpDDLStore::Instance(false);
 }
 
 //_____________________________________________________________________________