10 #ifndef PHOTONVISIBILITYSERVICE_H
11 #define PHOTONVISIBILITYSERVICE_H
24 class PhotonVisibilityService {
37 float GetVisibility(
double* xyz,
unsigned int OpChannel )
const;
38 float GetVisibility(
double x,
double y,
double z,
unsigned int OpChannel )
const;
119 #endif // UTIL_DETECTOR_PROPERTIES_H
process_name opflash particleana ie ie ie z
std::vector< std::vector< float > > GetVisibilityYZ(double x) const
std::vector< std::vector< float > > GetVisibilityXY(double z) const
phot::IPhotonLibrary::Counts_t GetLibraryEntries(int VoxID, bool wantReflected=false) const
void RetrieveLightProd(int &VoxID, double &N) const
std::vector< std::vector< float > > GetVisibilityZX(double y) const
bool UseParameterization() const
process_name opflash particleana ie x
BEGIN_PROLOG could also be dds filename
sim::PhotonVoxelDef fVoxelDef
Representation of a region of space diced into voxels.
size_t GetNOpChannels() const
float GetLibraryEntry(int VoxID, OpDetID_t libOpChannel, bool wantReflected=false) const
static PhotonVisibilityService & GetME(std::string filename="PhotonLibrary-20180801.root")
void StoreLightProd(int VoxID, double N)
PhotonVisibilityService(fhicl::ParameterSet const &pset)
process_name opflash particleana ie ie y
float Fraction2AbsoluteZ(float frac) const
MappedCounts_t GetAllVisibilities(Point const &p, bool wantReflected=false) const
PhotonLibrary * fTheLibrary
sim::PhotonVoxelDef GetVoxelDef() const
void SetLibraryEntry(int VoxID, OpDetID_t libOpChannel, float N, bool wantReflected=false)
IPhotonLibrary * fTheLibrary
process_name largeant stream1 can override from command line with o or output physics producers generator N
const std::string & GetLibraryFilename()
float Fraction2AbsoluteY(float frac) const
float GetVisibility(Point const &p, unsigned int OpChannel, bool wantReflected=false) const
static PhotonVisibilityService * _me
const std::vector< std::vector< float > > & GetLibraryData() const
float Fraction2AbsoluteX(float frac) const