LArSoft
v06_85_00
Liquid Argon Software toolkit - http://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 21 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 12 of file SimPhotonCounterAlg.cxx.
References FillAllRanges(), and fhicl::ParameterSet::get().
void opdet::SimPhotonCounterAlg::AddSimPhotonCollection | ( | sim::SimPhotonsCollection const & | ph_col | ) |
Definition at line 65 of file SimPhotonCounterAlg.cxx.
References fCounters.
void opdet::SimPhotonCounterAlg::AddSimPhotonsVector | ( | std::vector< sim::SimPhotons > const & | spv | ) |
Definition at line 75 of file SimPhotonCounterAlg.cxx.
References fCounters.
Referenced by opdet::FlashHypothesisAnaAlg::RunComparison().
void opdet::SimPhotonCounterAlg::ClearCounters | ( | ) |
Definition at line 82 of file SimPhotonCounterAlg.cxx.
References fCounters.
|
private |
Definition at line 17 of file SimPhotonCounterAlg.cxx.
References FillRanges(), fTimeRanges, and fWavelengthRanges.
Referenced by SimPhotonCounterAlg().
|
private |
Definition at line 29 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 98 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 53 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 93 of file SimPhotonCounterAlg.cxx.
References fCounters.
std::vector< float > const & opdet::SimPhotonCounterAlg::PromptPhotonVector | ( | size_t | i | ) |
Definition at line 88 of file SimPhotonCounterAlg.cxx.
References fCounters.
|
private |
Definition at line 42 of file SimPhotonCounterAlg.h.
Referenced by AddSimPhotonCollection(), AddSimPhotonsVector(), ClearCounters(), GetSimPhotonCounter(), InitializeCounters(), LatePhotonVector(), and PromptPhotonVector().
|
private |
Definition at line 41 of file SimPhotonCounterAlg.h.
Referenced by FillAllRanges(), FillRanges(), and InitializeCounters().
|
private |
Definition at line 40 of file SimPhotonCounterAlg.h.
Referenced by FillAllRanges(), FillRanges(), and InitializeCounters().