Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 * @version $Id: DefaultHepRepAction.cc,v 1.8 2005-06-02 21:28:45 duns Exp $
13 */
14namespace cheprep {
15
16DefaultHepRepAction::DefaultHepRepAction(string aName, string anExpression)
17 : name(aName), expression(anExpression) {
18}
19
21}
22
24 return name;
25}
26
28 return expression;
29}
30
32 return new DefaultHepRepAction(name, expression);
33}
34
35} // cheprep
36
DefaultHepRepAction(std::string name, std::string expression)
HEPREP::HepRepAction * copy()