11#include <framework/datastore/RelationsObject.h>
Defines interface for accessing relations of objects in StoreArray.
Class to store analytic PDF associated with a photon.
std::vector< float > m_weights
corresponding weights
void setBackgroundWeight(float weight)
Set background weight.
const std::vector< PDFPeak > & getPeaks() const
Returns a collection of associated PDF peaks.
void setDeltaRayWeight(float weight)
Set delta-ray weight.
float getDeltaRayWeight() const
Returns delta-ray weight.
float getBGWeight() const
Returns background weight.
int m_PDG
PDG code of a particle hypothesis used to construct PDF.
float m_deltaRayWeight
delta-ray weight
std::vector< PDFPeak > m_peaks
collection of associated PDF peaks
void appendPeak(const PDFPeak &peak, float weight)
Append PDF peak.
const std::vector< float > & getWeights() const
Returns weights of associated PDF peaks.
TOPAssociatedPDF(int PDG)
Useful constructor.
int getPDGHypothesis() const
Returns PDG code of a particle hypothesis used to construct PDF.
float m_BGWeight
background weight
TOPAssociatedPDF()
Default constructor.
ClassDefOverride(TOPAssociatedPDF, 2)
ClassDef.
const PDFPeak * getSinglePeak() const
Returns a PDF peak selected randomly according to weights.
Abstract base class for different kinds of events.
int nx
total number of reflections in x
float kxd
reconstructed photon direction in x at detection
float fic
Cerenkov azimuthal angle phi.
float kze
reconstructed photon direction in z at emission
float e
mean photon energy [eV]
float xd
unfolded x coordinate of a pixel
int nym
number of reflections in y before mirror
int nxe
number of reflections in x in prism
int nye
number of reflections in y in prism
int nxm
number of reflections in x before mirror
float position
position in time
float kzd
reconstructed photon direction in z at detection
float sige
photon energy sigma squared [eV^2]
int ny
total number of reflections in y
float numPhotons
number of photons
float kyd
reconstructed photon direction in y at detection
int type
0 unknown, 1 direct photon, 2 reflected photon
float yd
unfolded y coordinate of a pixel
float kxe
reconstructed photon direction in x at emission
float kye
reconstructed photon direction in y at emission