Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
HaiwangYu committed Nov 27, 2017
1 parent c1d00f3 commit 900341b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions fun4all/macros/Fun4ReadMySql.C
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

void Fun4ReadMySql(
const int nevent = 2,
const char *outfile = "dst.root"
const char *outdst = "dst.root"
) {

int verbosity = 0;
Expand All @@ -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);


Expand Down
8 changes: 4 additions & 4 deletions fun4all/macros/Fun4TestAnalyzer.C
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit 900341b

Please sign in to comment.