ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/visualization/HepRep/include/cheprep/DefaultHepRep.h>
Private Attributes | |
std::vector< std::string > | layers |
std::vector < HEPREP::HepRepTypeTree * > | typeTrees |
std::vector < HEPREP::HepRepInstanceTree * > | instanceTrees |
Definition at line 23 of file DefaultHepRep.h.
View newest version in sPHENIX GitHub at line 23 of file DefaultHepRep.h
cheprep::DefaultHepRep::DefaultHepRep | ( | ) |
Definition at line 13 of file DefaultHepRep.cc.
View newest version in sPHENIX GitHub at line 13 of file DefaultHepRep.cc
cheprep::DefaultHepRep::~DefaultHepRep | ( | ) |
Definition at line 16 of file DefaultHepRep.cc.
View newest version in sPHENIX GitHub at line 16 of file DefaultHepRep.cc
|
virtual |
Searches for a named type in any of the typetrees. The first occurrence found is returned.
name | name of type. |
instanceTree | to be added. |
Implements HEPREP::HepRep.
Definition at line 56 of file DefaultHepRep.cc.
View newest version in sPHENIX GitHub at line 56 of file DefaultHepRep.cc
|
virtual |
Add a layer to the list of layers in this heprep. The layer is added to the back of the list.
layer | name of layer to be added to the back of the list. |
Implements HEPREP::HepRep.
Definition at line 34 of file DefaultHepRep.cc.
View newest version in sPHENIX GitHub at line 34 of file DefaultHepRep.cc
|
virtual |
Add a typetree to this heprep.
typeTree | to be added. |
Implements HEPREP::HepRep.
Definition at line 38 of file DefaultHepRep.cc.
View newest version in sPHENIX GitHub at line 38 of file DefaultHepRep.cc
|
virtual |
Returns last exception thrown and clears it. Useful for implementations without exception handling.
Implements HEPREP::HepRep.
Definition at line 93 of file DefaultHepRep.cc.
View newest version in sPHENIX GitHub at line 93 of file DefaultHepRep.cc
|
virtual |
Returns a deep copy of the heprep, with all its attached trees, where instances are filtered using a HepRepSelectFilter.
filter | to be used for filtering instances. |
Implements HEPREP::HepRep.
Definition at line 25 of file DefaultHepRep.cc.
View newest version in sPHENIX GitHub at line 25 of file DefaultHepRep.cc
|
virtual |
Returns a named and versioned instancetree for a list of typenames.
This tree needs to be added to the heprep afterwards.
name | name of the instancetree. |
version | version of the instancetree. |
typeNames | a list of typenames for which we need instancetrees. |
Implements HEPREP::HepRep.
Definition at line 74 of file DefaultHepRep.cc.
View newest version in sPHENIX GitHub at line 74 of file DefaultHepRep.cc
|
virtual |
Returns a named and versioned instancetree for a list of typenames after executing some action and for specific filters.
This tree needs to be added to the heprep afterwards.
The inversion effect of invertAtts depends on the values of GetDrawAtts and GetNonDrawAtts as follows:
name | name of the instancetree. |
version | version of the instancetree. |
typeNames | a list of typenames for which we need instancetrees. |
actions | execute this list of actions before returning. |
getPoints | include the HepRepPoints in the instance tree. |
getDrawAtts | include the Draw attributes in the instance tree. |
getNonDrawAtts | include the Non-Draw attributes in the instance tree. |
invertAtts | list of attributes to be included or not depending on getDrawAtts and getNonDrawAtts. |
Implements HEPREP::HepRep.
Definition at line 80 of file DefaultHepRep.cc.
View newest version in sPHENIX GitHub at line 80 of file DefaultHepRep.cc
|
virtual |
Returns a collection of instancetrees.
Implements HEPREP::HepRep.
Definition at line 97 of file DefaultHepRep.cc.
View newest version in sPHENIX GitHub at line 97 of file DefaultHepRep.cc
|
virtual |
Returns a named and versioned instancetree. FIXME: doc is incorrect here, should only return TOP of the tree. Filling in should be done by getInstances calls.
This tree needs to be added to the heprep afterwards.
name | name of the instancetree. |
version | version of the instancetree. |
Implements HEPREP::HepRep.
Definition at line 69 of file DefaultHepRep.cc.
View newest version in sPHENIX GitHub at line 69 of file DefaultHepRep.cc
|
virtual |
Returns the list of layers.
Implements HEPREP::HepRep.
Definition at line 30 of file DefaultHepRep.cc.
View newest version in sPHENIX GitHub at line 30 of file DefaultHepRep.cc
|
virtual |
Returns a named and versioned typetree.
name | name of the typetree. |
version | version of the typetree. |
Implements HEPREP::HepRep.
Definition at line 47 of file DefaultHepRep.cc.
View newest version in sPHENIX GitHub at line 47 of file DefaultHepRep.cc
|
virtual |
Returns the collection of all typetrees of this heprep.
Implements HEPREP::HepRep.
Definition at line 52 of file DefaultHepRep.cc.
View newest version in sPHENIX GitHub at line 52 of file DefaultHepRep.cc
|
virtual |
Overlays an instancetree to this heprep, overriding attributes and adding children.
instanceTree | to be overlaid. |
Implements HEPREP::HepRep.
Definition at line 61 of file DefaultHepRep.cc.
View newest version in sPHENIX GitHub at line 61 of file DefaultHepRep.cc
|
virtual |
Remove an instanectree from this heprep.
instanceTree | to be removed. |
Implements HEPREP::HepRep.
Definition at line 65 of file DefaultHepRep.cc.
View newest version in sPHENIX GitHub at line 65 of file DefaultHepRep.cc
|
virtual |
Remove a typetree from this heprep.
typeTree | to be removed. |
Implements HEPREP::HepRep.
Definition at line 43 of file DefaultHepRep.cc.
View newest version in sPHENIX GitHub at line 43 of file DefaultHepRep.cc
|
private |
Definition at line 28 of file DefaultHepRep.h.
View newest version in sPHENIX GitHub at line 28 of file DefaultHepRep.h
|
private |
Definition at line 26 of file DefaultHepRep.h.
View newest version in sPHENIX GitHub at line 26 of file DefaultHepRep.h
|
private |
Definition at line 27 of file DefaultHepRep.h.
View newest version in sPHENIX GitHub at line 27 of file DefaultHepRep.h