Skip to content

Commit

Permalink
Simpler solution: just copy the Custom.cfg file into the working dire…
Browse files Browse the repository at this point in the history
…ctory

- reconstruction was not wroking in the way used before, since a full directory could not be passed forward properly
  • Loading branch information
miweberSMI authored and fprino committed Mar 15, 2018
1 parent f8e7508 commit 4eb4237
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
7 changes: 0 additions & 7 deletions MC/Config.C
Original file line number Diff line number Diff line change
Expand Up @@ -214,13 +214,6 @@ ProcessEnvironment()
valid = kTRUE;
break;
}
if (!valid) {
TString triggerConfigString(gSystem->Getenv("CONFIG_TRIGGER"));
if(triggerConfigString.Contains("Custom.cfg")){
triggerConfig = kTriggerCustom;
valid = kTRUE;
}
}
if (!valid) {
printf(">>>>> Unknown trigger configuration: %s \n", gSystem->Getenv("CONFIG_TRIGGER"));
abort();
Expand Down
3 changes: 2 additions & 1 deletion MC/dpgsim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,8 @@ elif [[ $OVERRIDE_TRIGGER == "" ]]; then
if [ $checkTOF == 1 ]; then
#echo "TOF was triggering but not in data acquisition --> Using custom trigger from AliDPG"
echo "TOF was not in data acquisition --> Using custom trigger from AliDPG"
CONFIG_TRIGGER="$ALIDPG_ROOT/Utils/Custom.cfg"
cp $ALIDPG_ROOT/Utils/Custom.cfg .
CONFIG_TRIGGER="Custom.cfg"
fi
fi

Expand Down

0 comments on commit 4eb4237

Please sign in to comment.