Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Generators/include/Generators/AODToHepMC.h
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,8 @@ struct AODToHepMCPostRun {
{
}

void endOfStream() {
void endOfStream()
{
if (ptr != nullptr) {
ptr->postRun();
}
Expand Down
10 changes: 5 additions & 5 deletions run/o2aod_mc_to_hepmc.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,21 @@ struct AodToHepmc {
/** Option for dumping HepMC event structures to disk. Takes one
* argument - the name of the file to write to. */
o2::framework::Configurable<std::string> dump{"hepmc-dump", "",
"Dump HepMC event to output"};
"Dump HepMC event to output"};
/** Option for only storing particles from the event generator.
* Note, if a particle is stored down, then its mothers will also
* be stored. */
o2::framework::Configurable<bool> onlyGen{"hepmc-only-generated", false,
"Only export generated"};
"Only export generated"};
/** Use HepMC's tree parsing for building event structure */
o2::framework::Configurable<bool> useTree{"hepmc-use-tree", false,
"Export as tree"};
"Export as tree"};
/** Floating point precision used when writing to disk */
o2::framework::Configurable<int> precision{"hepmc-precision", 8,
"Export precision in dump"};
"Export precision in dump"};
/** Recenter event at IP=(0,0,0,0). */
o2::framework::Configurable<bool> recenter{"hepmc-recenter", false,
"Recenter the events at (0,0,0,0)"};
"Recenter the events at (0,0,0,0)"};
} configs;

/** Our converter */
Expand Down