![]() |
Project
|
Classes | |
class | Dummy |
Functions | |
TGeoVolume * | createAirVacuumCave (const char *name) |
void | dump (std::ostream &out, const TGeoNode &n, int level, int maxdepth, std::string prefix) |
void | showGeometryAsTextTree (const char *fromPath="", int maxdepth=2, std::ostream &out=std::cout) |
tree like textual dump of the geometry nodes | |
void | createStandaloneGeometry () |
void | addAlignableVolumes () |
void | zeroMisAlignGeometry (const std::string &ccdbHost="http://localhost:8080", const std::string &fileName="MCHMisAlignment.root") |
generates zero misalignments for MCH geometry | |
void | misAlignGeometry () |
generates misalignments for MCH geometry | |
void | setVolumeVisibility (const char *pattern, bool visible, bool visibleDaughters) |
set the volume and daughter visibility for all volumes with a name matching the regexp pattern | |
void | setVolumeColor (const char *pattern, int lineColor, int fillColor) |
set the volume line and fill for all volumes with a name matching the regexp pattern | |
void | drawOptionPresetBasic () |
void | drawGeometry () |
basic drawing of the geometry | |
o2::base::GeometryManager::MatBudgetExt | getMatBudgetExt (const o2::math_utils::Transform3D &t, math_utils::Vector3D< double > &n, float x, float y, float thickness) |
std::ostream & | operator<< (std::ostream &os, o2::base::GeometryManager::MatBudgetExt m) |
math_utils::Vector3D< double > | getNormalVector (const o2::math_utils::Transform3D &t) |
TH2 * | getRadio (int detElemId, float xmin, float ymin, float xmax, float ymax, float xstep, float ystep, float thickness=5) |
get a radlen radiograph of a given detection element within box with the given granularity | |
void | setVolumeColor (const char *pattern, int color) |
void o2::mch::test::addAlignableVolumes | ( | ) |
Definition at line 124 of file Helpers.cxx.
TGeoVolume * o2::mch::test::createAirVacuumCave | ( | const char * | name | ) |
Definition at line 41 of file Helpers.cxx.
void o2::mch::test::createStandaloneGeometry | ( | ) |
creates MCH geometry from scratch (i.e. from a null TGeoManager) usefull for tests or drawing for instance.
Definition at line 112 of file Helpers.cxx.
void o2::mch::test::drawGeometry | ( | ) |
basic drawing of the geometry
Definition at line 264 of file Helpers.cxx.
void o2::mch::test::drawOptionPresetBasic | ( | ) |
Definition at line 235 of file Helpers.cxx.
void o2::mch::test::dump | ( | std::ostream & | out, |
const TGeoNode & | n, | ||
int | level, | ||
int | maxdepth, | ||
std::string | prefix | ||
) |
Definition at line 66 of file Helpers.cxx.
o2::base::GeometryManager::MatBudgetExt o2::mch::test::getMatBudgetExt | ( | const o2::math_utils::Transform3D & | t, |
math_utils::Vector3D< double > & | n, | ||
float | x, | ||
float | y, | ||
float | thickness | ||
) |
Definition at line 282 of file Helpers.cxx.
math_utils::Vector3D< double > o2::mch::test::getNormalVector | ( | const o2::math_utils::Transform3D & | t | ) |
Definition at line 296 of file Helpers.cxx.
TH2 * o2::mch::test::getRadio | ( | int | detElemId, |
float | xmin, | ||
float | ymin, | ||
float | xmax, | ||
float | ymax, | ||
float | xstep, | ||
float | ystep, | ||
float | thickness | ||
) |
get a radlen radiograph of a given detection element within box with the given granularity
Definition at line 307 of file Helpers.cxx.
void o2::mch::test::misAlignGeometry | ( | ) |
generates misalignments for MCH geometry
Definition at line 183 of file Helpers.cxx.
std::ostream & o2::mch::test::operator<< | ( | std::ostream & | os, |
o2::base::GeometryManager::MatBudgetExt | m | ||
) |
Definition at line 289 of file Helpers.cxx.
set the volume line and fill for all volumes with a name matching the regexp pattern
Definition at line 221 of file Helpers.cxx.
void o2::mch::test::setVolumeVisibility | ( | const char * | pattern, |
bool | visible, | ||
bool | visibleDaughters | ||
) |
set the volume and daughter visibility for all volumes with a name matching the regexp pattern
Definition at line 207 of file Helpers.cxx.
void o2::mch::test::showGeometryAsTextTree | ( | const char * | fromPath, |
int | maxdepth, | ||
std::ostream & | out | ||
) |
tree like textual dump of the geometry nodes
Definition at line 92 of file Helpers.cxx.
void o2::mch::test::zeroMisAlignGeometry | ( | const std::string & | ccdbHost, |
const std::string & | fileName | ||
) |
generates zero misalignments for MCH geometry
Definition at line 138 of file Helpers.cxx.