22 float length =
bs->length();
25 int nrows = pixelROCRows * pixelROCsInX;
26 int ncols = pixelROCCols * pixelROCsInY;
28 float pitchX =
width / nrows;
29 float pitchY = length /
ncols;
31 float micronsTocm = 1
e-4;
32 float gapxinterpad =
float(GAPxInterpad) * micronsTocm;
33 float gapyinterpad =
float(GAPyInterpad) * micronsTocm;
34 float gapxborder =
float(GAPxBorder) * micronsTocm;
35 float gapyborder =
float(GAPyBorder) * micronsTocm;
39 <<
std::fixed <<
"Building topology for module of width(X) = " << std::setw(10) <<
width 40 <<
" length(Y) = " << std::setw(10) << length <<
"\n Rows per ROC = " << std::setw(10) << pixelROCRows
41 <<
" Cols per ROC = " << std::setw(10) << pixelROCCols <<
"\n ROCs in X = " << std::setw(10)
42 << pixelROCsInX <<
" ROCs in Y = " << std::setw(10) << pixelROCsInY
43 <<
"\n # pixel rows X = " << std::setw(10) << nrows <<
" # pixel cols Y = " << std::setw(10) <<
ncols 44 <<
"\n pitch in X = " << std::setw(10) << pitchX <<
" # pitch in Y = " << std::setw(10) << pitchY
45 <<
"\n Interpad gap in X = " << std::setw(10) << gapxinterpad <<
" # Interpad gap in Y = " << std::setw(10)
46 << gapyinterpad <<
"\n Border gap in X = " << std::setw(10) << gapxborder
47 <<
" # Border gap in Y = " << std::setw(10) << gapyborder;
PixelTopology * build(const Bounds *bounds, int ROWS_PER_ROC, int COLS_PER_ROC, int ROCS_X, int ROCS_Y, int GAPxInterpad, int GAPxBorder, int GAPyInterpad, int GAPyBorder)
MTDPixelTopologyBuilder()
Log< level::Info, false > LogInfo