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
DefaultHepRepInstanceTree.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file DefaultHepRepInstanceTree.h
1
// Copyright FreeHEP, 2005.
2
#ifndef CHEPREP_DEFAULTHEPREPINSTANCETREE_H
3
#define CHEPREP_DEFAULTHEPREPINSTANCETREE_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/HepRepSelectFilter.h
"
13
#include "
HEPREP/HepRepInstanceTree.h
"
14
#include "
HEPREP/HepRepInstance.h
"
15
#include "
HEPREP/HepRepWriter.h
"
16
#include "
HEPREP/HepRepTreeID.h
"
17
18
#include "
DefaultHepRepTreeID.h
"
19
23
namespace
cheprep {
24
25
class
DefaultHepRepInstanceTree
:
public
DefaultHepRepTreeID
,
public
virtual
HEPREP::HepRepInstanceTree
{
26
27
private
:
28
HEPREP::HepRepTreeID
*
typeTree
;
29
std::vector<HEPREP::HepRepInstance*>
instances
;
30
std::vector<HEPREP::HepRepTreeID*>
instanceTrees
;
31
32
public
:
33
DefaultHepRepInstanceTree
(std::string
name
, std::string
version
,
HEPREP::HepRepTreeID
*
typeTree
);
34
~DefaultHepRepInstanceTree
();
35
36
void
overlay
(
HEPREP::HepRepInstanceTree
* instanceTree);
37
HEPREP::HepRepInstanceTree
*
copy
(
HEPREP::HepRepTypeTree
*
typeTree
,
HEPREP::HepRepSelectFilter
*
filter
);
38
void
addInstance
(
HEPREP::HepRepInstance
*
instance
);
39
void
removeInstance
(
HEPREP::HepRepInstance
*
instance
);
40
std::vector<HEPREP::HepRepInstance*>
getInstances
();
41
void
addInstanceTree
(
HEPREP::HepRepTreeID
* treeID);
42
HEPREP::HepRepTreeID
*
getTypeTree
();
43
std::vector<HEPREP::HepRepTreeID*>
getInstanceTreeList
();
44
};
45
46
}
// cheprep
47
48
49
#endif
geant4
tree
geant4-10.6-release
source
visualization
HepRep
include
cheprep
DefaultHepRepInstanceTree.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:54
using
1.8.2 with
ECCE GitHub integration