#include <SimPhotonCounter.h>
Public Member Functions | |
SimPhotonCounter () | |
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) | |
SimPhotonCounter (float t_p1, float t_p2, float t_l1, float t_l2, float min_w, float max_w, const std::vector< float > &eV) | |
void | SetVectorSize (size_t s) |
size_t | GetVectorSize () const |
void | SetWavelengthRanges (float min_w, float max_w) |
float | MinWavelength () const |
float | MaxWavelength () const |
void | SetTimeRanges (float t_p1, float t_p2, float t_l1, float t_l2) |
float | MinPromptTime () const |
float | MaxPromptTime () const |
float | MinLateTime () const |
float | MaxLateTime () const |
void | SetQE (size_t i, float e) |
float | QE (size_t i) const |
void | SetQEVector (const std::vector< float > &eV) |
std::vector< float > const & | QEVector () const |
void | AddOnePhoton (size_t i_opdet, const sim::OnePhoton &photon) |
void | AddSimPhotons (const sim::SimPhotons &photons) |
void | ClearVectors () |
const std::vector< float > & | PromptPhotonVector () const |
const std::vector< float > & | LatePhotonVector () const |
float | PromptPhotonVector (size_t i) const |
float | LatePhotonVector (size_t i) const |
std::vector< float > | TotalPhotonVector () const |
float | TotalPhotonVector (size_t i) const |
float | PromptPhotonTotal () const |
float | LatePhotonTotal () const |
float | PhotonTotal () const |
void | Print () |
SimPhotonCounter (const fhicl::ParameterSet &) | |
void | analyze (art::Event const &) |
void | beginJob () |
void | endJob () |
Private Member Functions | |
float | Wavelength (const sim::OnePhoton &ph) |
void | storeVisibility (int channel, int nDirectPhotons, int nReflectedPhotons, double reflectedT0=0.0) const |
bool | isVisible (double wavelength) const |
Returns if we label as "visibile" a photon with specified wavelength [nm]. More... | |
Static Private Attributes | |
static constexpr double | kVisibleThreshold = 200.0 |
Threshold used to resolve between visible and ultraviolet light. More... | |
static constexpr double | kVisibleWavelength = 450.0 |
Value used when a typical visible light wavelength is needed. More... | |
static constexpr double | kVUVWavelength = 128.0 |
Value used when a typical ultraviolet light wavelength is needed. More... | |
Definition at line 22 of file SimPhotonCounter.h.
|
inline |
Definition at line 25 of file SimPhotonCounter.h.
opdet::SimPhotonCounter::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 |
||
) |
Definition at line 10 of file SimPhotonCounter.cxx.
opdet::SimPhotonCounter::SimPhotonCounter | ( | float | t_p1, |
float | t_p2, | ||
float | t_l1, | ||
float | t_l2, | ||
float | min_w, | ||
float | max_w, | ||
const std::vector< float > & | eV | ||
) |
Definition at line 26 of file SimPhotonCounter.cxx.
opdet::SimPhotonCounter::SimPhotonCounter | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 173 of file SimPhotonCounter_module.cc.
void opdet::SimPhotonCounter::AddOnePhoton | ( | size_t | i_opdet, |
const sim::OnePhoton & | photon | ||
) |
Definition at line 66 of file SimPhotonCounter.cxx.
void opdet::SimPhotonCounter::AddSimPhotons | ( | const sim::SimPhotons & | photons | ) |
Definition at line 80 of file SimPhotonCounter.cxx.
void opdet::SimPhotonCounter::analyze | ( | art::Event const & | evt | ) |
Definition at line 307 of file SimPhotonCounter_module.cc.
void opdet::SimPhotonCounter::beginJob | ( | ) |
Definition at line 205 of file SimPhotonCounter_module.cc.
void opdet::SimPhotonCounter::ClearVectors | ( | ) |
Definition at line 86 of file SimPhotonCounter.cxx.
void opdet::SimPhotonCounter::endJob | ( | ) |
Definition at line 299 of file SimPhotonCounter_module.cc.
|
inline |
Definition at line 32 of file SimPhotonCounter.h.
|
inlineprivate |
Returns if we label as "visibile" a photon with specified wavelength [nm].
Definition at line 163 of file SimPhotonCounter_module.cc.
|
inline |
Definition at line 68 of file SimPhotonCounter.h.
|
inline |
Definition at line 58 of file SimPhotonCounter.h.
|
inline |
Definition at line 60 of file SimPhotonCounter.h.
|
inline |
Definition at line 44 of file SimPhotonCounter.h.
|
inline |
Definition at line 42 of file SimPhotonCounter.h.
|
inline |
Definition at line 37 of file SimPhotonCounter.h.
|
inline |
Definition at line 43 of file SimPhotonCounter.h.
|
inline |
Definition at line 41 of file SimPhotonCounter.h.
|
inline |
Definition at line 36 of file SimPhotonCounter.h.
|
inline |
Definition at line 70 of file SimPhotonCounter.h.
void opdet::SimPhotonCounter::Print | ( | ) |
Definition at line 104 of file SimPhotonCounter.cxx.
|
inline |
Definition at line 66 of file SimPhotonCounter.h.
|
inline |
Definition at line 57 of file SimPhotonCounter.h.
|
inline |
Definition at line 59 of file SimPhotonCounter.h.
|
inline |
Definition at line 47 of file SimPhotonCounter.h.
|
inline |
Definition at line 51 of file SimPhotonCounter.h.
|
inline |
Definition at line 46 of file SimPhotonCounter.h.
|
inline |
Definition at line 49 of file SimPhotonCounter.h.
void opdet::SimPhotonCounter::SetTimeRanges | ( | float | t_p1, |
float | t_p2, | ||
float | t_l1, | ||
float | t_l2 | ||
) |
Definition at line 57 of file SimPhotonCounter.cxx.
|
inline |
Definition at line 30 of file SimPhotonCounter.h.
void opdet::SimPhotonCounter::SetWavelengthRanges | ( | float | min_w, |
float | max_w | ||
) |
Definition at line 40 of file SimPhotonCounter.cxx.
|
private |
Definition at line 723 of file SimPhotonCounter_module.cc.
std::vector< float > opdet::SimPhotonCounter::TotalPhotonVector | ( | ) | const |
Definition at line 94 of file SimPhotonCounter.cxx.
|
inline |
Definition at line 63 of file SimPhotonCounter.h.
|
private |
Definition at line 49 of file SimPhotonCounter.cxx.
|
private |
Definition at line 82 of file SimPhotonCounter.h.
|
private |
Definition at line 80 of file SimPhotonCounter.h.
|
private |
Definition at line 86 of file SimPhotonCounter.h.
|
private |
Definition at line 81 of file SimPhotonCounter.h.
|
private |
Definition at line 79 of file SimPhotonCounter.h.
|
private |
Definition at line 85 of file SimPhotonCounter.h.
|
private |
Definition at line 77 of file SimPhotonCounter.h.
|
private |
Definition at line 76 of file SimPhotonCounter.h.
|
private |
Definition at line 83 of file SimPhotonCounter.h.
|
private |
Definition at line 129 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 130 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 124 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 125 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 126 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 143 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 143 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 133 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 116 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 101 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 141 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 106 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 105 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 137 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 108 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 107 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 142 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 134 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 142 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 144 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 149 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 152 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 142 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 139 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 138 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 148 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 147 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 145 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 146 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 127 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 96 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 95 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 93 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 94 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 122 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 142 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 154 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 103 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 121 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 115 of file SimPhotonCounter_module.cc.
|
staticprivate |
Threshold used to resolve between visible and ultraviolet light.
Definition at line 83 of file SimPhotonCounter_module.cc.
|
staticprivate |
Value used when a typical visible light wavelength is needed.
Definition at line 86 of file SimPhotonCounter_module.cc.
|
staticprivate |
Value used when a typical ultraviolet light wavelength is needed.
Definition at line 89 of file SimPhotonCounter_module.cc.
|
private |
Definition at line 151 of file SimPhotonCounter_module.cc.