GosSiP  1.32
daqMC Class Reference

#include <daqMC.h>

Collaboration diagram for daqMC:

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
 

Detailed Description

Simple implementation of several characterization measurements

Constructor & Destructor Documentation

daqMC::daqMC ( )

Here is the call graph for this function:

daqMC::~daqMC ( )

Member Function Documentation

TGraph * daqMC::Discriminator ( TGraph *  waveform,
double  threshold 
)

Returns discriminated waveform (MAY STILL BE BUGGY!)

Here is the call graph for this function:

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

Here is the call graph for this function:

void daqMC::Progress ( int  p)

Here is the caller graph for this function:

double daqMC::QDC ( double  charge)

Returns charge in QDC channels

Here is the caller graph for this function:

TH1D * daqMC::QDCSpectrum ( int  N)

Simulates charge spectrum with "N" events

Here is the call graph for this function:

TGraph * daqMC::Scope ( )

Returns waveform

Here is the call graph for this function:

void daqMC::SetDiscriMinTime ( double  mintime)
inline

Sets minimal time the input signal must be above the threshold for the discriminator to give a signal

void daqMC::SetDiscriWidth ( double  width)
inline

Sets minimal duration discriminator output pulse in ns

void daqMC::SetPedestal ( double  Pedestal)
inline

Sets pedestal of QDC

Here is the caller graph for this function:

void daqMC::SetPhotonSource ( PhotonSource myPhotonSource)
inline

Connect daqMC class with PhotonSource object

void daqMC::SetQDCChannels ( int  nChannels)
inline

Sets number of QDC channels

Here is the caller graph for this function:

void daqMC::SetSiPM ( sipmMC mySiPM)
inline

Connect daqMC class with sipmMC object

void daqMC::Statistic ( int  N)

Plots number of pde, ct, ap, dr events in "N" events

draw legend

Here is the call graph for this function:

TH1D * daqMC::TDCSpectrum ( int  N)

Simulated time spectrum with "N" events

Here is the call graph for this function:

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"

Here is the call graph for this function:

Member Data Documentation

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


The documentation for this class was generated from the following files: