diff --git a/doc/usermanual/chapters/configuration.tex b/doc/usermanual/chapters/configuration.tex index 72bc6ce4d60d6ad5fcf1b74e8c735617d6f9b0e7..2169549bba982587efc9564a0f7c1a989b2623d1 100644 --- a/doc/usermanual/chapters/configuration.tex +++ b/doc/usermanual/chapters/configuration.tex @@ -341,10 +341,10 @@ Detectors with different gemetries are supported in the \corry framework and can \item A regular matrix of rectangular pixels is defined via \parameter{coordinates = cartesian}. This is the default option. \item A matrix of rectangular pixels containing columns and/or rows with double sized pixels, resembling a silicon pixel detector module with several readout chips, can be defined via \parameter{cartesian_module}. The following parameters can additionally be set to configure such a detector: \begin{itemize} - \item The matrix \parameter{big_pixel} lists the columns and rows with double sized pixels. The following example describes a sensor with 52 x 80 pixels and larger pixels in the left, right and upper edges: + \item The matrix \parameter{big_pixels} lists the columns and rows with double sized pixels. The following example describes a sensor with 52 x 80 pixels and larger pixels in the left, right and upper edges: \begin{minted}[frame=single,framesep=3pt,breaklines=true,tabsize=2,linenos]{ini} coordinates = cartesian_module - big_pixel = [[0,51],[79]] + big_pixels = [[0,51],[79]] \end{minted} \item The resolution of clusters centered inside a large pixel can be defined via the vector \parameter{big_pixel_spatial_resolution}. This defaults to $2 * spatial_resolution$. \end{itemize} diff --git a/src/core/detector/PixelModuleDetector.cpp b/src/core/detector/PixelModuleDetector.cpp index 1312ec1028bc67a51b7862b8e87bfb2016c27837..f186ae70434ff691309cb7513f899c58cf3c9138 100644 --- a/src/core/detector/PixelModuleDetector.cpp +++ b/src/core/detector/PixelModuleDetector.cpp @@ -24,7 +24,7 @@ PixelModuleDetector::PixelModuleDetector(const Configuration& config) : PixelDet void PixelModuleDetector::config_bigpixel(const Configuration& config) { - m_big_pixel = config.getMatrix<int>("big_pixel"); + m_big_pixel = config.getMatrix<int>("big_pixels"); big_pixel_x.assign(m_big_pixel.at(0).begin(), m_big_pixel.at(0).end()); big_pixel_y.assign(m_big_pixel.at(1).begin(), m_big_pixel.at(1).end()); @@ -217,7 +217,7 @@ TMatrixD PixelModuleDetector::getSpatialResolutionMatrixGlobal(double column = 0 Configuration PixelModuleDetector::getConfiguration() const { auto config = PixelDetector::getConfiguration(); - config.setMatrix("big_pixel", m_big_pixel); + config.setMatrix("big_pixels", m_big_pixel); config.set<XYVector>("big_pixel_spatial_resolution", m_big_pixel_spatial_resolution); return config;