38 EnergyMask(
double dyde,
double dydL,
double dydx,
double dy,
double dL,
double dx,
double dE);
92 double getMask(
int i,
double fract)
const;
123 double mask(
int i)
const;
140 unsigned k = std::abs(i);
A mask for energy masking.
const std::vector< double > & getMask() const
Returns discrete mask (note: only half of the mask is stored)
double getFullWidth() const
Returns mask full width.
double threeSquareConvolution(double E) const
Returns a value of convolution of three square distributions at given photon energy.
double m_C
the smallset energy full width
double mask(int i) const
Returns mask value at given index from stored discrete mask.
double twoSquareConvolution(double E) const
Returns a value of convolution of two square distributions at given photon energy using the largest t...
double m_Wy
enegy full width of dy
static void setNMax(unsigned Nmax)
Sets maximal size of discrete mask.
double getStep() const
Returns energy step size of the discrete mask.
std::vector< double > m_mask
discrete mask (half of)
double m_A
the largest energy full width
double m_B
the middle energy full width
static unsigned s_Nmin
minimal mask size
static unsigned s_Nmax
maximal mask size
double getEnergyDifference(int i)
Returns energy difference w.r.t center of mask.
static void setNMin(unsigned Nmin)
Sets minimal size of discrete mask.
Abstract base class for different kinds of events.