qupid 0.2
Quasi-Signal Generation Model for Pixelized Detector
Loading...
Searching...
No Matches
QPPixel.hpp
1#ifndef __QPPIXEL__
2#define __QPPIXEL__ 1
3
4#include "QPPixelBase.hpp"
5
6class QPSignalBase;
8
11class QPPixel: public QPPixelBase{
12 public:
20 QPPixel(const double & x0, const double & y0,
21 const double & x1, const double & y1,
22 QPDigitizerBase* digitizer=nullptr,
23 const int & i=0, const int & j=0);
25 virtual ~QPPixel();
27 virtual void Delete();
31 virtual double GetDigitalSignalOne(QPSignalBase * signal);
32
34 int GetPixX() const {return fIndX;}
36 int GetPixY() const {return fIndY;}
41 int GetPixelSizeX() const {return fx1-fx0;}
46 int GetPixelSizeY() const {return fy1-fy0;}
47 protected:
48 private:
49 double fx0=0.;
50 double fy0=0.;
51 double fx1=1.;
52 double fy1=1.;
53
54 int fIndX = 0;
55 int fIndY = 0;
56};
57
58#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 ,...
Abstract pixel bound to a digitizer: pulls the digitizer's injected signals and integrates them over ...
Rectangular pixel cell (µm) with grid indices (i, j).
Definition QPPixel.hpp:11
int GetPixY() const
Definition QPPixel.hpp:36
virtual void Delete()
Cleanup hook; currently a no-op.
Definition QPPixel.cpp:16
int GetPixelSizeY() const
Cell extent along y.
Definition QPPixel.hpp:46
virtual ~QPPixel()
Trivial; the pixel owns nothing.
Definition QPPixel.cpp:14
int GetPixX() const
Definition QPPixel.hpp:34
virtual double GetDigitalSignalOne(QPSignalBase *signal)
Charge collected from one signal: its Integral over this cell.
Definition QPPixel.cpp:18
int GetPixelSizeX() const
Cell extent along x.
Definition QPPixel.hpp:41
Abstract charge signal: a normalized 2D PDF scaled by an amplitude.