]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/AliHLTHOMERManager.cxx
Add printout of S/B in the mass plot (ChiaraB)
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTHOMERManager.cxx
index 31096151c6a30bd6ab051361d4d9134f25691187..18ad84efe8da307767e2da17db6ab2092ddeb114 100644 (file)
@@ -257,7 +257,7 @@ void AliHLTHOMERManager::SetSourceState( AliHLTHOMERSourceDesc * source, Bool_t
 Int_t AliHLTHOMERManager::ConnectHOMER( TString detector ){
   // see header file for class documentation
 
-  if (fReaderList == NULL)
+  if (fReaderList == NULL or fSourceList == NULL)
   {
     HLTError("Must first create a source list with a call to CreateSourcesList().");
     return -1;