LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "SimPhotonCounterAlg.h"
Public Member Functions | |
SimPhotonCounterAlg (fhicl::ParameterSet const &) | |
void | InitializeCounters (geo::GeometryCore const &, opdet::OpDigiProperties const &) |
void | AddSimPhotonCollection (sim::SimPhotonsCollection const &) |
void | AddSimPhotonsVector (std::vector< sim::SimPhotons > const &) |
void | ClearCounters () |
SimPhotonCounter const & | GetSimPhotonCounter (size_t) |
std::vector< float > const & | PromptPhotonVector (size_t) |
std::vector< float > const & | LatePhotonVector (size_t) |
Private Member Functions | |
void | FillAllRanges (std::vector< fhicl::ParameterSet > const &) |
void | FillRanges (fhicl::ParameterSet const &) |
Private Attributes | |
std::vector< std::vector< float > > | fWavelengthRanges |
std::vector< std::vector< float > > | fTimeRanges |
std::vector< SimPhotonCounter > | fCounters |
Definition at line 29 of file SimPhotonCounterAlg.h.
opdet::SimPhotonCounterAlg::SimPhotonCounterAlg | ( | fhicl::ParameterSet const & | p | ) |
Title: SimPhotonCounterALG Class Author: Wes Ketchum (wketc) hum@ lanl. gov
Description: Alg class that counts up sim photons, leading towards comparisons with flashes and flash hypotheses.
Definition at line 15 of file SimPhotonCounterAlg.cxx.
References FillAllRanges(), and fhicl::ParameterSet::get().
void opdet::SimPhotonCounterAlg::AddSimPhotonCollection | ( | sim::SimPhotonsCollection const & | ph_col | ) |
Definition at line 71 of file SimPhotonCounterAlg.cxx.
References util::counter(), and fCounters.
void opdet::SimPhotonCounterAlg::AddSimPhotonsVector | ( | std::vector< sim::SimPhotons > const & | spv | ) |
Definition at line 82 of file SimPhotonCounterAlg.cxx.
References util::counter(), and fCounters.
Referenced by opdet::FlashHypothesisAnaAlg::RunComparison().
void opdet::SimPhotonCounterAlg::ClearCounters | ( | ) |
Definition at line 89 of file SimPhotonCounterAlg.cxx.
References util::counter(), and fCounters.
|
private |
Definition at line 20 of file SimPhotonCounterAlg.cxx.
References FillRanges(), fTimeRanges, and fWavelengthRanges.
Referenced by SimPhotonCounterAlg().
|
private |
Definition at line 32 of file SimPhotonCounterAlg.cxx.
References fTimeRanges, fWavelengthRanges, and fhicl::ParameterSet::get().
Referenced by FillAllRanges().
opdet::SimPhotonCounter const & opdet::SimPhotonCounterAlg::GetSimPhotonCounter | ( | size_t | i | ) |
Definition at line 105 of file SimPhotonCounterAlg.cxx.
References fCounters.
Referenced by opdet::FlashHypothesisAnaAlg::RunComparison().
void opdet::SimPhotonCounterAlg::InitializeCounters | ( | geo::GeometryCore const & | geo, |
opdet::OpDigiProperties const & | opdigip | ||
) |
Definition at line 56 of file SimPhotonCounterAlg.cxx.
References fCounters, fTimeRanges, fWavelengthRanges, opdet::OpDetResponseInterface::NOpChannels(), and opdet::OpDigiProperties::QE().
Referenced by opdet::FlashHypothesisAnaAlg::RunComparison().
std::vector< float > const & opdet::SimPhotonCounterAlg::LatePhotonVector | ( | size_t | i | ) |
Definition at line 100 of file SimPhotonCounterAlg.cxx.
References fCounters.
std::vector< float > const & opdet::SimPhotonCounterAlg::PromptPhotonVector | ( | size_t | i | ) |
Definition at line 95 of file SimPhotonCounterAlg.cxx.
References fCounters.
|
private |
Definition at line 48 of file SimPhotonCounterAlg.h.
Referenced by AddSimPhotonCollection(), AddSimPhotonsVector(), ClearCounters(), GetSimPhotonCounter(), InitializeCounters(), LatePhotonVector(), and PromptPhotonVector().
|
private |
Definition at line 47 of file SimPhotonCounterAlg.h.
Referenced by FillAllRanges(), FillRanges(), and InitializeCounters().
|
private |
Definition at line 46 of file SimPhotonCounterAlg.h.
Referenced by FillAllRanges(), FillRanges(), and InitializeCounters().