Geant4
9.6.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
* @version $Id: DefaultHepRepAction.cc,v 1.8 2005-06-02 21:28:45 duns Exp $
13
*/
14
namespace
cheprep
{
15
16
DefaultHepRepAction::DefaultHepRepAction
(
string
aName,
string
anExpression)
17
: name(aName), expression(anExpression) {
18
}
19
20
DefaultHepRepAction::~DefaultHepRepAction
() {
21
}
22
23
string
DefaultHepRepAction::getName
() {
24
return
name;
25
}
26
27
string
DefaultHepRepAction::getExpression
() {
28
return
expression;
29
}
30
31
HepRepAction
*
DefaultHepRepAction::copy
() {
32
return
new
DefaultHepRepAction
(name, expression);
33
}
34
35
}
// cheprep
36
DefaultHepRepAction.h
HEPREP::HepRepAction
Definition:
HepRepAction.h:21
cheprep::DefaultHepRepAction
Definition:
DefaultHepRepAction.h:17
cheprep::DefaultHepRepAction::DefaultHepRepAction
DefaultHepRepAction(std::string name, std::string expression)
Definition:
DefaultHepRepAction.cc:16
cheprep::DefaultHepRepAction::copy
HEPREP::HepRepAction * copy()
Definition:
DefaultHepRepAction.cc:31
cheprep::DefaultHepRepAction::getName
std::string getName()
Definition:
DefaultHepRepAction.cc:23
cheprep::DefaultHepRepAction::~DefaultHepRepAction
~DefaultHepRepAction()
Definition:
DefaultHepRepAction.cc:20
cheprep::DefaultHepRepAction::getExpression
std::string getExpression()
Definition:
DefaultHepRepAction.cc:27
HEPREP
Definition:
HasHepRep.h:12
cheprep
Definition:
AbstractXMLWriter.h:13
geant4-v9.6.0
source
visualization
HepRep
src
DefaultHepRepAction.cc
Generated by
1.9.6