SimPhotonCounterAlg.h
Go to the documentation of this file.
1 #ifndef SIMPHOTONCOUNTERALG_H
2 #define SIMPHOTONCOUNTERALG_H
3 
4 /*!
5  * Title: SimPhotonCounterALG Class
6  * Author: Wes Ketchum (wketchum@lanl.gov)
7  *
8  * Description: Alg class that counts up sim photons, leading towards
9  * comparisons with flashes and flash hypotheses.
10 */
11 
12 #include "SimPhotonCounter.h"
13 
14 #include "fhiclcpp/fwd.h"
15 
17 #include "OpDigiProperties.h"
18 
19 namespace opdet{
20 
22 
23  public:
25 
28 
30  void AddSimPhotonsVector(std::vector<sim::SimPhotons> const&);
31 
32  void ClearCounters();
33 
35  std::vector<float> const& PromptPhotonVector(size_t);
36  std::vector<float> const& LatePhotonVector(size_t);
37 
38  private:
39 
40  std::vector< std::vector<float> > fWavelengthRanges;
41  std::vector< std::vector<float> > fTimeRanges;
42  std::vector<SimPhotonCounter> fCounters;
43 
44  void FillAllRanges(std::vector<fhicl::ParameterSet> const&);
45  void FillRanges(fhicl::ParameterSet const&);
46 
47  };
48 
49 }
50 
51 
52 #endif
void InitializeCounters(geo::GeometryCore const &, opdet::OpDigiProperties const &)
std::vector< float > const & LatePhotonVector(size_t)
void FillRanges(fhicl::ParameterSet const &)
SimPhotonCounter const & GetSimPhotonCounter(size_t)
void FillAllRanges(std::vector< fhicl::ParameterSet > const &)
void AddSimPhotonsVector(std::vector< sim::SimPhotons > const &)
std::vector< SimPhotonCounter > fCounters
std::vector< std::vector< float > > fTimeRanges
SimPhotonCounterAlg(fhicl::ParameterSet const &)
Description of geometry of one entire detector.
std::vector< float > const & PromptPhotonVector(size_t)
std::vector< std::vector< float > > fWavelengthRanges
void AddSimPhotonCollection(sim::SimPhotonsCollection const &)
Access the description of detector geometry.
Collection of sim::SimPhotons, indexed by channel number.
Definition: SimPhotons.h:192