ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
DefaultHepRepInstance.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file DefaultHepRepInstance.h
1
// Copyright FreeHEP, 2005.
2
#ifndef CHEPREP_DEFAULTHEPREPINSTANCE_H
3
#define CHEPREP_DEFAULTHEPREPINSTANCE_H 1
4
5
#include "
cheprep/config.h
"
6
7
#include <string>
8
#include <vector>
9
10
#include "
HEPREP/HepRep.h
"
11
#include "
HEPREP/HepRepSelectFilter.h
"
12
#include "
HEPREP/HepRepInstanceTree.h
"
13
#include "
HEPREP/HepRepInstance.h
"
14
#include "
HEPREP/HepRepWriter.h
"
15
#include "
HEPREP/HepRepType.h
"
16
#include "
HEPREP/HepRepPoint.h
"
17
#include "
HEPREP/HepRepAttValue.h
"
18
19
#include "
DefaultHepRepAttribute.h
"
20
24
namespace
cheprep {
25
26
class
DefaultHepRepInstance
:
public
DefaultHepRepAttribute
,
public
virtual
HEPREP::HepRepInstance
{
27
28
private
:
29
HEPREP::HepRepInstance
*
parent
;
30
HEPREP::HepRepType
*
type
;
31
std::vector<HEPREP::HepRepPoint*>
points
;
32
std::vector<HEPREP::HepRepInstance*>
instances
;
33
34
public
:
35
DefaultHepRepInstance
(
HEPREP::HepRepInstance
*
parent
,
HEPREP::HepRepType
*
type
);
36
DefaultHepRepInstance
(
HEPREP::HepRepInstanceTree
*
parent
,
HEPREP::HepRepType
*
type
);
37
~DefaultHepRepInstance
();
38
39
void
overlay
(
HEPREP::HepRepInstance
*
instance
);
40
HEPREP::HepRepInstance
*
copy
(
HEPREP::HepRepTypeTree
* typeTree,
HEPREP::HepRepInstance
*
parent
,
HEPREP::HepRepSelectFilter
*
filter
);
41
HEPREP::HepRepInstance
*
copy
(
HEPREP::HepRepTypeTree
* typeTree,
HEPREP::HepRepInstanceTree
*
parent
,
HEPREP::HepRepSelectFilter
*
filter
);
42
HEPREP::HepRepType
*
getType
();
43
void
addPoint
(
HEPREP::HepRepPoint
*
point
);
44
std::vector<HEPREP::HepRepPoint *>
getPoints
();
45
HEPREP::HepRepInstance
*
getSuperInstance
();
46
void
addInstance
(
HEPREP::HepRepInstance
*
instance
);
47
void
removeInstance
(
HEPREP::HepRepInstance
*
instance
);
48
std::vector<HEPREP::HepRepInstance *>
getInstances
();
49
50
HEPREP::HepRepAttValue
*
getAttValue
(std::string
name
);
51
52
void
*
getParent
() {
return
parent
; }
53
};
54
55
}
// cheprep
56
57
58
#endif
geant4
tree
geant4-10.6-release
source
visualization
HepRep
include
cheprep
DefaultHepRepInstance.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:54
using
1.8.2 with
ECCE GitHub integration