Jpp
|
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 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 | 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] |
slope | slope [ns/npe] |
saturation | saturation [ns] |
slewing | time slewing of analogue signal |
Definition at line 68 of file JPMTParameters.hh.
|
inline |
|
inline |
Set PMT parameters.
parameters | PMT parameters |
Definition at line 106 of file JPMTParameters.hh.
|
inline |
Check validity of PMT parameters.
Definition at line 117 of file JPMTParameters.hh.
|
inlinestatic |
Get equation parameters.
Definition at line 175 of file JPMTParameters.hh.
|
inlinestatic |
Set equation parameters.
equation | equation parameters |
Definition at line 188 of file JPMTParameters.hh.
|
inline |
Get properties of this class.
equation | equation parameters |
Definition at line 199 of file JPMTParameters.hh.
|
inline |
Get properties of this class.
equation | equation parameters |
Definition at line 210 of file JPMTParameters.hh.
|
friend |
Stream input of PMT parameters.
in | input stream |
object | PMT parameters |
Definition at line 137 of file JPMTParameters.hh.
|
friend |
Stream output of PMT parameters.
out | output stream |
object | PMT parameters |
Definition at line 155 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::QE |
relative quantum efficiency
Definition at line 216 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::gain |
gain [unit]
Definition at line 217 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::gainSpread |
gain spread [unit]
Definition at line 218 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::riseTime_ns |
rise time of analogue pulse [ns]
Definition at line 219 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::TTS_ns |
transition time spread [ns]
Definition at line 220 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::threshold |
threshold [npe]
Definition at line 221 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::slope |
slope [ns/npe]
Definition at line 222 of file JPMTParameters.hh.
double JDETECTOR::JPMTParameters::saturation |
saturation [ns]
Definition at line 223 of file JPMTParameters.hh.
bool JDETECTOR::JPMTParameters::slewing |
time slewing of analogue signal
Definition at line 224 of file JPMTParameters.hh.