LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
General LArSoft Utilities. More...
Namespaces | |
details | |
Classes | |
class | CreateHybridLibrary |
class | IPhotonLibrary |
Interface shared by all PhotonLibrary-like classes. More... | |
class | IPhotonMappingTransformations |
Collection of functions to transform photon mapping data. More... | |
struct | LibraryDataValidatorStruct |
Trait for determining the validity of library data in a container. More... | |
class | OpDetVisibilityData |
A container for photon visibility mapping data. More... | |
class | PDFastSimANN |
class | PDFastSimPAR |
class | PDFastSimPVS |
class | PhotonLibrary |
class | PhotonLibraryAnalyzer |
class | PhotonLibraryHybrid |
TODO doc. More... | |
class | PhotonLibraryPropagation |
Fast simulation of propagating the photons created from SimEnergyDeposits. More... | |
class | PhotonMappingIdentityTransformations |
Trivial photon mapping transformation. More... | |
class | PhotonMappingXMirrorTransformations |
Photon mapping transformation with reflection at x = 0. More... | |
class | PhotonVisibilityService |
class | PropagationTimeModel |
class | ScintTime |
class | ScintTimeLAr |
class | SemiAnalyticalModel |
class | TFLoader |
class | TFLoaderMLP |
Typedefs | |
using | OpDetID_t = phot::IPhotonMappingTransformations::OpDetID_t |
Type of (global) optical detector ID. More... | |
using | MappedCounts_t = phot::IPhotonMappingTransformations::MappedOpDetData_t< phot::IPhotonLibrary::Counts_t > |
Type of mapped visibility counts. More... | |
using | MappedT0s_t = phot::IPhotonMappingTransformations::MappedOpDetData_t< phot::IPhotonLibrary::T0s_t > |
Type of mapped arrival times. More... | |
using | MappedParams_t = phot::IPhotonMappingTransformations::MappedOpDetData_t< phot::IPhotonLibrary::Params_t > |
Type of set of parameters for functions. More... | |
using | MappedFunctions_t = phot::IPhotonMappingTransformations::MappedOpDetData_t< phot::IPhotonLibrary::Functions_t > |
Type of mapped parametrization functions. More... | |
Functions | |
template<typename Cont > | |
bool | isValidLibraryData (Cont &&cont) |
Returns the validity of content of library data in the container. More... | |
double | fast_acos (double xin) |
double | interpolate (const std::vector< double > &xData, const std::vector< double > &yData, const double x, const bool extrapolate, size_t i) |
double | interpolate2 (const std::vector< double > &xDistances, const std::vector< double > &rDistances, const std::vector< std::vector< std::vector< double >>> ¶meters, const double x, const double r, const size_t k) |
void | interpolate3 (std::array< double, 3 > &inter, const std::vector< double > &xData, const std::vector< double > &yData1, const std::vector< double > &yData2, const std::vector< double > &yData3, const double x, const bool extrapolate) |
template<typename TReal > | |
static constexpr bool | isApproximatelyEqual (TReal a, TReal b, TReal tolerance=std::numeric_limits< TReal >::epsilon()) |
template<typename TReal > | |
static constexpr bool | isApproximatelyZero (TReal a, TReal tolerance=std::numeric_limits< TReal >::epsilon()) |
template<typename TReal > | |
static constexpr bool | isDefinitelyLessThan (TReal a, TReal b, TReal tolerance=std::numeric_limits< TReal >::epsilon()) |
template<typename TReal > | |
static constexpr bool | isDefinitelyGreaterThan (TReal a, TReal b, TReal tolerance=std::numeric_limits< TReal >::epsilon()) |
General LArSoft Utilities.
using phot::MappedCounts_t = typedef phot::IPhotonMappingTransformations::MappedOpDetData_t<phot::IPhotonLibrary::Counts_t> |
Type of mapped visibility counts.
No data storage is provided.
This is the type returned by phot::PhotonVisibilityService
when asked about visibility of a point from all the optical detectors.
It used to be float const*
.
Definition at line 38 of file PhotonVisibilityTypes.h.
using phot::MappedFunctions_t = typedef phot::IPhotonMappingTransformations::MappedOpDetData_t<phot::IPhotonLibrary::Functions_t> |
Type of mapped parametrization functions.
No data storage is provided.
This is the type returned by phot::PhotonVisibilityService
when asked about any parameter directlyt described by functions (glorious ROOT TF1
), from a point to all the optical detectors.
Definition at line 73 of file PhotonVisibilityTypes.h.
using phot::MappedParams_t = typedef phot::IPhotonMappingTransformations::MappedOpDetData_t<phot::IPhotonLibrary::Params_t> |
Type of set of parameters for functions.
No data storage is provided.
This is the type returned by phot::PhotonVisibilityService
when asked about any parametrized... parameter, from a point to all the optical detectors.
Definition at line 61 of file PhotonVisibilityTypes.h.
using phot::MappedT0s_t = typedef phot::IPhotonMappingTransformations::MappedOpDetData_t<phot::IPhotonLibrary::T0s_t> |
Type of mapped arrival times.
No data storage is provided.
This is the type returned by phot::PhotonVisibilityService
when asked about time of arrival from a point to all the optical detectors.
Definition at line 49 of file PhotonVisibilityTypes.h.
using phot::OpDetID_t = typedef phot::IPhotonMappingTransformations::OpDetID_t |
Type of (global) optical detector ID.
Definition at line 25 of file PhotonVisibilityTypes.h.
double phot::fast_acos | ( | double | xin | ) |
Definition at line 25 of file PhotonPropagationUtils.cxx.
References a0, a1, a2, a3, util::abs(), and x.
Referenced by phot::PropagationTimeModel::getVISTimes(), phot::PropagationTimeModel::propagationTime(), phot::SemiAnalyticalModel::Rectangle_SolidAngle(), phot::SemiAnalyticalModel::VISVisibility(), and phot::SemiAnalyticalModel::VUVVisibility().
double phot::interpolate | ( | const std::vector< double > & | xData, |
const std::vector< double > & | yData, | ||
const double | x, | ||
const bool | extrapolate, | ||
size_t | i | ||
) |
Definition at line 49 of file PhotonPropagationUtils.cxx.
References util::size().
Referenced by phot::SemiAnalyticalModel::detectedReflectedVisibilities(), phot::PropagationTimeModel::generateVUVParams(), phot::PropagationTimeModel::getVISTimes(), interpolate2(), phot::SemiAnalyticalModel::VUVAbsorptionLength(), and phot::SemiAnalyticalModel::VUVVisibility().
double phot::interpolate2 | ( | const std::vector< double > & | xDistances, |
const std::vector< double > & | rDistances, | ||
const std::vector< std::vector< std::vector< double >>> & | parameters, | ||
const double | x, | ||
const double | r, | ||
const size_t | k | ||
) |
Definition at line 77 of file PhotonPropagationUtils.cxx.
References interpolate(), and util::size().
Referenced by phot::SemiAnalyticalModel::VISVisibility().
void phot::interpolate3 | ( | std::array< double, 3 > & | inter, |
const std::vector< double > & | xData, | ||
const std::vector< double > & | yData1, | ||
const std::vector< double > & | yData2, | ||
const std::vector< double > & | yData3, | ||
const double | x, | ||
const bool | extrapolate | ||
) |
Definition at line 106 of file PhotonPropagationUtils.cxx.
References util::size().
Referenced by phot::PropagationTimeModel::generateVUVParams().
|
inlinestatic |
Definition at line 38 of file PhotonPropagationUtils.h.
Referenced by phot::SemiAnalyticalModel::Disk_SolidAngle().
|
inlinestatic |
Definition at line 50 of file PhotonPropagationUtils.h.
Referenced by phot::SemiAnalyticalModel::Disk_SolidAngle(), and phot::SemiAnalyticalModel::Rectangle_SolidAngle().
|
inlinestatic |
Definition at line 72 of file PhotonPropagationUtils.h.
Referenced by phot::SemiAnalyticalModel::Disk_SolidAngle(), and phot::SemiAnalyticalModel::Rectangle_SolidAngle().
|
inlinestatic |
Definition at line 62 of file PhotonPropagationUtils.h.
Referenced by phot::SemiAnalyticalModel::Disk_SolidAngle().
bool phot::isValidLibraryData | ( | Cont && | cont | ) |
Returns the validity of content of library data in the container.
Cont | type of the container being tested |
cont | a reference to the container being tested |
cont
is valid.Customization of this behaviour should be through specialization of phot::LibraryDataValidatorStruct
.
Definition at line 344 of file OpDetVisibilityData.h.
References phot::OpDetVisibilityData< Cont, Mapping >::isValid().
Referenced by phot::OpDetVisibilityData< Cont, Mapping >::effectiveSize().