]> jspc29.x-matter.uni-frankfurt.de Git - radhard.git/commitdiff
Run analyzer: If ROOT file not existent, force analysis of run
authorBenjamin Linnik <blinnik@jspc28.x-matter.uni-frankfurt.de>
Thu, 10 Sep 2015 15:47:21 +0000 (17:47 +0200)
committerBenjamin Linnik <blinnik@jspc28.x-matter.uni-frankfurt.de>
Thu, 10 Sep 2015 15:47:21 +0000 (17:47 +0200)
MABS_run_analyzer/Run.c

index 986a9bfdeec7e322b682987ce4e61c9fc7b1261e..d316bf9aa13dba001912fc4b3b2edc2514ae0173 100644 (file)
@@ -476,7 +476,7 @@ Bool_t Run::analyzeFrame(Int_t frame)
 
 Bool_t Run::runAllreadyAnalyzed()
 {
-    return checkFileExists(storepathRAWLinux + "/rootfilecreated");
+    return (checkFileExists(storepathRAWLinux + "/rootfilecreated") && checkFileExists(storepathOutLinux + Form("/RUN_%i_i.root",labbook.runnumber)));
 }
 
 Bool_t Run::checkFileExists(TString file)