1 #ifndef SIMPHOTONCOUNTER_H 2 #define SIMPHOTONCOUNTER_H 21 SimPhotonCounter(
size_t s,
float t_p1,
float t_p2,
float t_l1,
float t_l2,
float min_w=0,
float max_w=1e6,
float e=1.0);
23 SimPhotonCounter(
float t_p1,
float t_p2,
float t_l1,
float t_l2,
float min_w,
float max_w,
const std::vector<float>&
eV);
34 void SetTimeRanges(
float t_p1,
float t_p2,
float t_l1,
float t_l2);
void SetQEVector(const std::vector< float > &eV)
float MinPromptTime() const
void SetTimeRanges(float t_p1, float t_p2, float t_l1, float t_l2)
float MinLateTime() const
void SetVectorSize(size_t s)
All information of a photon entering the sensitive optical detector volume.
std::vector< float > _photonVector_prompt
const std::vector< float > & PromptPhotonVector() const
float MinWavelength() const
std::vector< float > TotalPhotonVector() const
Simulation objects for optical detectors.
static constexpr double eV
float MaxWavelength() const
float MaxPromptTime() const
float Wavelength(const sim::OnePhoton &ph)
float MaxLateTime() const
void SetQE(size_t i, float e)
Collection of photons which recorded on one channel.
const std::vector< float > & LatePhotonVector() const
float TotalPhotonVector(size_t i) const
float LatePhotonVector(size_t i) const
float PhotonTotal() const
float PromptPhotonTotal() const
std::vector< float > _qeVector
std::vector< float > _photonVector_late
void AddOnePhoton(size_t i_opdet, const sim::OnePhoton &photon)
void SetWavelengthRanges(float min_w, float max_w)
void AddSimPhotons(const sim::SimPhotons &photons)
std::vector< float > const & QEVector() const
size_t GetVectorSize() const
float LatePhotonTotal() const
float PromptPhotonVector(size_t i) const