10 #ifndef PhotonVisibilityServiceS2_H 11 #define PhotonVisibilityServiceS2_H 50 void SetLibraryEntry(
int VoxID,
int OpChannel,
float N,
bool wantReflected=
false );
51 float GetLibraryEntry(
int VoxID,
int OpChannel,
bool wantReflected=
false )
const;
54 float const*
GetReflT0s(
double const* xyz )
const;
59 const std::vector<float>*
GetTimingPar(
double const* xyz )
const;
136 #endif // UTIL_DETECTOR_PROPERTIES_H Definitions of voxel data structures.
bool IncludeParPropTime() const
static double DistanceToOpDet(double const *xyz, unsigned int OpDet)
const std::vector< float > * GetTimingPar(double const *xyz) const
Index OpChannel(Index detNum, Index channel)
float const * GetLibraryReflT0Entries(int VoxID) const
static double SolidAngleFactor(double const *xyz, unsigned int OpDet)
TF1 *const GetTimingTF1(double const *xyz)
float const * GetLibraryEntries(int VoxID, bool wantReflected=false) const
Representation of a region of space diced into voxels.
bool StoreReflected() const
std::string ParPropTimeFormula() const
float GetLibraryTimingParEntry(int VoxID, int Channel, size_t npar) const
void SetLibraryReflT0Entry(int VoxID, int OpChannel, float value)
double fTF1_sampling_factor
std::string fParPropTime_formula
void SetLibraryTimingTF1Entry(int VoxID, int OpChannel, TF1 func)
TF1 *const GetLibraryTimingTF1Entries(int VoxID)
void SetLibraryEntry(int VoxID, int OpChannel, float N, bool wantReflected=false)
const sim::PhotonVoxelDef & GetVoxelDef() const
float GetVisibility(double const *xyz, unsigned int OpChannel, bool wantReflected=false) const
sim::PhotonVoxelDef fVoxelDef
float GetLibraryReflT0Entry(int VoxID, int Channel) const
#define DECLARE_ART_SERVICE(svc, scope)
void RetrieveLightProd(int &VoxID, double &N) const
bool UseParameterization() const
void reconfigure(fhicl::ParameterSet const &p)
void SetDirectLightPropFunctions(TF1 const *functions[8], double &d_break, double &d_max, double &tf1_sampling_factor) const
void SetLibraryTimingParEntry(int VoxID, int OpChannel, float value, size_t parnum)
void SetReflectedCOLightPropFunctions(TF1 const *functions[5], double &t0_max, double &t0_break_point) const
float const * GetReflT0s(double const *xyz) const
General LArSoft Utilities.
const std::vector< float > * GetLibraryTimingParEntries(int VoxID) const
size_t NOpChannels() const
void StoreLightProd(int VoxID, double N)
bool IncludePropTime() const
PhotonVisibilityServiceS2(fhicl::ParameterSet const &pset, art::ActivityRegistry ®)
Interface shared by all PhotonLibrary-like classes.
IPhotonLibrary * fTheLibrary
double GetQuenchingFactor(double dQdx) const
size_t ParPropTimeNpar() const
float GetLibraryEntry(int VoxID, int OpChannel, bool wantReflected=false) const
float const * GetAllVisibilities(double const *xyz, bool wantReflected=false) const