MARLEY (Model of Argon Reaction Low Energy Yields) v2.0.0
A Monte Carlo event generator for tens-of-MeV neutrino interactions
Loading...
Searching...
No Matches
cmd_helpers.hh
1
4//
5// This file is part of MARLEY (Model of Argon Reaction Low Energy Yields)
6//
7// MARLEY is free software: you can redistribute it and/or modify it under the
8// terms of version 3 of the GNU General Public License as published by the
9// Free Software Foundation.
10//
11// For the full text of the license please see COPYING or
12// visit http://opensource.org/licenses/GPL-3.0
13//
14// Please respect the MCnet academic usage guidelines. See GUIDELINES
15// or visit https://www.montecarlonet.org/GUIDELINES for details.
16
17#pragma once
18
19#include <functional>
20#include <memory>
21#include <string>
22#include <vector>
23
24namespace HepMC3 {
25 class GenEvent;
26 class GenRunInfo;
27}
28
29void for_each_event(
30 const std::vector< std::string >& input_files,
31 std::function< void( HepMC3::GenEvent&, bool,
32 double, const std::shared_ptr< HepMC3::GenRunInfo >& ) > callback );
Stores event-related information.
Definition GenEvent.h:47
Stores run-related information.
Definition GenRunInfo.h:33