Project
Loading...
Searching...
No Matches
Helpers.cxx File Reference
#include "DetectorsBase/GeometryManager.h"
#include "DetectorsBase/MaterialManager.h"
#include "DetectorsCommonDataFormats/AlignParam.h"
#include "DetectorsCommonDataFormats/DetID.h"
#include "DetectorsCommonDataFormats/DetectorNameConf.h"
#include "MCHGeometryCreator/Geometry.h"
#include "MCHGeometryMisAligner/MisAligner.h"
#include "MCHGeometryTest/Helpers.h"
#include "MCHGeometryTransformer/Transformations.h"
#include "CCDB/CcdbApi.h"
#include "Math/GenVector/Cartesian3D.h"
#include "TGLRnrCtx.h"
#include "TGLViewer.h"
#include "TGeoManager.h"
#include "TGeoVolume.h"
#include "TH2F.h"
#include "TFile.h"
#include "TPRegexp.h"
#include "TVirtualPad.h"
#include <iostream>

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::mch
 
namespace  o2::mch::test
 

Functions

TGeoVolume * o2::mch::test::createAirVacuumCave (const char *name)
 
void o2::mch::test::dump (std::ostream &out, const TGeoNode &n, int level, int maxdepth, std::string prefix)
 
void o2::mch::test::showGeometryAsTextTree (const char *fromPath="", int maxdepth=2, std::ostream &out=std::cout)
 tree like textual dump of the geometry nodes
 
void o2::mch::test::createStandaloneGeometry ()
 
void o2::mch::test::addAlignableVolumes ()
 
void o2::mch::test::zeroMisAlignGeometry (const std::string &ccdbHost="http://localhost:8080", const std::string &fileName="MCHMisAlignment.root")
 generates zero misalignments for MCH geometry
 
void o2::mch::test::misAlignGeometry ()
 generates misalignments for MCH geometry
 
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
 
void o2::mch::test::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 o2::mch::test::drawOptionPresetBasic ()
 
void o2::mch::test::drawGeometry ()
 basic drawing of the geometry
 
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)
 
std::ostream & o2::mch::test::operator<< (std::ostream &os, o2::base::GeometryManager::MatBudgetExt m)
 
math_utils::Vector3D< double > o2::mch::test::getNormalVector (const o2::math_utils::Transform3D &t)
 
TH2 * o2::mch::test::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