28 auto gss =
n->GetVolume()->GetShape();
31 b1s->RefMainTrans().SetFrom(trans.
Array());
44 for (
int i = 0; i <
pn->GetNdaughters(); ++i) {
82 istringstream
f(path);
93 auto eveMng = REX::REveManager::Create();
106 std::string material =
"TOB_Silicon";
117 std::string material =
"M_B_Air";
121 auto bv =
n->GetVolume();
122 for (
int i = 1; i < 5; ++i) {
123 auto n =
bv->FindNode(
Form(
"MBXC_%d", i));
124 auto gss =
n->GetVolume()->GetShape();
126 b1s->InitMainTrans();
127 const double *
move =
n->GetMatrix()->GetTranslation();
128 b1s->RefMainTrans().SetFrom(*(
n->GetMatrix()));
double Double_t
Double 8 bytes.
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
static Bool_t SetCacheFileDir(std::string_view cacheDir, Bool_t operateDisconnected=kTRUE, Bool_t forceCacheread=kFALSE)
Sets the directory where to locally stage/cache remote files.
Base class describing materials.
Geometrical transformation package.
A node represent a volume positioned inside another.They store links to both volumes and to the TGeoM...
TGeoVolume * GetVolume() const
TGeoNode * FindNode(const char *name) const
search a daughter inside the list of nodes
const char * GetName() const override
Returns name of object.
Namespace for ROOT features in testing.