 |
Belle II Software
release-05-02-19
|
13 #include <top/dbobjects/TOPGeoBase.h>
25 class TOPNominalTTS:
public TOPGeoBase {
74 const std::vector<Gauss>&
getTTS()
const {
return m_tts;}
98 void print(
const std::string& title =
"Nominal TTS distribution")
const override;
103 std::vector<Gauss>
m_tts;
float fraction
area normalization
unsigned m_type
PMT type (see TOPPmtObsoleteData::EType)
unsigned getPMTType() const
Returns PMT type (see TOPPmtObsoleteData::EType for the defined types)
double normalize()
Normalize the distribution (fractions)
float position
peak position [ns]
Base class for geometry parameters.
float sigma
peak width [ns]
ClassDefOverride(TOPNominalTTS, 2)
ClassDef.
void setPMTType(unsigned type)
Set type of PMT (see TOPPmtObsoleteData::EType for the defined types)
void appendGaussian(double norm, double mean, double sigma)
Append Gaussian.
Abstract base class for different kinds of events.
bool m_normalized
normalization flag
TOPNominalTTS()
Default constructor.
bool isConsistent() const override
Check for consistency of data members.
double generateTTS() const
Generate time according to TTS distribution.
const std::vector< Gauss > & getTTS() const
Returns TTS.
void print(const std::string &title="Nominal TTS distribution") const override
Print the content of the class.
std::vector< Gauss > m_tts
TTS distribution composed of a sum of Gaussians.