Geant4
10.01.p02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
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
name
G4String name
Definition:
TRTMaterials.hh:40
std
copy
void copy(std::vector< T > &main, const std::vector< T > &data)
Definition:
DicomRun.hh:91
cheprep
Definition:
BHepRepWriter.cc:14
HEPREP
G4INCL::ParticleTable::getName
std::string getName(const ParticleType t)
Get the native INCL name of the particle.
Definition:
G4INCLParticleTable.cc:411
geant4.10.01.p02
source
visualization
HepRep
src
DefaultHepRepAction.cc
Generated on Wed Dec 30 2015 22:47:47 for Geant4 by
1.8.8