#include <TileGeoCutBuilder.h>
|
| | TileGeoCutBuilder (StoredMaterialManager *matManager, TileDddbManager *pDbManager, MsgStream *log) |
| | Constructor.
|
| | ~TileGeoCutBuilder () |
| | Destructor.
|
| void | MakeCut (GeoPhysVol *&mother, int number) |
| | Section parameters are the following:
|
| void | checking (const std::string &VolumeName, bool print, int level, double X1, double X2, double Y1, double Y2, double Z) |
Definition at line 26 of file TileGeoCutBuilder.h.
◆ TileGeoCutBuilder()
◆ ~TileGeoCutBuilder()
| TileGeoCutBuilder::~TileGeoCutBuilder |
( |
| ) |
|
◆ checking()
| void TileGeoCutBuilder::checking |
( |
const std::string & | VolumeName, |
|
|
bool | print, |
|
|
int | level, |
|
|
double | X1, |
|
|
double | X2, |
|
|
double | Y1, |
|
|
double | Y2, |
|
|
double | Z ) |
Definition at line 41 of file TileGeoCutBuilder.cxx.
43{
44 double rless = .005;
45 std::string Step[8] = {" ",
46 " ",
47 " ",
48 " ",
49 " ",
50 " ",
51 " ",
52 " "};
54 if (
m_log->level()<=MSG::DEBUG)
56 <<
" dX1,dX2= "<<X1<<
","<<X2<<
" dY1,dY2= "<<Y1<<
","<<Y2<<
",dZ= "<<
Z
58 }
59 if (X1 < rless && X2 < rless) {
60 (*m_log) << MSG::WARNING <<
" volume "<<
Name<<
" is empty, X1 or X2<0 "<<
endmsg;
61 }
62 if (Y1 < rless && Y2 < rless) {
63 (*m_log) << MSG::WARNING <<
" volume "<<
Name<<
" is empty, Y1 or Y2<0 "<<
endmsg;
64 }
65 if (Z < rless) {
66 (*m_log) << MSG::WARNING <<
" volume "<<
Name<<
" is empty, Z<0 "<<
endmsg;
67 }
68}
void print(char *figname, TCanvas *c1)
◆ MakeCut()
| void TileGeoCutBuilder::MakeCut |
( |
GeoPhysVol *& | mother, |
|
|
int | number ) |
Section parameters are the following:
- Parameters
-
| sec_number | Number of sector |
| tile_rmax | Maximal radius |
| rminb | Minimal radius |
| dzglue | Glue gap along dZ |
| delta_phi | Delta Phi |
| zlen_itc2 | Length for ITC2 only |
Definition at line 29 of file TileGeoCutBuilder.cxx.
31{
32 GeoTransform* tfTmp = new GeoTransform(GeoTrf::Translate3D(0.,0.,0.));
33 mother->add(tfTmp);
34
35 (*m_log) << MSG::INFO <<
" MakeCut : number= "<<
number<<
endmsg;
36}
std::string number(const double &d, const std::string &s)
◆ m_log
| MsgStream* TileGeoCutBuilder::m_log |
|
private |
The documentation for this class was generated from the following files: