#include "AliGenEventHeader.h"
#include "AliESDpid.h"
#include "AliMagF.h"
-#include "../TPC/AliTPCReconstructor.h"
ClassImp(AliReconstruction)
reconstructor = (AliReconstructor*) pluginHandler->ExecPlugin(0);
}
// if there is no reconstructor class for the detector use the dummy one
- if (!reconstructor) {
+ if (!reconstructor && gAlice->GetDetector(detName)) {
Info("Run", "using dummy reconstructor for %s", detName.Data());
reconstructor = new AliDummyReconstructor(gAlice->GetDetector(detName));
}