#include <vector>
#include <list>
#include <string>
#include <cmath>
#include <TEveElement.h>
#include <TEveGeoNode.h>
#include <TGeoNode.h>
#include "eve_macros.h"
Go to the source code of this file.
Functions | |
TEveGeoShape * | clone (const TEveElement *element, TEveElement *parent) |
void | expand_node (TEveElement *element) |
const char * | get_name (const TEveElement *element) |
const TGeoShape * | get_shape (const TEveElement *element) |
TGeoShape * | get_shape (TEveElement *element) |
const char * | get_title (const TEveElement *element) |
TGeoMatrix * | get_transform (const TEveElement *element) |
void | hide_tracker_endcap (TEveElement *tracker) |
bool | is_leaf_node (const TEveElement *element) |
void | set_children_visibility (TEveElement *element, const std::string &node_name, const std::vector< std::string > &children_name, bool visibility) |
void | set_color (TEveElement *element, Color_t color, float alpha, unsigned int levels) |
void | set_tracker_endcap_visibility (TEveElement *tracker, bool visibility) |
void | show_tracker_endcap (TEveElement *tracker) |
TEveGeoShape* clone | ( | const TEveElement * | element, |
TEveElement * | parent | ||
) |
Definition at line 135 of file eve_macros.cc.
References statics::clone, extract(), get_name(), get_shape(), get_title(), get_transform(), and makeMuonMisalignmentScenario::matrix.
void expand_node | ( | TEveElement * | element | ) |
Definition at line 43 of file eve_macros.cc.
References GetRecoTauVFromDQM_MC_cff::next, and python.Node::node.
Referenced by node_filter(), and set_color().
const char* get_name | ( | const TEveElement * | element | ) |
Definition at line 13 of file eve_macros.cc.
References python.Node::node.
Referenced by apply_filter(), clone(), get_root_object(), and set_children_visibility().
const TGeoShape* get_shape | ( | const TEveElement * | element | ) |
TGeoShape* get_shape | ( | TEveElement * | element | ) |
Definition at line 81 of file eve_macros.cc.
const char* get_title | ( | const TEveElement * | element | ) |
TGeoMatrix* get_transform | ( | const TEveElement * | element | ) |
Definition at line 95 of file eve_macros.cc.
References i, makeMuonMisalignmentScenario::matrix, and python.Node::node.
Referenced by clone().
void hide_tracker_endcap | ( | TEveElement * | tracker | ) |
Definition at line 244 of file eve_macros.cc.
References set_tracker_endcap_visibility().
bool is_leaf_node | ( | const TEveElement * | element | ) |
Definition at line 177 of file eve_macros.cc.
References python.Node::node.
Referenced by set_children_visibility().
void set_children_visibility | ( | TEveElement * | element, |
const std::string & | node_name, | ||
const std::vector< std::string > & | children_name, | ||
bool | visibility | ||
) |
Definition at line 193 of file eve_macros.cc.
References get_name(), i, is_leaf_node(), j, mergeVDriftHistosByStation::name, or, and findQualityFiles::size.
Referenced by set_tracker_endcap_visibility().
void set_color | ( | TEveElement * | element, |
Color_t | color, | ||
float | alpha, | ||
unsigned int | levels | ||
) |
Definition at line 154 of file eve_macros.cc.
References hitfit::char, expand_node(), i, and set_color().
Referenced by set_color().
void set_tracker_endcap_visibility | ( | TEveElement * | tracker, |
bool | visibility | ||
) |
Definition at line 226 of file eve_macros.cc.
References Reference_intrackfit_cff::endcap, and set_children_visibility().
Referenced by hide_tracker_endcap(), and show_tracker_endcap().
void show_tracker_endcap | ( | TEveElement * | tracker | ) |
Definition at line 238 of file eve_macros.cc.
References set_tracker_endcap_visibility().