Geant4
10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
DefaultHepRepTypeTree.h
Go to the documentation of this file.
1
// Copyright FreeHEP, 2005.
2
#ifndef CHEPREP_DEFAULTHEPREPTYPETREE_H
3
#define CHEPREP_DEFAULTHEPREPTYPETREE_H 1
4
5
#include "
cheprep/config.h
"
6
7
#include <string>
8
#include <vector>
9
#include <set>
10
11
#include "
HEPREP/HepRep.h
"
12
#include "
HEPREP/HepRepTypeTree.h
"
13
#include "
HEPREP/HepRepType.h
"
14
#include "
HEPREP/HepRepWriter.h
"
15
#include "
HEPREP/HepRepTreeID.h
"
16
17
#include "
DefaultHepRepTreeID.h
"
18
19
/**
20
* @author Mark Donszelmann
21
*/
22
namespace
cheprep
{
23
24
class
DefaultHepRepTypeTree
:
public
DefaultHepRepTreeID
,
public
virtual
HEPREP::HepRepTypeTree
{
25
26
private
:
27
std::vector<HEPREP::HepRepType*> types;
28
29
public
:
30
DefaultHepRepTypeTree
(
HEPREP::HepRepTreeID
* typeTree);
31
~DefaultHepRepTypeTree
();
32
33
HEPREP::HepRepTypeTree
*
copy
();
34
void
addType
(
HEPREP::HepRepType
* type);
35
std::vector<HEPREP::HepRepType* >
getTypeList
();
36
HEPREP::HepRepType
*
getType
(std::string name);
37
};
38
39
}
// cheprep
40
41
42
#endif
DefaultHepRepTreeID.h
HepRepTreeID.h
HepRepTypeTree.h
HepRepType.h
HepRepWriter.h
HepRep.h
HEPREP::HepRepTreeID
Definition:
HepRepTreeID.h:21
HEPREP::HepRepTypeTree
Definition:
HepRepTypeTree.h:26
HEPREP::HepRepType
Definition:
HepRepType.h:24
cheprep::DefaultHepRepTreeID
Definition:
DefaultHepRepTreeID.h:16
cheprep::DefaultHepRepTypeTree
Definition:
DefaultHepRepTypeTree.h:24
cheprep::DefaultHepRepTypeTree::copy
HEPREP::HepRepTypeTree * copy()
Definition:
DefaultHepRepTypeTree.cc:26
cheprep::DefaultHepRepTypeTree::~DefaultHepRepTypeTree
~DefaultHepRepTypeTree()
Definition:
DefaultHepRepTypeTree.cc:20
cheprep::DefaultHepRepTypeTree::getTypeList
std::vector< HEPREP::HepRepType * > getTypeList()
Definition:
DefaultHepRepTypeTree.cc:36
cheprep::DefaultHepRepTypeTree::getType
HEPREP::HepRepType * getType(std::string name)
Definition:
DefaultHepRepTypeTree.cc:40
cheprep::DefaultHepRepTypeTree::addType
void addType(HEPREP::HepRepType *type)
Definition:
DefaultHepRepTypeTree.cc:31
config.h
cheprep
Definition:
AbstractXMLWriter.h:12
geant4-v10.7.0
source
visualization
HepRep
include
cheprep
DefaultHepRepTypeTree.h
Generated by
1.9.6