ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
TileGeoCutBuilder Class Reference

#include <TileGeoCutBuilder.h>

Collaboration diagram for TileGeoCutBuilder:

Public Member Functions

 TileGeoCutBuilder (StoredMaterialManager *matManager, TileDddbManager *pDbManager, MsgStream *log)
 Constructor. More...
 
 ~TileGeoCutBuilder ()
 Destructor. More...
 
void MakeCut (GeoPhysVol *&mother, int number)
 Section parameters are the following: More...
 
void checking (const std::string &VolumeName, bool print, int level, double X1, double X2, double Y1, double Y2, double Z)
 

Private Attributes

MsgStream * m_log
 

Detailed Description

Definition at line 26 of file TileGeoCutBuilder.h.

Constructor & Destructor Documentation

◆ TileGeoCutBuilder()

TileGeoCutBuilder::TileGeoCutBuilder ( StoredMaterialManager matManager,
TileDddbManager pDbManager,
MsgStream *  log 
)

Constructor.

Definition at line 16 of file TileGeoCutBuilder.cxx.

19  : m_log(log)
20 {
21 }

◆ ~TileGeoCutBuilder()

TileGeoCutBuilder::~TileGeoCutBuilder ( )

Destructor.

Definition at line 24 of file TileGeoCutBuilder.cxx.

25 {
26 }

Member Function Documentation

◆ 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; // 5 [mkm]
45  std::string Step[8] = {" ",
46  " ",
47  " ",
48  " ",
49  " ",
50  " ",
51  " ",
52  " "};
53  if (print) {
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
57  <<endmsg;
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 }

◆ MakeCut()

void TileGeoCutBuilder::MakeCut ( GeoPhysVol *&  mother,
int  number 
)

Section parameters are the following:

Parameters
sec_numberNumber of sector
tile_rmaxMaximal radius
rminbMinimal radius
dzglueGlue gap along dZ
delta_phiDelta Phi
zlen_itc2Length 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 }

Member Data Documentation

◆ m_log

MsgStream* TileGeoCutBuilder::m_log
private

Definition at line 54 of file TileGeoCutBuilder.h.


The documentation for this class was generated from the following files:
Monitored::Z
@ Z
Definition: HistogramFillerUtils.h:24
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TileGeoCutBuilder::m_log
MsgStream * m_log
Definition: TileGeoCutBuilder.h:54
python.selection.number
number
Definition: selection.py:20
Name
JetDumper::Name Name
Definition: JetDumper.cxx:19
DEBUG
#define DEBUG
Definition: page_access.h:11
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
dbg::print
void print(std::FILE *stream, std::format_string< Args... > fmt, Args &&... args)
Definition: SGImplSvc.cxx:70