PDFPMTCharge Class Reference
|
Ratpac-two
|
Implementation of PMTCharge using database defined charge PDFs. More...
#include <PDFPMTCharge.hh>
Public Member Functions | |
| PDFPMTCharge (std::string pmt_model="") | |
| virtual double | PickCharge () const |
| virtual double | PDF (double q) const |
Protected Attributes | |
| std::vector< double > | fCharge |
| std::vector< double > | fChargeProb |
| std::vector< double > | fChargeProbCumu |
Detailed Description
Implementation of PMTCharge using database defined charge PDFs.
Simulates PMT time spread and cable delay from DB defined PDFs.
REVISION HISTORY:
2015-01-07 : B Land - Added doxygen header block
Enabled by setting MC.pmt_charge_model to the index of a table named PMTCHARGE. This table contains the charge PDF (which will be integrated and normalized) with charge values in the field charge and corresponding probabilities in the field charge_prob. A linear interpolation is done between discrete charge values, so the charge vector must be ordered by ascending charge.
REVISION HISTORY:
2015-01-07 : B Land - Added doxygen header block
Automatically chooses the right table for a given PMT model, or uses default table if no model is given.
Member Function Documentation
◆ PDF()
|
virtual |
Value of charge PDF at charge q (not normalized)
Value of charge PDF at charge q
Implements RAT::PMTCharge.
◆ PickCharge()
|
virtual |
Returns charge for one photoelectron.
Implements RAT::PMTCharge.
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/daq/include/RAT/PDFPMTCharge.hh
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/daq/src/PDFPMTCharge.cc
Generated by