#include "AliMpSegmentation.h"
#include "AliMpVSegmentation.h"
#include "AliMpDEManager.h"
+#include "AliMpCDB.h"
#include "AliMUONVDigitStore.h"
#include "AliRunLoader.h"
#include "AliStack.h"
#include "AliTrackReference.h"
#include "AliTracker.h"
-#include "AliESD.h"
+#include "AliESDEvent.h"
#include "AliESDMuonTrack.h"
#include "AliMagFMaps.h"
#include "AliLog.h"
Double_t fPxRec1, fPyRec1, fPzRec1, fE1;
Int_t fZ1;
- AliESD* fESD = new AliESD();
+ AliESDEvent* fESD = new AliESDEvent();
TTree* tree = (TTree*) esdFile->Get("esdTree");
if (!tree)
{
}//hits de tTR
- delete trackRefs;
-
}//entree de tTR
}//evt loop
AliMUONVDigitStore* digitStore = di.DigitStore(fFirstEvent);
+ if ( ! AliMpCDB::LoadMpSegmentation() )
+ AliFatal("Could not access mapping from OCDB !");
+
// Compute values
for (Int_t ichamber=0; ichamber<nchambers; ++ichamber)
{
100.*((Float_t) totaloccupancyBending)/((Float_t) totalchannelsBending),
100.*((Float_t) totaloccupancyNonBending)/((Float_t) totalchannelsNonBending) );
- delete digitStore;
}
//_____________________________________________________________________________