ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Public Member Functions | |
DefaultHepRepDefinition () | |
~DefaultHepRepDefinition () | |
void | addAttDef (HEPREP::HepRepAttDef *hepRepAttDef) |
void | addAttDef (std::string name, std::string desc, std::string type, std::string extra) |
std::set< HEPREP::HepRepAttDef * > | getAttDefsFromNode () |
HEPREP::HepRepAttDef * | getAttDefFromNode (std::string lowerCaseName) |
HEPREP::HepRepAttDef * | getAttDef (std::string name)=0 |
HEPREP::HepRepAttValue * | getAttValue (std::string name)=0 |
Public Member Functions inherited from cheprep::DefaultHepRepAttribute | |
DefaultHepRepAttribute () | |
~DefaultHepRepAttribute () | |
std::set < HEPREP::HepRepAttValue * > | getAttValuesFromNode () |
void | addAttValue (HEPREP::HepRepAttValue *hepRepAttValue) |
void | addAttValue (std::string key, char *value, int showLabel) |
void | addAttValue (std::string key, std::string value, int showLabel) |
void | addAttValue (std::string key, int value, int showLabel) |
void | addAttValue (std::string key, int64 value, int showLabel) |
void | addAttValue (std::string key, double value, int showLabel) |
void | addAttValue (std::string key, bool value, int showLabel) |
void | addAttValue (std::string key, std::vector< double > value, int showLabel) |
void | addAttValue (std::string key, double red, double green, double blue, double alpha, int showLabel) |
HEPREP::HepRepAttValue * | getAttValueFromNode (std::string lowerCaseName) |
HEPREP::HepRepAttValue * | removeAttValue (std::string key) |
Public Member Functions inherited from HEPREP::HepRepAttribute | |
virtual | ~HepRepAttribute () |
Destructor. | |
Public Member Functions inherited from HEPREP::HepRepDefinition | |
virtual | ~HepRepDefinition () |
Destructor. | |
Private Attributes | |
std::map< std::string, HEPREP::HepRepAttDef * > | attDefs |
Definition at line 21 of file DefaultHepRepDefinition.h.
View newest version in sPHENIX GitHub at line 21 of file DefaultHepRepDefinition.h
cheprep::DefaultHepRepDefinition::DefaultHepRepDefinition | ( | ) |
Definition at line 17 of file DefaultHepRepDefinition.cc.
View newest version in sPHENIX GitHub at line 17 of file DefaultHepRepDefinition.cc
cheprep::DefaultHepRepDefinition::~DefaultHepRepDefinition | ( | ) |
Definition at line 21 of file DefaultHepRepDefinition.cc.
View newest version in sPHENIX GitHub at line 21 of file DefaultHepRepDefinition.cc
References getAttDefsFromNode().
|
virtual |
Adds an attdef.
attDef | to be added. |
Implements HEPREP::HepRepDefinition.
Definition at line 36 of file DefaultHepRepDefinition.cc.
View newest version in sPHENIX GitHub at line 36 of file DefaultHepRepDefinition.cc
References attDefs, and HEPREP::HepRepAttDef::getLowerCaseName().
Referenced by addAttDef().
|
virtual |
Adds an attdef.
name | name of the definition. |
desc | description of the definition. |
category | category of the definition. |
extra | extra info of the definition. |
Implements HEPREP::HepRepDefinition.
Definition at line 42 of file DefaultHepRepDefinition.cc.
View newest version in sPHENIX GitHub at line 42 of file DefaultHepRepDefinition.cc
References addAttDef().
|
pure virtual |
Return a named attribute definition searched on this node and any parent nodes.
name | of attribute definition. |
Implements HEPREP::HepRepDefinition.
Implemented in cheprep::DefaultHepRepType.
|
virtual |
Returns a named attribute definition defined on this node.
lowerCaseName | name of the attribute in lower case. |
Implements HEPREP::HepRepDefinition.
Definition at line 46 of file DefaultHepRepDefinition.cc.
View newest version in sPHENIX GitHub at line 46 of file DefaultHepRepDefinition.cc
References attDefs, int(), and Acts::Test::transform.
|
virtual |
Returns a collection of all attribute definitions defined on this node.
Implements HEPREP::HepRepDefinition.
Definition at line 28 of file DefaultHepRepDefinition.cc.
View newest version in sPHENIX GitHub at line 28 of file DefaultHepRepDefinition.cc
References attDefs.
Referenced by ~DefaultHepRepDefinition().
|
pure virtual |
Returns the attValue specified by name. This attValue is normally searched on the node itself and then on its type, moving up the typetree.
name | of attribute value. |
Implements cheprep::DefaultHepRepAttribute.
Implemented in cheprep::DefaultHepRepType.
|
private |
Definition at line 24 of file DefaultHepRepDefinition.h.
View newest version in sPHENIX GitHub at line 24 of file DefaultHepRepDefinition.h
Referenced by addAttDef(), getAttDefFromNode(), and getAttDefsFromNode().