Shows CMS geometry.
#include <sstream>
#include <iostream>
{
auto gss =
n->GetVolume()->GetShape();
b1s->RefMainTrans().SetFrom(trans.
Array());
}
int level)
{
++level;
return;
for (
int i = 0; i <
pn->GetNdaughters(); ++i) {
{
}
}
}
}
{
string s;
return node;
}
{
auto eveMng = REX::REveManager::Create();
{
std::string material = "TOB_Silicon";
}
{
std::string material = "M_B_Air";
auto bv =
n->GetVolume();
for (int i = 1; i < 5; ++i) {
auto n =
bv->FindNode(
Form(
"MBXC_%d", i));
auto gss =
n->GetVolume()->GetShape();
const double *
move =
n->GetMatrix()->GetTranslation();
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.