bugfix: correcting the condition for the check for the local GRP entry added before...
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 12 Jun 2009 08:12:41 +0000 (08:12 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 12 Jun 2009 08:12:41 +0000 (08:12 +0000)
HLT/TPCLib/macros/sim-hlt-tpc.C

index c752c25..138c2b0 100644 (file)
@@ -223,7 +223,7 @@ sim_hlt_tpc(const char* options="CA")
   sim.SetRunQA(":");
 
   // the normal simulation sets the specific storage for the GRP entry
-  if (!gSystem->AccessPathName("GRP/GRP/Data")) {
+  if (gSystem->AccessPathName("GRP/GRP/Data")) {
     cerr << "*********************************************************" << endl;
     cerr << "error: no GRP entry found in the currect directory, simulation might be incomplete. Skip setting specific storage for GRP entry" << endl;
     cerr << "*********************************************************" << endl << endl;