From 900341bbd7c104f21edcc3081fedc7a36280ec9a Mon Sep 17 00:00:00 2001 From: HaiwangYu Date: Mon, 27 Nov 2017 12:01:41 -0500 Subject: [PATCH] update --- fun4all/macros/Fun4ReadMySql.C | 6 +++--- fun4all/macros/Fun4TestAnalyzer.C | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/fun4all/macros/Fun4ReadMySql.C b/fun4all/macros/Fun4ReadMySql.C index e355daf7..bace9b63 100755 --- a/fun4all/macros/Fun4ReadMySql.C +++ b/fun4all/macros/Fun4ReadMySql.C @@ -9,7 +9,7 @@ void Fun4ReadMySql( const int nevent = 2, - const char *outfile = "dst.root" + const char *outdst = "dst.root" ) { int verbosity = 0; @@ -26,10 +26,10 @@ void Fun4ReadMySql( se->registerSubsystem(reader); - Fun4AllInputManager *in = new Fun4AllDummyInputManager("JADE"); + Fun4AllInputManager *in = new Fun4AllDummyInputManager("DUMMY"); se->registerInputManager(in); - Fun4AllDstOutputManager *out = new Fun4AllDstOutputManager("DSTOUT", outfile); + Fun4AllDstOutputManager *out = new Fun4AllDstOutputManager("DSTOUT", outdst); se->registerOutputManager(out); diff --git a/fun4all/macros/Fun4TestAnalyzer.C b/fun4all/macros/Fun4TestAnalyzer.C index b0c6ae03..b046ad28 100755 --- a/fun4all/macros/Fun4TestAnalyzer.C +++ b/fun4all/macros/Fun4TestAnalyzer.C @@ -9,8 +9,8 @@ void Fun4TestAnalyzer( const int nevent = 2, - const char *infile = "dst.root", - const char *outfile = "eval.root" + const char *indst = "dst.root", + const char *outeval = "eval.root" ) { int verbosity = 0; @@ -23,11 +23,11 @@ void Fun4TestAnalyzer( TestAnalyzer *analyzer = new TestAnalyzer(); analyzer->Verbosity(verbosity); analyzer->set_hit_container_choice("Vector"); - analyzer->set_out_name(outfile); + analyzer->set_out_name(outeval); se->registerSubsystem(analyzer); Fun4AllInputManager *in = new Fun4AllDstInputManager("DSTIN"); - in->fileopen(infile); + in->fileopen(indst); se->registerInputManager(in); se->run(nevent);