qupid 0.2
Quasi-Signal Generation Model for Pixelized Detector
Loading...
Searching...
No Matches
QPDigitizerSquare.hpp
1#ifndef __QPDIGITIZERSQUARE__
2#define __QPDIGITIZERSQUARE__ 1
3
4#include "QPDigitizerBase.hpp"
5#include "QPPixel.hpp"
6
8
14 public:
19 QPDigitizerSquare(double sizex=1, double sizey=1, int npixx=1, int npixy=1);
20
21 // virtual double GetAnalogSignal(const double& x, const double& y);
22
31 virtual QPPixel* GetPixel(const int index);
40 virtual QPPixel* GetPixel(const int i, const int j);
41
42 protected:
43
44 private:
45
47 friend class QPGraphFactory;
48};
49
50#endif
Abstract pixel-matrix digitizer: owns the injected signals and the matrix geometry; concrete classes ...
Uniform rectangular pixel grid centered on the origin: pixel (i, j) covers with pitch ,...
virtual QPPixel * GetPixel(const int index)
Pixel by linear index, decomposed as (index / npixx, index % npixx) and forwarded to GetPixel(int,...
Renders a digitizer's analog/digital/thresholded views as ROOT TH2D histograms (libqupidVis).
Rectangular pixel cell (µm) with grid indices (i, j).
Definition QPPixel.hpp:11