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
5
#include "
cheprep/DefaultHepRepAction.h
"
6
7
using namespace
std;
8
using namespace
HEPREP
;
9
10
/**
11
* @author Mark Donszelmann
12
*/
13
namespace
cheprep
{
14
15
DefaultHepRepAction::DefaultHepRepAction
(
string
aName,
string
anExpression)
16
: name(aName), expression(anExpression) {
17
}
18
19
DefaultHepRepAction::~DefaultHepRepAction
() {
20
}
21
22
string
DefaultHepRepAction::getName
() {
23
return
name;
24
}
25
26
string
DefaultHepRepAction::getExpression
() {
27
return
expression;
28
}
29
30
HepRepAction
*
DefaultHepRepAction::copy
() {
31
return
new
DefaultHepRepAction
(name, expression);
32
}
33
34
}
// cheprep
35
DefaultHepRepAction.h
HEPREP::HepRepAction
Definition:
HepRepAction.h:21
cheprep::DefaultHepRepAction
Definition:
DefaultHepRepAction.h:16
cheprep::DefaultHepRepAction::DefaultHepRepAction
DefaultHepRepAction(std::string name, std::string expression)
Definition:
DefaultHepRepAction.cc:15
cheprep::DefaultHepRepAction::copy
HEPREP::HepRepAction * copy()
Definition:
DefaultHepRepAction.cc:30
cheprep::DefaultHepRepAction::getName
std::string getName()
Definition:
DefaultHepRepAction.cc:22
cheprep::DefaultHepRepAction::~DefaultHepRepAction
~DefaultHepRepAction()
Definition:
DefaultHepRepAction.cc:19
cheprep::DefaultHepRepAction::getExpression
std::string getExpression()
Definition:
DefaultHepRepAction.cc:26
HEPREP
Definition:
HasHepRep.h:12
cheprep
Definition:
AbstractXMLWriter.h:12
geant4-v10.7.0
source
visualization
HepRep
src
DefaultHepRepAction.cc
Generated by
1.9.6