28 gEve->AddGlobalElement(its);
56 const TString material(
"ITS_SI$");
61 if (medium && material == medium->GetName()) {
68 for (
Int_t i = 0; i < nd; ++i) {
81void extract_ssd_modules()
83 const TString kEH(
"extract_ssd_modules");
91 Error(kEH,
"Start node not found.");
100 Warning(kEH,
"No matching nodes found.");
int Int_t
Signed integer 4 bytes (int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
Error("WriteTObject","The current directory (%s) is not associated with a file. The object (%s) has not been written.", GetName(), objname)
void Warning(const char *location, const char *msgfmt,...)
Use this function in warning situations.
externTGeoManager * gGeoManager
virtual void AddElement(TEveElement *el)
Add el to the list of children.
Wrapper for TGeoNode that allows it to be shown in GUI and controlled as a TEveElement.
void SaveExtract(const char *file, const char *name, Bool_t leafs_only)
Save the shape tree as TEveGeoShapeExtract.
A wrapper over a TGeoNode, possibly displaced with a global trasformation stored in TEveElement.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
A node represent a volume positioned inside another.They store links to both volumes and to the TGeoM...
TGeoVolume * GetVolume() const
Int_t GetNdaughters() const
TGeoNode * GetDaughter(Int_t ind) const
TGeoMedium * GetMedium() const