10#include "GeoModelKernel/GeoPhysVol.h"
11#include "GeoModelKernel/GeoTransform.h"
13#include "GaudiKernel/MsgStream.h"
32 GeoTransform* tfTmp =
new GeoTransform(GeoTrf::Translate3D(0.,0.,0.));
35 (*m_log) << MSG::INFO <<
" MakeCut : number= "<<
number<<
endmsg;
42 double X1,
double X2,
double Y1,
double Y2,
double Z)
45 std::string Step[8] = {
" ",
54 if (
m_log->level()<=MSG::DEBUG)
55 (*m_log) << MSG::DEBUG <<Step[level]<<
Name<<
"-"<<level
56 <<
" dX1,dX2= "<<X1<<
","<<X2<<
" dY1,dY2= "<<Y1<<
","<<Y2<<
",dZ= "<<Z
59 if (X1 < rless && X2 < rless) {
60 (*m_log) << MSG::WARNING <<
" volume "<<
Name<<
" is empty, X1 or X2<0 "<<
endmsg;
62 if (Y1 < rless && Y2 < rless) {
63 (*m_log) << MSG::WARNING <<
" volume "<<
Name<<
" is empty, Y1 or Y2<0 "<<
endmsg;
66 (*m_log) << MSG::WARNING <<
" volume "<<
Name<<
" is empty, Z<0 "<<
endmsg;
void print(char *figname, TCanvas *c1)
Definition of TileGeoSectionBuioder class.
This class holds one or more material managers and makes them storeable, under StoreGate.
This class provides access to constants in the Geometry DB.
void MakeCut(GeoPhysVol *&mother, int number)
Section parameters are the following:
TileGeoCutBuilder(StoredMaterialManager *matManager, TileDddbManager *pDbManager, MsgStream *log)
Constructor.
void checking(const std::string &VolumeName, bool print, int level, double X1, double X2, double Y1, double Y2, double Z)
~TileGeoCutBuilder()
Destructor.
std::string number(const double &d, const std::string &s)