]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONVDigitStore.cxx
Mods for CMake
[u/mrichter/AliRoot.git] / MUON / AliMUONVDigitStore.cxx
index 412060d203e20f9ac116ce7da275e1bb0a291f17..72f0f9f62ea5b56b04181b1d140652d64db13a22 100644 (file)
@@ -100,7 +100,7 @@ AliMUONVDigitStore::Create(const char* digitstoreclassname)
   /// Create a concrete digitStore, given its classname
   
   TClass* classPtr = TClass::GetClass(digitstoreclassname);
-  if (!classPtr)
+  if (!classPtr || !classPtr->InheritsFrom("AliMUONVDigitStore"))
   {
     return 0x0;
   }