3#ifndef G_GEOMETRY_ROOT_H
4#define G_GEOMETRY_ROOT_H
8#include <TGeoManager.h>
9#include <TGeoMaterial.h>
28 const double z)
const;
39 bool IsInside(
const double x,
const double y,
const double z)
const {
49 bool GetBoundingBox(
double& xmin,
double& ymin,
double& zmin,
double& xmax,
50 double& ymax,
double& zmax);
TGeoManager * m_geoManager
void SetMedium(const int imat, Medium *med)
std::vector< material > m_materials
TGeoMaterial * GetMaterial(const int i)
bool IsInside(const double x, const double y, const double z) const
bool GetBoundingBox(double &xmin, double &ymin, double &zmin, double &xmax, double &ymax, double &zmax)
void SetGeometry(TGeoManager *geoman)
int GetNumberOfMaterials()
Medium * GetMedium(const double x, const double y, const double z) const