Belle II Software development
|
Nominal time transition spread of PMT. More...
#include <TOPNominalTTS.h>
Classes | |
struct | Gauss |
Gaussian distribution parameters. More... | |
Public Member Functions | |
TOPNominalTTS () | |
Default constructor. | |
TOPNominalTTS (const std::string &name) | |
Constructor with name. | |
void | appendGaussian (double norm, double mean, double sigma) |
Append Gaussian. | |
void | setPMTType (unsigned type) |
Set type of PMT (see TOPPmtObsoleteData::EType for the defined types) | |
double | normalize () |
Normalize the distribution (fractions) | |
const std::vector< Gauss > & | getTTS () const |
Returns TTS. | |
unsigned | getPMTType () const |
Returns PMT type (see TOPPmtObsoleteData::EType for the defined types) | |
double | generateTTS () const |
Generate time according to TTS distribution. | |
bool | isConsistent () const override |
Check for consistency of data members. | |
void | print (const std::string &title="Nominal TTS distribution") const override |
Print the content of the class. | |
void | setName (const std::string &name) |
Sets object name. | |
const std::string & | getName () const |
Returns object name. | |
virtual void | printSurface (const GeoOpticalSurface &surface) const |
Print the content of optical surface. | |
double | getReflectivity (const GeoOpticalSurface &surface, double energy) const |
Returns reflectivity of optical surface at given photon energy. | |
Protected Member Functions | |
void | printUnderlined (const std::string &title) const |
Print the content of the class. | |
ClassDef (TOPGeoBase, 1) | |
ClassDef. | |
Protected Attributes | |
std::string | m_name |
geometry object name | |
Static Protected Attributes | |
static double | s_unit = Unit::cm |
conversion unit for length | |
static std::string | s_unitName |
conversion unit name | |
Private Member Functions | |
ClassDefOverride (TOPNominalTTS, 2) | |
ClassDef. | |
Private Attributes | |
std::vector< Gauss > | m_tts |
TTS distribution composed of a sum of Gaussians. | |
bool | m_normalized = false |
normalization flag | |
unsigned | m_type = 0 |
PMT type (see TOPPmtObsoleteData::EType) | |
Nominal time transition spread of PMT.
Definition at line 23 of file TOPNominalTTS.h.
|
inline |
|
inlineexplicit |
Constructor with name.
name | object name |
Definition at line 47 of file TOPNominalTTS.h.
|
inlineinherited |
|
inline |
Returns PMT type (see TOPPmtObsoleteData::EType for the defined types)
Definition at line 80 of file TOPNominalTTS.h.
|
inline |
Returns TTS.
Definition at line 74 of file TOPNominalTTS.h.
|
inlineinherited |
Sets object name.
name | object name |
Definition at line 45 of file TOPGeoBase.h.
|
inline |
Set type of PMT (see TOPPmtObsoleteData::EType for the defined types)
type | PMT type |
Definition at line 62 of file TOPNominalTTS.h.
|
protectedinherited |
geometry object name
Definition at line 89 of file TOPGeoBase.h.
|
private |
normalization flag
Definition at line 104 of file TOPNominalTTS.h.
|
private |
TTS distribution composed of a sum of Gaussians.
Definition at line 103 of file TOPNominalTTS.h.
|
private |
PMT type (see TOPPmtObsoleteData::EType)
Definition at line 105 of file TOPNominalTTS.h.