#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 () |
Public Member Functions inherited from art::EDAnalyzer | |
| EDAnalyzer (fhicl::ParameterSet const &pset) | |
| template<typename Config > | |
| EDAnalyzer (Table< Config > const &config) | |
| std::string | workerType () const |
Public Member Functions inherited from art::detail::Analyzer | |
| virtual | ~Analyzer () noexcept |
| Analyzer (fhicl::ParameterSet const &pset) | |
| template<typename Config > | |
| Analyzer (Table< Config > const &config) | |
| void | doBeginJob (SharedResources const &resources) |
| void | doEndJob () |
| void | doRespondToOpenInputFile (FileBlock const &fb) |
| void | doRespondToCloseInputFile (FileBlock const &fb) |
| void | doRespondToOpenOutputFiles (FileBlock const &fb) |
| void | doRespondToCloseOutputFiles (FileBlock const &fb) |
| bool | doBeginRun (RunPrincipal &rp, ModuleContext const &mc) |
| bool | doEndRun (RunPrincipal &rp, ModuleContext const &mc) |
| bool | doBeginSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
| bool | doEndSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
| bool | doEvent (EventPrincipal &ep, ModuleContext const &mc, std::atomic< std::size_t > &counts_run, std::atomic< std::size_t > &counts_passed, std::atomic< std::size_t > &counts_failed) |
Public Member Functions inherited from art::Observer | |
| ~Observer () noexcept | |
| Observer (Observer const &)=delete | |
| Observer (Observer &&)=delete | |
| Observer & | operator= (Observer const &)=delete |
| Observer & | operator= (Observer &&)=delete |
| void | registerProducts (ProductDescriptions &, ModuleDescription const &) |
| void | fillDescriptions (ModuleDescription const &) |
| fhicl::ParameterSetID | selectorConfig () const |
Public Member Functions inherited from art::ModuleBase | |
| virtual | ~ModuleBase () noexcept |
| ModuleBase () | |
| ModuleDescription const & | moduleDescription () const |
| void | setModuleDescription (ModuleDescription const &) |
| std::array< std::vector< ProductInfo >, NumBranchTypes > const & | getConsumables () const |
| void | sortConsumables (std::string const ¤t_process_name) |
| template<typename T , BranchType BT> | |
| ViewToken< T > | consumesView (InputTag const &tag) |
| template<typename T , BranchType BT> | |
| ViewToken< T > | mayConsumeView (InputTag const &tag) |
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... | |
Additional Inherited Members | |
Public Types inherited from art::EDAnalyzer | |
| using | WorkerType = WorkerT< EDAnalyzer > |
| using | ModuleType = EDAnalyzer |
Protected Member Functions inherited from art::Observer | |
| std::string const & | processName () const |
| bool | wantAllEvents () const noexcept |
| bool | wantEvent (ScheduleID id, Event const &e) const |
| Handle< TriggerResults > | getTriggerResults (Event const &e) const |
| Observer (fhicl::ParameterSet const &config) | |
| Observer (std::vector< std::string > const &select_paths, std::vector< std::string > const &reject_paths, fhicl::ParameterSet const &config) | |
Protected Member Functions inherited from art::ModuleBase | |
| ConsumesCollector & | consumesCollector () |
| template<typename T , BranchType = InEvent> | |
| ProductToken< T > | consumes (InputTag const &) |
| template<typename Element , BranchType = InEvent> | |
| ViewToken< Element > | consumesView (InputTag const &) |
| template<typename T , BranchType = InEvent> | |
| void | consumesMany () |
| template<typename T , BranchType = InEvent> | |
| ProductToken< T > | mayConsume (InputTag const &) |
| template<typename Element , BranchType = InEvent> | |
| ViewToken< Element > | mayConsumeView (InputTag const &) |
| template<typename T , BranchType = InEvent> | |
| void | mayConsumeMany () |
Definition at line 17 of file SimPhotonCounter.h.
|
inline |
Definition at line 20 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 7 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 23 of file SimPhotonCounter.cxx.
| opdet::SimPhotonCounter::SimPhotonCounter | ( | const fhicl::ParameterSet & | ) |
| void opdet::SimPhotonCounter::AddOnePhoton | ( | size_t | i_opdet, |
| const sim::OnePhoton & | photon | ||
| ) |
Definition at line 63 of file SimPhotonCounter.cxx.
| void opdet::SimPhotonCounter::AddSimPhotons | ( | const sim::SimPhotons & | photons | ) |
Definition at line 77 of file SimPhotonCounter.cxx.
|
virtual |
Implements art::EDAnalyzer.
Definition at line 307 of file SimPhotonCounter_module.cc.
|
virtual |
Reimplemented from art::EDAnalyzer.
Definition at line 205 of file SimPhotonCounter_module.cc.
| void opdet::SimPhotonCounter::ClearVectors | ( | ) |
Definition at line 83 of file SimPhotonCounter.cxx.
|
virtual |
Reimplemented from art::EDAnalyzer.
Definition at line 299 of file SimPhotonCounter_module.cc.
|
inline |
Definition at line 27 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 63 of file SimPhotonCounter.h.
|
inline |
Definition at line 53 of file SimPhotonCounter.h.
|
inline |
Definition at line 55 of file SimPhotonCounter.h.
|
inline |
Definition at line 39 of file SimPhotonCounter.h.
|
inline |
Definition at line 37 of file SimPhotonCounter.h.
|
inline |
Definition at line 32 of file SimPhotonCounter.h.
|
inline |
Definition at line 38 of file SimPhotonCounter.h.
|
inline |
Definition at line 36 of file SimPhotonCounter.h.
|
inline |
Definition at line 31 of file SimPhotonCounter.h.
|
inline |
Definition at line 65 of file SimPhotonCounter.h.
| void opdet::SimPhotonCounter::Print | ( | void | ) |
Definition at line 101 of file SimPhotonCounter.cxx.
|
inline |
Definition at line 61 of file SimPhotonCounter.h.
|
inline |
Definition at line 52 of file SimPhotonCounter.h.
|
inline |
Definition at line 54 of file SimPhotonCounter.h.
|
inline |
Definition at line 42 of file SimPhotonCounter.h.
|
inline |
Definition at line 46 of file SimPhotonCounter.h.
|
inline |
Definition at line 41 of file SimPhotonCounter.h.
|
inline |
Definition at line 44 of file SimPhotonCounter.h.
| void opdet::SimPhotonCounter::SetTimeRanges | ( | float | t_p1, |
| float | t_p2, | ||
| float | t_l1, | ||
| float | t_l2 | ||
| ) |
Definition at line 54 of file SimPhotonCounter.cxx.
|
inline |
Definition at line 25 of file SimPhotonCounter.h.
| void opdet::SimPhotonCounter::SetWavelengthRanges | ( | float | min_w, |
| float | max_w | ||
| ) |
Definition at line 37 of file SimPhotonCounter.cxx.
|
private |
Definition at line 723 of file SimPhotonCounter_module.cc.
| std::vector< float > opdet::SimPhotonCounter::TotalPhotonVector | ( | ) | const |
Definition at line 91 of file SimPhotonCounter.cxx.
|
inline |
Definition at line 58 of file SimPhotonCounter.h.
|
private |
Definition at line 46 of file SimPhotonCounter.cxx.
|
private |
Definition at line 77 of file SimPhotonCounter.h.
|
private |
Definition at line 75 of file SimPhotonCounter.h.
|
private |
Definition at line 81 of file SimPhotonCounter.h.
|
private |
Definition at line 76 of file SimPhotonCounter.h.
|
private |
Definition at line 74 of file SimPhotonCounter.h.
|
private |
Definition at line 80 of file SimPhotonCounter.h.
|
private |
Definition at line 72 of file SimPhotonCounter.h.
|
private |
Definition at line 71 of file SimPhotonCounter.h.
|
private |
Definition at line 78 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.
1.8.11