LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
SimPhotonCounterAlg.h
Go to the documentation of this file.
1 #ifndef SIMPHOTONCOUNTERALG_H
2 #define SIMPHOTONCOUNTERALG_H
3 
12 #include "SimPhotonCounter.h"
13 
14 #include "fhiclcpp/ParameterSet.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
Access the description of detector geometry.
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 &)