Belle II Software development
TOPPulseHeightPar Struct Reference

Struct holding the pulse height parameterizations for the TOP counter. More...

#include <TOPPulseHeightPar.h>

Public Member Functions

double getValue (double x) const
 Returns a value of non-normalized pulse height distribution at x Multiply with getNorm() to get normalized one.
 
double getNorm () const
 Returns normalization constant.
 
double getMean () const
 Returns distribution mean.
 
double getRMS () const
 Returns distribution standard deviation.
 
double getPeakPosition () const
 Returns the position of distribution maximum.
 
double getThresholdEffi (double threshold, double rmsNoise, int n=100) const
 Returns threshold efficiency.
 

Public Attributes

float x0 = 0
 distribution parameter x0 [ADC counts]
 
float p1 = 0
 distribution parameter p1
 
float p2 = 0
 distribution parameter p2
 

Detailed Description

Struct holding the pulse height parameterizations for the TOP counter.

Parameterization is: P(x) = (x/x0)^p1 * exp(-(x/x0)^p2), x0 > 0, p1 >= 0, p2 > 0 From channel gain/efficiency calibration

Definition at line 21 of file TOPPulseHeightPar.h.

Member Data Documentation

◆ p1

float p1 = 0

distribution parameter p1

Definition at line 23 of file TOPPulseHeightPar.h.

◆ p2

float p2 = 0

distribution parameter p2

Definition at line 24 of file TOPPulseHeightPar.h.

◆ x0

float x0 = 0

distribution parameter x0 [ADC counts]

Definition at line 22 of file TOPPulseHeightPar.h.


The documentation for this struct was generated from the following files: