1 #ifndef SIMPHOTONCOUNTER_H
2 #define SIMPHOTONCOUNTER_H
26 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);
28 SimPhotonCounter(
float t_p1,
float t_p2,
float t_l1,
float t_l2,
float min_w,
float max_w,
const std::vector<float>& eV);
39 void SetTimeRanges(
float t_p1,
float t_p2,
float t_l1,
float t_l2);
void SetQEVector(const std::vector< float > &eV)
float MinPromptTime() const
process_name can override from command line with o or output photon
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
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
then echo File list $list not found else cat $list while read file do echo $file sed s
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