![]() |
GosSiP
1.32
|
#include <daqMC.h>
Public Member Functions | |
daqMC () | |
~daqMC () | |
TGraph * | Discriminator (TGraph *waveform, double threshold) |
GResonseCurve | DynamicRange (int N, double Ngamma_max, double Ngamma_step) |
void | Progress (int) |
double | QDC (double charge) |
TH1D * | QDCSpectrum (int N) |
TGraph * | Scope () |
void | SetDiscriMinTime (double mintime) |
void | SetDiscriWidth (double width) |
void | SetPedestal (double Pedestal) |
void | SetPhotonSource (PhotonSource *myPhotonSource) |
void | SetQDCChannels (int nChannels) |
void | SetSiPM (sipmMC *mySiPM) |
void | Statistic (int N) |
TH1D * | TDCSpectrum (int N) |
TGraph * | ThreshScan (double gate, double tstart, double tstop, double tstep) |
Public Attributes | |
bool | cancel |
TGraph * | g_threshScan |
TH1D * | h_ap |
TH1D * | h_dr |
TH1D * | h_pe |
TH1D * | h_QDC |
TH1D * | h_TDC |
TH1D * | h_xt |
double | progress |
GResonseCurve | responseCurve |
Simple implementation of several characterization measurements
daqMC::daqMC | ( | ) |
daqMC::~daqMC | ( | ) |
TGraph * daqMC::Discriminator | ( | TGraph * | waveform, |
double | threshold | ||
) |
Returns discriminated waveform (MAY STILL BE BUGGY!)
GResonseCurve daqMC::DynamicRange | ( | int | N, |
double | Ngamma_max, | ||
double | Ngamma_step | ||
) |
Simulates saturation curve and RMS with "N" events per intensity from 0 to "Ngamma_max" photons with "Ngamma_step" step width
draw legend
draw legend
void daqMC::Progress | ( | int | p | ) |
double daqMC::QDC | ( | double | charge | ) |
Returns charge in QDC channels
TH1D * daqMC::QDCSpectrum | ( | int | N | ) |
Simulates charge spectrum with "N" events
TGraph * daqMC::Scope | ( | ) |
Returns waveform
|
inline |
Sets minimal time the input signal must be above the threshold for the discriminator to give a signal
|
inline |
Sets minimal duration discriminator output pulse in ns
|
inline |
Sets pedestal of QDC
|
inline |
Connect daqMC class with PhotonSource object
|
inline |
Sets number of QDC channels
void daqMC::Statistic | ( | int | N | ) |
Plots number of pde, ct, ap, dr events in "N" events
draw legend
TH1D * daqMC::TDCSpectrum | ( | int | N | ) |
Simulated time spectrum with "N" events
TGraph * daqMC::ThreshScan | ( | double | gate, |
double | tstart, | ||
double | tstop, | ||
double | tstep | ||
) |
Simulates theshold scan with "gate" integration time and thresholds from "tstart" to "tstop" with step size "tstep"
bool daqMC::cancel |
Cancels simulation process
TGraph* daqMC::g_threshScan |
Threshold scan graph
TH1D* daqMC::h_ap |
Number of after-pulses histogram
TH1D* daqMC::h_dr |
Number of thermal pulses histogram
TH1D* daqMC::h_pe |
Number of detected photons histogram
TH1D* daqMC::h_QDC |
Charge spectrum histogram
TH1D* daqMC::h_TDC |
Time spectrum histogram
TH1D* daqMC::h_xt |
SNumber of cross-talk histogram
double daqMC::progress |
Progress of simulation
GResonseCurve daqMC::responseCurve |
Response curve and resolution graphs