11#include <top/reconstruction_cpp/BackgroundPDF.h>
12#include <top/reconstruction_cpp/PixelPositions.h>
13#include <top/reconstruction_cpp/TOPTrack.h>
77 double getPDFValue(
double time,
double dt0 = 0,
double acc = 1)
const;
85 double getIntegral(
double minTime,
double maxTime)
const;
118 double timeDistr(
double t,
double t0)
const;
135 double peakFraction(
double tmin,
double tmax,
double t0)
const;
158 double photonYield(
double beta,
int PDGCode)
const;
194 return 1 - acos(x) * 4 / M_PI;
201 if (t < t0)
return 0;
207 double t = time -
m_TOF;
Provides a type-safe way to pass members of the chargedStableSet set.
Parametrization of background PDF in pixels of single module.
Parametrization of delta-ray PDF in pixels of single module.
double m_dispersion
dispersion coefficient
double m_dirT0
minimal propagation time of direct photons
double m_reflT0
minimal propagation time of reflected photons
double totalFraction(double tmin, double tmax) const
Total fraction of delta-ray photons within given propagation time interval.
double directFraction(double z) const
Fraction of direct photons from delta-rays, e.g direct/(direct+reflected)
double m_zD
detector (photo-cathode) position in z
double m_dirFrac
fraction of direct photons
void prepare(const TOPTrack &track, const Const::ChargedStable &hypothesis)
Prepare the object.
double m_yE
average photon emission position in y
double m_TOF
time-of-flight of particle
double m_groupIndex
group refractive index
const BackgroundPDF * m_background
background PDF
double photonYield(double beta, int PDGCode) const
Photon yield from delta-rays per track length in quartz for nominal photon detection efficiency.
int getModuleID() const
Returns slot ID.
std::vector< double > m_norms
relative angular distribution normalization constants (cumulative)
std::vector< GausXY > m_tableGaus
table of normal (Gaussian) distribution
double m_zM
spherical mirror position in z
double m_angularNorm
angular distribution normalization constant
double getFraction() const
Returns fraction of delta-ray photons in the time window.
double peakFraction(double tmin, double tmax, double t0) const
Fraction of delta-ray photons within given propagation time interval for single peak at t0.
double m_fraction
fraction of delta-ray photons within time window
std::vector< double > m_pixelAcceptances
pixel angular acceptances for direct peak (index = pixelID - 1)
double m_phaseIndex
phase refractive index
double getNumPhotons() const
Returns number of photons.
double getIntegral(double minTime, double maxTime) const
Returns integral of PDF from minTime to maxTime.
double smearedTimeDistr(double t, double t0) const
Smeared time distribution of photons from delta rays (normalized).
const PixelPositions * m_pixelPositions
pixel positions
double angularDistr(double kz) const
Angular distribution of photons from delta rays w/ total reflection requirement.
double m_zE
average photon emission position in z
double m_numPhotons
number of photons
double getPDFValue(int pixelID, double time) const
Returns PDF value at given time and pixel.
double timeDistr(double t, double t0) const
Time distribution of photons from delta rays (normalized).
double m_xE
average photon emission position in x
Pixel positions and dimensions in module local frame.
Reconstructed track at TOP.
double sqrt(double a)
sqrt for double
Abstract base class for different kinds of events.
Normal (Gaussian) distribution: an entry for the table.
GausXY(double X)
Constructor.