Geant4
10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
DefaultHepRepTreeID.cc
Go to the documentation of this file.
1
// Copyright FreeHEP, 2005.
2
3
#include <iostream>
4
5
#include "
cheprep/DefaultHepRepTreeID.h
"
6
7
using namespace
std;
8
using namespace
HEPREP
;
9
10
/**
11
* @author Mark Donszelmann
12
*/
13
namespace
cheprep
{
14
15
DefaultHepRepTreeID::DefaultHepRepTreeID
(
string
aName,
string
aVersion,
string
aQualifier)
16
: name(aName), version(aVersion), qualifier(aQualifier) {
17
}
18
19
DefaultHepRepTreeID::~DefaultHepRepTreeID
() {
20
}
21
22
string
DefaultHepRepTreeID::getQualifier
() {
23
return
qualifier;
24
}
25
26
void
DefaultHepRepTreeID::setQualifier
(
string
qual) {
27
this->qualifier = qual;
28
}
29
30
string
DefaultHepRepTreeID::getName
() {
31
return
name;
32
}
33
34
string
DefaultHepRepTreeID::getVersion
() {
35
return
version;
36
}
37
38
}
// cheprep
DefaultHepRepTreeID.h
cheprep::DefaultHepRepTreeID::getName
std::string getName()
Definition:
DefaultHepRepTreeID.cc:30
cheprep::DefaultHepRepTreeID::getVersion
std::string getVersion()
Definition:
DefaultHepRepTreeID.cc:34
cheprep::DefaultHepRepTreeID::getQualifier
std::string getQualifier()
Definition:
DefaultHepRepTreeID.cc:22
cheprep::DefaultHepRepTreeID::setQualifier
void setQualifier(std::string qualifier)
Definition:
DefaultHepRepTreeID.cc:26
cheprep::DefaultHepRepTreeID::~DefaultHepRepTreeID
~DefaultHepRepTreeID()
Definition:
DefaultHepRepTreeID.cc:19
cheprep::DefaultHepRepTreeID::DefaultHepRepTreeID
DefaultHepRepTreeID(std::string name, std::string version, std::string qualifier="top_level")
Definition:
DefaultHepRepTreeID.cc:15
HEPREP
Definition:
HasHepRep.h:12
cheprep
Definition:
AbstractXMLWriter.h:12
geant4-v10.7.0
source
visualization
HepRep
src
DefaultHepRepTreeID.cc
Generated by
1.9.6