DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Functions
dd4hep::Utilities Namespace Reference

Functions

int findNodeWithMatrix (TGeoNode *p, TGeoNode *n, TGeoHMatrix *mat, std::string *sub_path=0)
 
std::pair< bool, TEveElement * > createEveShape (int level, int max_level, TEveElement *p, TGeoNode *n, const TGeoHMatrix &mat, const std::string &node_name)
 
std::pair< bool, TEveElement * > LoadDetElement (DetElement element, int levels, TEveElement *parent)
 
void MakeNodesVisible (TEveElement *e, bool visible, int level)
 Make a set of nodes starting from a top element (in-)visible with a given depth. More...
 
void SetRnrChildren (TEveElementList *l, bool b)
 Set the rendering flags for the object and the next level children. More...
 
void SetRnrAll (TEveElementList *l, bool b)
 Recursively set the rendering flags for the object ans its children. More...
 
template<typename T >
const char * GetName (T *p)
 

Function Documentation

◆ createEveShape()

std::pair< bool, TEveElement * > dd4hep::Utilities::createEveShape ( int  level,
int  max_level,
TEveElement *  p,
TGeoNode *  n,
const TGeoHMatrix &  mat,
const std::string &  node_name 
)

Definition at line 75 of file Utilities.cpp.

◆ findNodeWithMatrix()

int dd4hep::Utilities::findNodeWithMatrix ( TGeoNode *  p,
TGeoNode *  n,
TGeoHMatrix *  mat,
std::string *  sub_path = 0 
)

Definition at line 164 of file Utilities.cpp.

◆ GetName()

template<typename T >
const char* dd4hep::Utilities::GetName ( T *  p)
inline

Definition at line 45 of file Utilities.h.

◆ LoadDetElement()

std::pair< bool, TEveElement * > dd4hep::Utilities::LoadDetElement ( DetElement  element,
int  levels,
TEveElement *  parent 
)

Definition at line 190 of file Utilities.cpp.

◆ MakeNodesVisible()

void dd4hep::Utilities::MakeNodesVisible ( TEveElement *  e,
bool  visible,
int  level 
)

Make a set of nodes starting from a top element (in-)visible with a given depth.

Definition at line 56 of file Utilities.cpp.

◆ SetRnrAll()

void dd4hep::Utilities::SetRnrAll ( TEveElementList l,
bool  b 
)

Recursively set the rendering flags for the object ans its children.

Definition at line 45 of file Utilities.cpp.

◆ SetRnrChildren()

void dd4hep::Utilities::SetRnrChildren ( TEveElementList l,
bool  b 
)

Set the rendering flags for the object and the next level children.

Definition at line 37 of file Utilities.cpp.