Jpp
19.0.0
the software that should make you happy
|
Data structure for PMT parameters. More...
#include <JPMTParameters.hh>
Classes | |
class | JPMTParametersHelper |
Auxiliary class for I/O of PMT parameters. More... | |
Public Member Functions | |
JPMTParameters () | |
Default constructor. More... | |
JPMTParameters (const double QE, const double gain, const double gainSpread, const double riseTime_ns, const double TTS_ns, const double threshold, const double PunderAmplified, const double thresholdBand, const double mean_ns, const double sigma_ns, const double slope, const double saturation, const bool slewing=true) | |
Constructor. More... | |
const JPMTParameters & | getPMTParameters () const |
Get PMT parameters. More... | |
void | setPMTParameters (const JPMTParameters ¶meters) |
Set PMT parameters. More... | |
bool | is_valid () const |
Check validity of PMT parameters. More... | |
JProperties | getProperties (const JEquationParameters &equation=JPMTParameters::getEquationParameters()) |
Get properties of this class. More... | |
JProperties | getProperties (const JEquationParameters &equation=JPMTParameters::getEquationParameters()) const |
Get properties of this class. More... | |
Static Public Member Functions | |
static JEquationParameters & | getEquationParameters () |
Get equation parameters. More... | |
static void | setEquationParameters (const JEquationParameters &equation) |
Set equation parameters. More... | |
Public Attributes | |
double | QE |
relative quantum efficiency More... | |
double | gain |
gain [unit] More... | |
double | gainSpread |
gain spread [unit] More... | |
double | riseTime_ns |
rise time of analogue pulse [ns] More... | |
double | TTS_ns |
transition time spread [ns] More... | |
double | threshold |
threshold [npe] More... | |
double | PunderAmplified |
probability of underamplified hit More... | |
double | thresholdBand |
threshold-band [npe] More... | |
double | mean_ns |
mean time-over-threshold of threshold-band hits [ns] More... | |
double | sigma_ns |
time-over-threshold standard deviation of threshold-band hits [ns] More... | |
double | slope |
slope [ns/npe] More... | |
double | saturation |
saturation [ns] More... | |
bool | slewing |
time slewing of analogue signal More... | |
Friends | |
std::istream & | operator>> (std::istream &in, JPMTParameters &object) |
Stream input of PMT parameters. More... | |
std::ostream & | operator<< (std::ostream &out, const JPMTParameters &object) |
Stream output of PMT parameters. More... | |
Data structure for PMT parameters.
Definition at line 29 of file JPMTParameters.hh.
|
inline |
Default constructor.
This constuctor provides for default values of all PMT parameters. Note that only when the value of TTS_ns
is positive, it will be used to generate the PMT transition times. In this case, a normal distribution is used with a sigma equal to the specified value. By default, the value is negative. As a consequence, the PMT transition times will be generated according the measured distribution (see JPMTTransitTimeGenerator.hh
).
Definition at line 41 of file JPMTParameters.hh.
|
inline |
Constructor.
QE | relative quantum efficiency |
gain | gain [unit] |
gainSpread | gain spread [unit] |
riseTime_ns | rise time of analogue pulse [ns] |
TTS_ns | transition time spread [ns] |
threshold | threshold [npe] |
thresholdBand | threshold-band [npe] |
mean_ns | mean time-over-threshold of threshold-band hits [ns] |
sigma_ns | time-over-threshold standard deviation of threshold-band hits [ns] |
PunderAmplified | probability of underamplified hit |
slope | slope [ns/npe] |
saturation | saturation [ns] |
slewing | time slewing of analogue signal |
Definition at line 76 of file JPMTParameters.hh.
|
inline |
|
inline |
Set PMT parameters.
parameters | PMT parameters |
Definition at line 122 of file JPMTParameters.hh.
|
inline |
Check validity of PMT parameters.
Definition at line 133 of file JPMTParameters.hh.
|
inlinestatic |
Get equation parameters.
Definition at line 192 of file JPMTParameters.hh.
|
inlinestatic |
Set equation parameters.
equation | equation parameters |
Definition at line 205 of file JPMTParameters.hh.
|
inline |
Get properties of this class.
equation | equation parameters |
Definition at line 216 of file JPMTParameters.hh.
|
inline |
Get properties of this class.
equation | equation parameters |
Definition at line 227 of file JPMTParameters.hh.
|
friend |
Stream input of PMT parameters.
in | input stream |
object | PMT parameters |
Definition at line 154 of file JPMTParameters.hh.
|
friend |
Stream output of PMT parameters.
out | output stream |
object | PMT parameters |
Definition at line 172 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::QE |
relative quantum efficiency
Definition at line 233 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::gain |
gain [unit]
Definition at line 234 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::gainSpread |
gain spread [unit]
Definition at line 235 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::riseTime_ns |
rise time of analogue pulse [ns]
Definition at line 236 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::TTS_ns |
transition time spread [ns]
Definition at line 237 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::threshold |
threshold [npe]
Definition at line 238 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::PunderAmplified |
probability of underamplified hit
Definition at line 239 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::thresholdBand |
threshold-band [npe]
Definition at line 240 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::mean_ns |
mean time-over-threshold of threshold-band hits [ns]
Definition at line 241 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::sigma_ns |
time-over-threshold standard deviation of threshold-band hits [ns]
Definition at line 242 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::slope |
slope [ns/npe]
Definition at line 243 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::saturation |
saturation [ns]
Definition at line 244 of file JPMTParameters.hh.
bool JDETECTOR::JPMTParameters::slewing |
time slewing of analogue signal
Definition at line 245 of file JPMTParameters.hh.