qupid 0.2
Quasi-Signal Generation Model for Pixelized Detector
Loading...
Searching...
No Matches
QPGraphFactory.hpp
1#ifndef __QPGRAPHFACTORY__
2#define __QPGRAPHFACTORY__ 1
3
4#include <string>
5
7class TH2D;
8
18 public:
22 QPGraphFactory(QPDigitizerBase* digitizer, std::string name);
23
27 TH2D * AnalogSignal(int ndiv=100);
31 TH2D * DigitalSignal();
36 TH2D * DigitizedSignal(double threshold=0.1);
37
43 void DrawDigitalSignalText(TH2D* h=nullptr);
46 void DrawPixelLinse(TH2D* h=nullptr);
47
49 QPDigitizerBase* GetDigitizer() const {return fDigitizer;}
50
51 protected:
52
53 private:
54 QPDigitizerBase* fDigitizer = nullptr;
55 std::string fName = "fac1";
56
57};
58
59
60
61#endif
Abstract pixel-matrix digitizer: owns the injected signals and the matrix geometry; concrete classes ...
Renders a digitizer's analog/digital/thresholded views as ROOT TH2D histograms (libqupidVis).
void DrawDigitalSignalText(TH2D *h=nullptr)
Draws each pixel's digital value as a TText on the current pad.
QPDigitizerBase * GetDigitizer() const
TH2D * AnalogSignal(int ndiv=100)
ndiv×ndiv sampling of GetAnalogSignal over the matrix.
TH2D * DigitizedSignal(double threshold=0.1)
Binary fired-pixel map: 1 where the digital signal exceeds threshold, 0 elsewhere.
TH2D * DigitalSignal()
One bin per pixel, filled with the pixel's integrated digital signal (electrons).
void DrawPixelLinse(TH2D *h=nullptr)
Not implemented; the body is empty.