Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
DefaultHepRepAction.cc
Go to the documentation of this file.
1// Copyright FreeHEP, 2005.
2
3#include <iostream>
4
6
7using namespace std;
8using namespace HEPREP;
9
10/**
11 * @author Mark Donszelmann
12 */
13namespace cheprep {
14
15DefaultHepRepAction::DefaultHepRepAction(string aName, string anExpression)
16 : name(aName), expression(anExpression) {
17}
18
20}
21
23 return name;
24}
25
27 return expression;
28}
29
31 return new DefaultHepRepAction(name, expression);
32}
33
34} // cheprep
35
DefaultHepRepAction(std::string name, std::string expression)
HEPREP::HepRepAction * copy()