LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "PhotonVisibilityService.h"
Public Member Functions | |
~PhotonVisibilityService () | |
PhotonVisibilityService (fhicl::ParameterSet const &pset) | |
void | reconfigure (fhicl::ParameterSet const &p) |
double | GetQuenchingFactor (double dQdx) const |
template<typename Point > | |
bool | HasVisibility (Point const &p, bool wantReflected=false) const |
template<typename Point > | |
float | GetVisibility (Point const &p, unsigned int OpChannel, bool wantReflected=false) const |
template<typename Point > | |
MappedCounts_t | GetAllVisibilities (Point const &p, bool wantReflected=false) const |
void | LoadLibrary () const |
void | StoreLibrary () |
void | StoreLightProd (int VoxID, double N) |
void | RetrieveLightProd (int &VoxID, double &N) const |
void | SetLibraryEntry (int VoxID, OpDetID_t libOpChannel, float N, bool wantReflected=false) |
float | GetLibraryEntry (int VoxID, OpDetID_t libOpChannel, bool wantReflected=false) const |
bool | HasLibraryEntries (int VoxID, bool wantReflected=false) const |
phot::IPhotonLibrary::Counts_t | GetLibraryEntries (int VoxID, bool wantReflected=false) const |
template<typename Point > | |
MappedT0s_t | GetReflT0s (Point const &p) const |
void | SetLibraryReflT0Entry (int VoxID, int OpChannel, float value) |
phot::IPhotonLibrary::Counts_t | GetLibraryReflT0Entries (int VoxID) const |
float | GetLibraryReflT0Entry (int VoxID, OpDetID_t libOpChannel) const |
template<typename Point > | |
MappedParams_t | GetTimingPar (Point const &p) const |
void | SetLibraryTimingParEntry (int VoxID, int OpChannel, float value, size_t parnum) |
phot::IPhotonLibrary::Params_t | GetLibraryTimingParEntries (int VoxID) const |
float | GetLibraryTimingParEntry (int VoxID, OpDetID_t libOpChannel, size_t npar) const |
template<typename Point > | |
MappedFunctions_t | GetTimingTF1 (Point const &p) const |
void | SetLibraryTimingTF1Entry (int VoxID, int OpChannel, TF1 const &func) |
phot::IPhotonLibrary::Functions_t | GetLibraryTimingTF1Entries (int VoxID) const |
void | SetDirectLightPropFunctions (TF1 const *functions[8], double &d_break, double &d_max, double &tf1_sampling_factor) const |
void | SetReflectedCOLightPropFunctions (TF1 const *functions[5], double &t0_max, double &t0_break_point) const |
void | LoadTimingsForVUVPar (std::vector< std::vector< double >>(&v)[7], double &step_size, double &max_d, double &min_d, double &vuv_vgroup_mean, double &vuv_vgroup_max, double &inflexion_point_distance, double &angle_bin_timing_vuv) const |
void | LoadTimingsForVISPar (std::vector< double > &distances, std::vector< double > &radial_distances, std::vector< std::vector< std::vector< double >>> &cut_off, std::vector< std::vector< std::vector< double >>> &tau, double &vis_vmean, double &angle_bin_timing_vis) const |
void | LoadVUVSemiAnalyticProperties (bool &isFlatPDCorr, bool &isDomePDCorr, double &delta_angulo_vuv, double &radius) const |
void | LoadGHFlat (std::vector< std::vector< double >> &GHvuvpars_flat, std::vector< double > &border_corr_angulo_flat, std::vector< std::vector< double >> &border_corr_flat) const |
void | LoadGHDome (std::vector< std::vector< double >> &GHvuvpars_dome, std::vector< double > &border_corr_angulo_dome, std::vector< std::vector< double >> &border_corr_dome) const |
void | LoadVisSemiAnalyticProperties (double &delta_angulo_vis, double &radius) const |
void | LoadVisParsFlat (std::vector< double > &vis_distances_x_flat, std::vector< double > &vis_distances_r_flat, std::vector< std::vector< std::vector< double >>> &vispars_flat) const |
void | LoadVisParsDome (std::vector< double > &vis_distances_x_dome, std::vector< double > &vis_distances_r_dome, std::vector< std::vector< std::vector< double >>> &vispars_dome) const |
bool | IsBuildJob () const |
bool | UseParameterization () const |
bool | StoreReflected () const |
bool | StoreReflT0 () const |
bool | IncludeParPropTime () const |
size_t | ParPropTimeNpar () const |
std::string | ParPropTimeFormula () const |
bool | IncludePropTime () const |
bool | UseNhitsModel () const |
bool | ApplyVISBorderCorrection () const |
std::string | VISBorderCorrectionType () const |
const sim::PhotonVoxelDef & | GetVoxelDef () const |
size_t | NOpChannels () const |
Static Public Member Functions | |
template<typename Point > | |
static double | DistanceToOpDet (Point const &p, unsigned int OpDet) |
template<typename Point > | |
static double | SolidAngleFactor (Point const &p, unsigned int OpDet) |
Private Types | |
using | LibraryIndex_t = phot::IPhotonMappingTransformations::LibraryIndex_t |
Type of optical library index. More... | |
Private Member Functions | |
geo::Point_t | LibLocation (geo::Point_t const &p) const |
int | VoxelAt (geo::Point_t const &p) const |
float | doGetVisibilityOfOpLib (geo::Point_t const &p, LibraryIndex_t libIndex, bool wantReflected=false) const |
Private Attributes | |
int | fCurrentVoxel |
double | fCurrentValue |
float | fXmin |
float | fXmax |
float | fYmin |
float | fYmax |
float | fZmin |
float | fZmax |
int | fNx |
int | fNy |
int | fNz |
bool | fUseCryoBoundary |
bool | fUseAutomaticVoxels |
std::string | fSaveTPCVoxels |
std::string | fSaveOtherVoxels |
bool | fLibraryBuildJob |
bool | fDoNotLoadLibrary |
bool | fParameterization |
bool | fHybrid |
bool | fStoreReflected |
bool | fStoreReflT0 |
bool | fIncludePropTime |
bool | fUseNhitsModel |
bool | fApplyVISBorderCorrection |
std::string | fVISBorderCorrectionType |
bool | fParPropTime |
size_t | fParPropTime_npar |
std::string | fParPropTime_formula |
int | fParPropTime_MaxRange |
bool | fInterpolate |
bool | fReflectOverZeroX |
TF1 * | fparslogNorm = nullptr |
TF1 * | fparslogNorm_far = nullptr |
TF1 * | fparsMPV = nullptr |
TF1 * | fparsMPV_far = nullptr |
TF1 * | fparsWidth = nullptr |
TF1 * | fparsCte = nullptr |
TF1 * | fparsCte_far = nullptr |
TF1 * | fparsSlope = nullptr |
double | fD_break |
double | fD_max |
double | fTF1_sampling_factor |
TF1 * | fparslogNorm_refl = nullptr |
TF1 * | fparsMPV_refl = nullptr |
TF1 * | fparsWidth_refl = nullptr |
TF1 * | fparsCte_refl = nullptr |
TF1 * | fparsSlope_refl = nullptr |
double | fT0_max |
double | fT0_break_point |
std::vector< double > | fDistances_landau |
std::vector< std::vector< double > > | fNorm_over_entries |
std::vector< std::vector< double > > | fMpv |
std::vector< std::vector< double > > | fWidth |
std::vector< double > | fDistances_exp |
std::vector< std::vector< double > > | fSlope |
std::vector< std::vector< double > > | fExpo_over_Landau_norm |
double | fstep_size |
double | fmax_d |
double | fmin_d |
double | fvuv_vgroup_mean |
double | fvuv_vgroup_max |
double | finflexion_point_distance |
double | fangle_bin_timing_vuv |
std::vector< double > | fDistances_refl |
std::vector< double > | fDistances_radial_refl |
std::vector< std::vector< std::vector< double > > > | fCut_off |
std::vector< std::vector< std::vector< double > > > | fTau |
double | fvis_vmean |
double | fangle_bin_timing_vis |
bool | fIsFlatPDCorr |
bool | fIsDomePDCorr |
double | fdelta_angulo_vuv |
std::vector< std::vector< double > > | fGHvuvpars_flat |
std::vector< double > | fborder_corr_angulo_flat |
std::vector< std::vector< double > > | fborder_corr_flat |
std::vector< std::vector< double > > | fGHvuvpars_dome |
std::vector< double > | fborder_corr_angulo_dome |
std::vector< std::vector< double > > | fborder_corr_dome |
double | fdelta_angulo_vis |
std::vector< double > | fvis_distances_x_flat |
std::vector< double > | fvis_distances_r_flat |
std::vector< std::vector< std::vector< double > > > | fvispars_flat |
std::vector< double > | fvis_distances_x_dome |
std::vector< double > | fvis_distances_r_dome |
std::vector< std::vector< std::vector< double > > > | fvispars_dome |
double | fradius |
std::string | fLibraryFile |
IPhotonLibrary * | fTheLibrary |
sim::PhotonVoxelDef | fVoxelDef |
std::unique_ptr< phot::IPhotonMappingTransformations > | fMapping |
Mapping of detector space into library space. More... | |
Implementation functions | |
bool | doHasVisibility (geo::Point_t const &p, bool wantReflected=false) const |
float | doGetVisibility (geo::Point_t const &p, unsigned int OpChannel, bool wantReflected=false) const |
MappedCounts_t | doGetAllVisibilities (geo::Point_t const &p, bool wantReflected=false) const |
MappedT0s_t | doGetReflT0s (geo::Point_t const &p) const |
MappedParams_t | doGetTimingPar (geo::Point_t const &p) const |
MappedFunctions_t | doGetTimingTF1 (geo::Point_t const &p) const |
void | findVoxelSuggestion (float tpcMin, float tpcMax, float cryoMin, float cryoMax, int &nVoxels, float &voxelMin, float &voxelMax, float voxelSizeGoal, std::string *logString=nullptr) const |
float | testVoxelSuggestion (float tpcMin, float tpcMax, float cryoMin, float cryoMax, int &nVoxels, float &voxelMin, float &voxelMax, float voxelSizeGoal, int jog, std::string *logString=nullptr) const |
static double | DistanceToOpDetImpl (geo::Point_t const &p, unsigned int OpDet) |
static double | SolidAngleFactorImpl (geo::Point_t const &p, unsigned int OpDet) |
Definition at line 37 of file PhotonVisibilityService.h.
|
private |
Type of optical library index.
Definition at line 40 of file PhotonVisibilityService.h.
phot::PhotonVisibilityService::~PhotonVisibilityService | ( | ) |
Definition at line 51 of file PhotonVisibilityService.cc.
References fparsCte, fparsCte_far, fparsCte_refl, fparslogNorm, fparslogNorm_far, fparslogNorm_refl, fparsMPV, fparsMPV_far, fparsMPV_refl, fparsSlope, fparsSlope_refl, fparsWidth, fparsWidth_refl, and fTheLibrary.
phot::PhotonVisibilityService::PhotonVisibilityService | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 70 of file PhotonVisibilityService.cc.
References art::errors::Configuration, fMapping, fReflectOverZeroX, fhicl::ParameterSet::get(), fhicl::ParameterSet::has_key(), fhicl::ParameterSet::put(), and reconfigure().
|
inline |
Definition at line 165 of file PhotonVisibilityService.h.
|
inlinestatic |
Definition at line 51 of file PhotonVisibilityService.h.
References geo::vect::toPoint().
|
staticprivate |
Definition at line 513 of file PhotonVisibilityService.cc.
References geo::OpDetGeo::DistanceToPoint(), and geo::GeometryCore::OpDetGeoFromOpDet().
|
private |
Definition at line 486 of file PhotonVisibilityService.cc.
References doGetVisibilityOfOpLib(), fInterpolate, fMapping, GetLibraryEntries(), and VoxelAt().
|
private |
Definition at line 650 of file PhotonVisibilityService.cc.
References fMapping, GetLibraryReflT0Entries(), and VoxelAt().
|
private |
Definition at line 693 of file PhotonVisibilityService.cc.
References fMapping, GetLibraryTimingParEntries(), and VoxelAt().
|
private |
Definition at line 700 of file PhotonVisibilityService.cc.
References fMapping, GetLibraryTimingTF1Entries(), and VoxelAt().
|
private |
Definition at line 559 of file PhotonVisibilityService.cc.
References doGetVisibilityOfOpLib(), and fMapping.
|
private |
Definition at line 530 of file PhotonVisibilityService.cc.
References fInterpolate, GetLibraryEntry(), sim::PhotonVoxelDef::GetNeighboringVoxelIDs(), GetVoxelDef(), LibLocation(), n, and VoxelAt().
Referenced by doGetAllVisibilities(), and doGetVisibility().
|
private |
Definition at line 551 of file PhotonVisibilityService.cc.
References HasLibraryEntries(), and VoxelAt().
|
private |
Definition at line 923 of file PhotonVisibilityService.cc.
References testVoxelSuggestion().
Referenced by reconfigure().
|
inline |
Definition at line 74 of file PhotonVisibilityService.h.
References geo::vect::toPoint().
Referenced by cosmic::BeamFlashTrackMatchTaggerAlg::AddLightFromSegment(), opdet::FlashHypothesisCreator::CreateFlashHypothesesFromSegment(), and larg4::OpFastScintillation::RecordPhotonsProduced().
phot::IPhotonLibrary::Counts_t phot::PhotonVisibilityService::GetLibraryEntries | ( | int | VoxID, |
bool | wantReflected = false |
||
) | const |
Definition at line 610 of file PhotonVisibilityService.cc.
References fTheLibrary, phot::IPhotonLibrary::GetCounts(), phot::IPhotonLibrary::GetReflCounts(), and LoadLibrary().
Referenced by doGetAllVisibilities().
float phot::PhotonVisibilityService::GetLibraryEntry | ( | int | VoxID, |
OpDetID_t | libOpChannel, | ||
bool | wantReflected = false |
||
) | const |
Definition at line 633 of file PhotonVisibilityService.cc.
References fTheLibrary, phot::IPhotonLibrary::GetCount(), phot::IPhotonLibrary::GetReflCount(), and LoadLibrary().
Referenced by doGetVisibilityOfOpLib().
phot::IPhotonLibrary::Counts_t phot::PhotonVisibilityService::GetLibraryReflT0Entries | ( | int | VoxID | ) | const |
Definition at line 660 of file PhotonVisibilityService.cc.
References fTheLibrary, phot::IPhotonLibrary::GetReflT0s(), and LoadLibrary().
Referenced by doGetReflT0s().
float phot::PhotonVisibilityService::GetLibraryReflT0Entry | ( | int | VoxID, |
OpDetID_t | libOpChannel | ||
) | const |
Definition at line 682 of file PhotonVisibilityService.cc.
References fTheLibrary, phot::IPhotonLibrary::GetReflT0(), and LoadLibrary().
phot::IPhotonLibrary::Params_t phot::PhotonVisibilityService::GetLibraryTimingParEntries | ( | int | VoxID | ) | const |
Definition at line 709 of file PhotonVisibilityService.cc.
References fTheLibrary, phot::PhotonLibrary::GetTimingPars(), and LoadLibrary().
Referenced by doGetTimingPar().
float phot::PhotonVisibilityService::GetLibraryTimingParEntry | ( | int | VoxID, |
OpDetID_t | libOpChannel, | ||
size_t | npar | ||
) | const |
Definition at line 760 of file PhotonVisibilityService.cc.
References fTheLibrary, phot::PhotonLibrary::GetTimingPar(), and LoadLibrary().
phot::IPhotonLibrary::Functions_t phot::PhotonVisibilityService::GetLibraryTimingTF1Entries | ( | int | VoxID | ) | const |
Definition at line 720 of file PhotonVisibilityService.cc.
References fTheLibrary, phot::PhotonLibrary::GetTimingTF1s(), and LoadLibrary().
Referenced by doGetTimingTF1().
double phot::PhotonVisibilityService::GetQuenchingFactor | ( | double | dQdx | ) | const |
Definition at line 475 of file PhotonVisibilityService.cc.
|
inline |
Definition at line 91 of file PhotonVisibilityService.h.
References geo::vect::toPoint(), and value.
Referenced by larg4::OpFastScintillation::RecordPhotonsProduced().
|
inline |
Definition at line 100 of file PhotonVisibilityService.h.
References geo::vect::toPoint().
|
inline |
Definition at line 109 of file PhotonVisibilityService.h.
References radius, geo::vect::toPoint(), and lar::dump::vector().
Referenced by larg4::OpFastScintillation::RecordPhotonsProduced().
|
inline |
Definition at line 68 of file PhotonVisibilityService.h.
References geo::vect::toPoint().
Referenced by phot::CreateHybridLibrary::CreateHybridLibrary().
|
inline |
Definition at line 168 of file PhotonVisibilityService.h.
Referenced by phot::CreateHybridLibrary::CreateHybridLibrary(), doGetVisibilityOfOpLib(), evgen::LightSource::LightSource(), and LoadLibrary().
bool phot::PhotonVisibilityService::HasLibraryEntries | ( | int | VoxID, |
bool | wantReflected = false |
||
) | const |
Definition at line 624 of file PhotonVisibilityService.cc.
References fTheLibrary, phot::IPhotonLibrary::isVoxelValid(), and LoadLibrary().
Referenced by doHasVisibility().
|
inline |
Definition at line 62 of file PhotonVisibilityService.h.
References geo::vect::toPoint().
|
inline |
Definition at line 159 of file PhotonVisibilityService.h.
Referenced by larg4::OpFastScintillation::propagationTime(), and larg4::OpFastScintillation::RecordPhotonsProduced().
|
inline |
Definition at line 163 of file PhotonVisibilityService.h.
Referenced by larg4::OpFastScintillation::OpFastScintillation(), and larg4::OpFastScintillation::propagationTime().
|
inline |
Definition at line 155 of file PhotonVisibilityService.h.
Referenced by opdet::SimPhotonCounter::analyze(), opdet::SimPhotonCounter::endJob(), opdet::SimPhotonCounter::isVisible(), and evgen::LightSource::produce().
|
private |
Definition at line 918 of file PhotonVisibilityService.cc.
References fMapping.
Referenced by doGetVisibilityOfOpLib().
void phot::PhotonVisibilityService::LoadGHDome | ( | std::vector< std::vector< double >> & | GHvuvpars_dome, |
std::vector< double > & | border_corr_angulo_dome, | ||
std::vector< std::vector< double >> & | border_corr_dome | ||
) | const |
Definition at line 877 of file PhotonVisibilityService.cc.
References fborder_corr_angulo_dome, fborder_corr_dome, fGHvuvpars_dome, and fIsDomePDCorr.
Referenced by larg4::OpFastScintillation::OpFastScintillation().
void phot::PhotonVisibilityService::LoadGHFlat | ( | std::vector< std::vector< double >> & | GHvuvpars_flat, |
std::vector< double > & | border_corr_angulo_flat, | ||
std::vector< std::vector< double >> & | border_corr_flat | ||
) | const |
Definition at line 868 of file PhotonVisibilityService.cc.
References fborder_corr_angulo_flat, fborder_corr_flat, fGHvuvpars_flat, and fIsFlatPDCorr.
Referenced by larg4::OpFastScintillation::OpFastScintillation().
void phot::PhotonVisibilityService::LoadLibrary | ( | ) | const |
Definition at line 151 of file PhotonVisibilityService.cc.
References e, fDoNotLoadLibrary, fHybrid, fLibraryBuildJob, fLibraryFile, fParameterization, fParPropTime_MaxRange, fParPropTime_npar, fStoreReflected, fStoreReflT0, fTheLibrary, sim::PhotonVoxelDef::GetNVoxels(), phot::PhotonLibrary::GetVoxelDef(), GetVoxelDef(), phot::PhotonLibrary::hasVoxelDef(), phot::PhotonLibrary::LoadLibraryFromFile(), geo::GeometryCore::NOpDets(), art::errors::ServiceNotFound, and phot::PhotonLibrary::SetVoxelDef().
Referenced by GetLibraryEntries(), GetLibraryEntry(), GetLibraryReflT0Entries(), GetLibraryReflT0Entry(), GetLibraryTimingParEntries(), GetLibraryTimingParEntry(), GetLibraryTimingTF1Entries(), HasLibraryEntries(), SetLibraryEntry(), SetLibraryReflT0Entry(), SetLibraryTimingParEntry(), SetLibraryTimingTF1Entry(), and StoreLibrary().
void phot::PhotonVisibilityService::LoadTimingsForVISPar | ( | std::vector< double > & | distances, |
std::vector< double > & | radial_distances, | ||
std::vector< std::vector< std::vector< double >>> & | cut_off, | ||
std::vector< std::vector< std::vector< double >>> & | tau, | ||
double & | vis_vmean, | ||
double & | angle_bin_timing_vis | ||
) | const |
Definition at line 841 of file PhotonVisibilityService.cc.
References fangle_bin_timing_vis, fCut_off, fDistances_radial_refl, fDistances_refl, fTau, and fvis_vmean.
Referenced by larg4::OpFastScintillation::OpFastScintillation().
void phot::PhotonVisibilityService::LoadTimingsForVUVPar | ( | std::vector< std::vector< double >>(&) | v[7], |
double & | step_size, | ||
double & | max_d, | ||
double & | min_d, | ||
double & | vuv_vgroup_mean, | ||
double & | vuv_vgroup_max, | ||
double & | inflexion_point_distance, | ||
double & | angle_bin_timing_vuv | ||
) | const |
Definition at line 815 of file PhotonVisibilityService.cc.
References fangle_bin_timing_vuv, fDistances_exp, fDistances_landau, fExpo_over_Landau_norm, finflexion_point_distance, fmax_d, fmin_d, fMpv, fNorm_over_entries, fSlope, fstep_size, fvuv_vgroup_max, fvuv_vgroup_mean, fWidth, and lar::dump::vector().
Referenced by larg4::OpFastScintillation::OpFastScintillation().
void phot::PhotonVisibilityService::LoadVisParsDome | ( | std::vector< double > & | vis_distances_x_dome, |
std::vector< double > & | vis_distances_r_dome, | ||
std::vector< std::vector< std::vector< double >>> & | vispars_dome | ||
) | const |
Definition at line 902 of file PhotonVisibilityService.cc.
References fIsDomePDCorr, fvis_distances_r_dome, fvis_distances_x_dome, and fvispars_dome.
Referenced by larg4::OpFastScintillation::OpFastScintillation().
void phot::PhotonVisibilityService::LoadVisParsFlat | ( | std::vector< double > & | vis_distances_x_flat, |
std::vector< double > & | vis_distances_r_flat, | ||
std::vector< std::vector< std::vector< double >>> & | vispars_flat | ||
) | const |
Definition at line 892 of file PhotonVisibilityService.cc.
References fIsFlatPDCorr, fvis_distances_r_flat, fvis_distances_x_flat, and fvispars_flat.
Referenced by larg4::OpFastScintillation::OpFastScintillation().
void phot::PhotonVisibilityService::LoadVisSemiAnalyticProperties | ( | double & | delta_angulo_vis, |
double & | radius | ||
) | const |
Definition at line 886 of file PhotonVisibilityService.cc.
References fdelta_angulo_vis, and fradius.
Referenced by larg4::OpFastScintillation::OpFastScintillation().
void phot::PhotonVisibilityService::LoadVUVSemiAnalyticProperties | ( | bool & | isFlatPDCorr, |
bool & | isDomePDCorr, | ||
double & | delta_angulo_vuv, | ||
double & | radius | ||
) | const |
Definition at line 858 of file PhotonVisibilityService.cc.
References fdelta_angulo_vuv, fIsDomePDCorr, fIsFlatPDCorr, and fradius.
Referenced by larg4::OpFastScintillation::OpFastScintillation().
size_t phot::PhotonVisibilityService::NOpChannels | ( | ) | const |
Definition at line 772 of file PhotonVisibilityService.cc.
References fMapping.
Referenced by cosmic::BeamFlashTrackMatchTaggerAlg::AddLightFromSegment(), larg4::OpFastScintillation::detectedDirectHits(), larg4::OpFastScintillation::detectedReflecHits(), larg4::OpFastScintillation::OpFastScintillation(), and larg4::OpFastScintillation::RecordPhotonsProduced().
|
inline |
Definition at line 161 of file PhotonVisibilityService.h.
|
inline |
Definition at line 160 of file PhotonVisibilityService.h.
void phot::PhotonVisibilityService::reconfigure | ( | fhicl::ParameterSet const & | p | ) |
Definition at line 258 of file PhotonVisibilityService.cc.
References geo::TPCGeo::ActiveBoundingBox(), geo::CryostatGeo::Boundaries(), geo::CryostatGeo::BoundingBox(), geo::GeometryCore::Cryostat(), geo::BoxBoundedGeo::ExtendToInclude(), fangle_bin_timing_vis, fangle_bin_timing_vuv, fApplyVISBorderCorrection, fborder_corr_angulo_dome, fborder_corr_angulo_flat, fborder_corr_dome, fborder_corr_flat, fCut_off, fdelta_angulo_vis, fdelta_angulo_vuv, fDistances_exp, fDistances_landau, fDistances_radial_refl, fDistances_refl, fDoNotLoadLibrary, fExpo_over_Landau_norm, fGHvuvpars_dome, fGHvuvpars_flat, fHybrid, fIncludePropTime, findVoxelSuggestion(), finflexion_point_distance, fInterpolate, fIsDomePDCorr, fIsFlatPDCorr, fLibraryBuildJob, fLibraryFile, fmax_d, fmin_d, fMpv, fNorm_over_entries, fNx, fNy, fNz, fParameterization, fParPropTime, fParPropTime_formula, fParPropTime_MaxRange, fParPropTime_npar, fradius, fReflectOverZeroX, fSaveOtherVoxels, fSaveTPCVoxels, fSlope, fstep_size, fStoreReflected, fStoreReflT0, fTau, fUseAutomaticVoxels, fUseCryoBoundary, fUseNhitsModel, fvis_distances_r_dome, fvis_distances_r_flat, fvis_distances_x_dome, fvis_distances_x_flat, fvis_vmean, fVISBorderCorrectionType, fvispars_dome, fvispars_flat, fVoxelDef, fvuv_vgroup_max, fvuv_vgroup_mean, fWidth, fXmax, fXmin, fYmax, fYmin, fZmax, fZmin, fhicl::ParameterSet::get(), sim::PhotonVoxel::GetCenter(), sim::PhotonVoxelDef::GetNVoxels(), sim::PhotonVoxelDef::GetPhotonVoxel(), geo::GeometryCore::Iterate(), util::to_string(), and geo::CryostatGeo::TPC().
Referenced by PhotonVisibilityService().
void phot::PhotonVisibilityService::RetrieveLightProd | ( | int & | VoxID, |
double & | N | ||
) | const |
Definition at line 580 of file PhotonVisibilityService.cc.
References fCurrentValue, and fCurrentVoxel.
Referenced by opdet::SimPhotonCounter::storeVisibility().
void phot::PhotonVisibilityService::SetDirectLightPropFunctions | ( | TF1 const * | functions[8], |
double & | d_break, | ||
double & | d_max, | ||
double & | tf1_sampling_factor | ||
) | const |
Definition at line 780 of file PhotonVisibilityService.cc.
References fD_break, fD_max, fparsCte, fparsCte_far, fparslogNorm, fparslogNorm_far, fparsMPV, fparsMPV_far, fparsSlope, fparsWidth, and fTF1_sampling_factor.
void phot::PhotonVisibilityService::SetLibraryEntry | ( | int | VoxID, |
OpDetID_t | libOpChannel, | ||
float | N, | ||
bool | wantReflected = false |
||
) |
Definition at line 588 of file PhotonVisibilityService.cc.
References fTheLibrary, LoadLibrary(), MF_LOG_DEBUG, phot::PhotonLibrary::SetCount(), and phot::PhotonLibrary::SetReflCount().
Referenced by opdet::SimPhotonCounter::storeVisibility().
void phot::PhotonVisibilityService::SetLibraryReflT0Entry | ( | int | VoxID, |
int | OpChannel, | ||
float | value | ||
) |
Definition at line 669 of file PhotonVisibilityService.cc.
References fTheLibrary, LoadLibrary(), MF_LOG_DEBUG, and phot::PhotonLibrary::SetReflT0().
Referenced by opdet::SimPhotonCounter::storeVisibility().
void phot::PhotonVisibilityService::SetLibraryTimingParEntry | ( | int | VoxID, |
int | OpChannel, | ||
float | value, | ||
size_t | parnum | ||
) |
Definition at line 731 of file PhotonVisibilityService.cc.
References fTheLibrary, LoadLibrary(), MF_LOG_DEBUG, and phot::PhotonLibrary::SetTimingPar().
void phot::PhotonVisibilityService::SetLibraryTimingTF1Entry | ( | int | VoxID, |
int | OpChannel, | ||
TF1 const & | func | ||
) |
Definition at line 747 of file PhotonVisibilityService.cc.
References fTheLibrary, LoadLibrary(), MF_LOG_DEBUG, and phot::PhotonLibrary::SetTimingTF1().
void phot::PhotonVisibilityService::SetReflectedCOLightPropFunctions | ( | TF1 const * | functions[5], |
double & | t0_max, | ||
double & | t0_break_point | ||
) | const |
Definition at line 800 of file PhotonVisibilityService.cc.
References fparsCte_refl, fparslogNorm_refl, fparsMPV_refl, fparsSlope_refl, fparsWidth_refl, fT0_break_point, and fT0_max.
|
inlinestatic |
Definition at line 56 of file PhotonVisibilityService.h.
References geo::vect::toPoint().
|
staticprivate |
Definition at line 522 of file PhotonVisibilityService.cc.
References geo::OpDetGeo::CosThetaFromNormal(), and geo::GeometryCore::OpDetGeoFromOpDet().
void phot::PhotonVisibilityService::StoreLibrary | ( | ) |
Definition at line 241 of file PhotonVisibilityService.cc.
References fHybrid, fLibraryBuildJob, fLibraryFile, fParPropTime_npar, fStoreReflected, fStoreReflT0, fTheLibrary, LoadLibrary(), and phot::PhotonLibrary::StoreLibraryToFile().
void phot::PhotonVisibilityService::StoreLightProd | ( | int | VoxID, |
double | N | ||
) |
Definition at line 570 of file PhotonVisibilityService.cc.
References fCurrentValue, and fCurrentVoxel.
Referenced by evgen::LightSource::produce().
|
inline |
Definition at line 157 of file PhotonVisibilityService.h.
Referenced by opdet::SimPhotonCounter::analyze(), opdet::SimPhotonCounter::beginJob(), opdet::SimPhotonCounter::isVisible(), larg4::LArG4::LArG4(), larg4::OpFastScintillation::OpFastScintillation(), larg4::OpFastScintillation::RecordPhotonsProduced(), and opdet::SimPhotonCounter::storeVisibility().
|
inline |
Definition at line 158 of file PhotonVisibilityService.h.
Referenced by opdet::SimPhotonCounter::analyze(), opdet::SimPhotonCounter::isVisible(), larg4::OpFastScintillation::RecordPhotonsProduced(), and opdet::SimPhotonCounter::storeVisibility().
|
private |
Definition at line 958 of file PhotonVisibilityService.cc.
References util::to_string().
Referenced by findVoxelSuggestion().
|
inline |
Definition at line 164 of file PhotonVisibilityService.h.
Referenced by larg4::OpFastScintillation::OpFastScintillation().
|
inline |
Definition at line 156 of file PhotonVisibilityService.h.
|
inline |
Definition at line 166 of file PhotonVisibilityService.h.
|
inlineprivate |
Definition at line 273 of file PhotonVisibilityService.h.
References DECLARE_ART_SERVICE, and sim::PhotonVoxelDef::GetVoxelID().
Referenced by doGetAllVisibilities(), doGetReflT0s(), doGetTimingPar(), doGetTimingTF1(), doGetVisibilityOfOpLib(), and doHasVisibility().
|
private |
Definition at line 235 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVISPar(), and reconfigure().
|
private |
Definition at line 228 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVUVPar(), and reconfigure().
|
private |
Definition at line 194 of file PhotonVisibilityService.h.
Referenced by reconfigure().
|
private |
Definition at line 247 of file PhotonVisibilityService.h.
Referenced by LoadGHDome(), and reconfigure().
|
private |
Definition at line 243 of file PhotonVisibilityService.h.
Referenced by LoadGHFlat(), and reconfigure().
|
private |
Definition at line 248 of file PhotonVisibilityService.h.
Referenced by LoadGHDome(), and reconfigure().
|
private |
Definition at line 244 of file PhotonVisibilityService.h.
Referenced by LoadGHFlat(), and reconfigure().
|
private |
Definition at line 173 of file PhotonVisibilityService.h.
Referenced by RetrieveLightProd(), and StoreLightProd().
|
private |
Definition at line 172 of file PhotonVisibilityService.h.
Referenced by RetrieveLightProd(), and StoreLightProd().
|
private |
Definition at line 233 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVISPar(), and reconfigure().
|
private |
Definition at line 212 of file PhotonVisibilityService.h.
Referenced by SetDirectLightPropFunctions().
|
private |
Definition at line 212 of file PhotonVisibilityService.h.
Referenced by SetDirectLightPropFunctions().
|
private |
Definition at line 251 of file PhotonVisibilityService.h.
Referenced by LoadVisSemiAnalyticProperties(), and reconfigure().
|
private |
Definition at line 240 of file PhotonVisibilityService.h.
Referenced by LoadVUVSemiAnalyticProperties(), and reconfigure().
|
private |
Definition at line 225 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVUVPar(), and reconfigure().
|
private |
Definition at line 221 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVUVPar(), and reconfigure().
|
private |
Definition at line 232 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVISPar(), and reconfigure().
|
private |
Definition at line 231 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVISPar(), and reconfigure().
|
private |
Definition at line 187 of file PhotonVisibilityService.h.
Referenced by LoadLibrary(), and reconfigure().
|
private |
Definition at line 227 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVUVPar(), and reconfigure().
|
private |
Definition at line 246 of file PhotonVisibilityService.h.
Referenced by LoadGHDome(), and reconfigure().
|
private |
Definition at line 242 of file PhotonVisibilityService.h.
Referenced by LoadGHFlat(), and reconfigure().
|
private |
Definition at line 189 of file PhotonVisibilityService.h.
Referenced by LoadLibrary(), reconfigure(), and StoreLibrary().
|
private |
Definition at line 192 of file PhotonVisibilityService.h.
Referenced by reconfigure().
|
private |
Definition at line 228 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVUVPar(), and reconfigure().
|
private |
Definition at line 201 of file PhotonVisibilityService.h.
Referenced by doGetAllVisibilities(), doGetVisibilityOfOpLib(), and reconfigure().
|
private |
Definition at line 238 of file PhotonVisibilityService.h.
Referenced by LoadGHDome(), LoadVisParsDome(), LoadVUVSemiAnalyticProperties(), and reconfigure().
|
private |
Definition at line 238 of file PhotonVisibilityService.h.
Referenced by LoadGHFlat(), LoadVisParsFlat(), LoadVUVSemiAnalyticProperties(), and reconfigure().
|
private |
Definition at line 186 of file PhotonVisibilityService.h.
Referenced by LoadLibrary(), reconfigure(), and StoreLibrary().
|
private |
Definition at line 264 of file PhotonVisibilityService.h.
Referenced by LoadLibrary(), reconfigure(), and StoreLibrary().
|
private |
Mapping of detector space into library space.
Definition at line 269 of file PhotonVisibilityService.h.
Referenced by doGetAllVisibilities(), doGetReflT0s(), doGetTimingPar(), doGetTimingTF1(), doGetVisibility(), LibLocation(), NOpChannels(), and PhotonVisibilityService().
|
private |
Definition at line 228 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVUVPar(), and reconfigure().
|
private |
Definition at line 228 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVUVPar(), and reconfigure().
|
private |
Definition at line 223 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVUVPar(), and reconfigure().
|
private |
Definition at line 222 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVUVPar(), and reconfigure().
|
private |
Definition at line 180 of file PhotonVisibilityService.h.
Referenced by reconfigure().
|
private |
Definition at line 180 of file PhotonVisibilityService.h.
Referenced by reconfigure().
|
private |
Definition at line 180 of file PhotonVisibilityService.h.
Referenced by reconfigure().
|
private |
Definition at line 188 of file PhotonVisibilityService.h.
Referenced by LoadLibrary(), and reconfigure().
|
private |
Definition at line 197 of file PhotonVisibilityService.h.
Referenced by reconfigure().
|
private |
Definition at line 199 of file PhotonVisibilityService.h.
Referenced by reconfigure().
|
private |
Definition at line 200 of file PhotonVisibilityService.h.
Referenced by LoadLibrary(), and reconfigure().
|
private |
Definition at line 198 of file PhotonVisibilityService.h.
Referenced by LoadLibrary(), reconfigure(), and StoreLibrary().
|
private |
Definition at line 209 of file PhotonVisibilityService.h.
Referenced by SetDirectLightPropFunctions(), and ~PhotonVisibilityService().
|
private |
Definition at line 210 of file PhotonVisibilityService.h.
Referenced by SetDirectLightPropFunctions(), and ~PhotonVisibilityService().
|
private |
Definition at line 216 of file PhotonVisibilityService.h.
Referenced by SetReflectedCOLightPropFunctions(), and ~PhotonVisibilityService().
|
private |
Definition at line 204 of file PhotonVisibilityService.h.
Referenced by SetDirectLightPropFunctions(), and ~PhotonVisibilityService().
|
private |
Definition at line 205 of file PhotonVisibilityService.h.
Referenced by SetDirectLightPropFunctions(), and ~PhotonVisibilityService().
|
private |
Definition at line 213 of file PhotonVisibilityService.h.
Referenced by SetReflectedCOLightPropFunctions(), and ~PhotonVisibilityService().
|
private |
Definition at line 206 of file PhotonVisibilityService.h.
Referenced by SetDirectLightPropFunctions(), and ~PhotonVisibilityService().
|
private |
Definition at line 207 of file PhotonVisibilityService.h.
Referenced by SetDirectLightPropFunctions(), and ~PhotonVisibilityService().
|
private |
Definition at line 214 of file PhotonVisibilityService.h.
Referenced by SetReflectedCOLightPropFunctions(), and ~PhotonVisibilityService().
|
private |
Definition at line 211 of file PhotonVisibilityService.h.
Referenced by SetDirectLightPropFunctions(), and ~PhotonVisibilityService().
|
private |
Definition at line 217 of file PhotonVisibilityService.h.
Referenced by SetReflectedCOLightPropFunctions(), and ~PhotonVisibilityService().
|
private |
Definition at line 208 of file PhotonVisibilityService.h.
Referenced by SetDirectLightPropFunctions(), and ~PhotonVisibilityService().
|
private |
Definition at line 215 of file PhotonVisibilityService.h.
Referenced by SetReflectedCOLightPropFunctions(), and ~PhotonVisibilityService().
|
private |
Definition at line 262 of file PhotonVisibilityService.h.
Referenced by LoadVisSemiAnalyticProperties(), LoadVUVSemiAnalyticProperties(), and reconfigure().
|
private |
Definition at line 202 of file PhotonVisibilityService.h.
Referenced by PhotonVisibilityService(), and reconfigure().
|
private |
Definition at line 184 of file PhotonVisibilityService.h.
Referenced by reconfigure().
|
private |
Definition at line 184 of file PhotonVisibilityService.h.
Referenced by reconfigure().
|
private |
Definition at line 226 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVUVPar(), and reconfigure().
|
private |
Definition at line 228 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVUVPar(), and reconfigure().
|
private |
Definition at line 190 of file PhotonVisibilityService.h.
Referenced by LoadLibrary(), reconfigure(), and StoreLibrary().
|
private |
Definition at line 191 of file PhotonVisibilityService.h.
Referenced by LoadLibrary(), reconfigure(), and StoreLibrary().
|
private |
Definition at line 218 of file PhotonVisibilityService.h.
Referenced by SetReflectedCOLightPropFunctions().
|
private |
Definition at line 218 of file PhotonVisibilityService.h.
Referenced by SetReflectedCOLightPropFunctions().
|
private |
Definition at line 234 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVISPar(), and reconfigure().
|
private |
Definition at line 212 of file PhotonVisibilityService.h.
Referenced by SetDirectLightPropFunctions().
|
mutableprivate |
Definition at line 265 of file PhotonVisibilityService.h.
Referenced by GetLibraryEntries(), GetLibraryEntry(), GetLibraryReflT0Entries(), GetLibraryReflT0Entry(), GetLibraryTimingParEntries(), GetLibraryTimingParEntry(), GetLibraryTimingTF1Entries(), HasLibraryEntries(), LoadLibrary(), SetLibraryEntry(), SetLibraryReflT0Entry(), SetLibraryTimingParEntry(), SetLibraryTimingTF1Entry(), StoreLibrary(), and ~PhotonVisibilityService().
|
private |
Definition at line 183 of file PhotonVisibilityService.h.
Referenced by reconfigure().
|
private |
Definition at line 182 of file PhotonVisibilityService.h.
Referenced by reconfigure().
|
private |
Definition at line 193 of file PhotonVisibilityService.h.
Referenced by reconfigure().
|
private |
Definition at line 258 of file PhotonVisibilityService.h.
Referenced by LoadVisParsDome(), and reconfigure().
|
private |
Definition at line 254 of file PhotonVisibilityService.h.
Referenced by LoadVisParsFlat(), and reconfigure().
|
private |
Definition at line 257 of file PhotonVisibilityService.h.
Referenced by LoadVisParsDome(), and reconfigure().
|
private |
Definition at line 253 of file PhotonVisibilityService.h.
Referenced by LoadVisParsFlat(), and reconfigure().
|
private |
Definition at line 235 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVISPar(), and reconfigure().
|
private |
Definition at line 195 of file PhotonVisibilityService.h.
Referenced by reconfigure().
|
private |
Definition at line 259 of file PhotonVisibilityService.h.
Referenced by LoadVisParsDome(), and reconfigure().
|
private |
Definition at line 255 of file PhotonVisibilityService.h.
Referenced by LoadVisParsFlat(), and reconfigure().
|
private |
Definition at line 266 of file PhotonVisibilityService.h.
Referenced by reconfigure().
|
private |
Definition at line 228 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVUVPar(), and reconfigure().
|
private |
Definition at line 228 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVUVPar(), and reconfigure().
|
private |
Definition at line 224 of file PhotonVisibilityService.h.
Referenced by LoadTimingsForVUVPar(), and reconfigure().
|
private |
Definition at line 177 of file PhotonVisibilityService.h.
Referenced by reconfigure().
|
private |
Definition at line 177 of file PhotonVisibilityService.h.
Referenced by reconfigure().
|
private |
Definition at line 178 of file PhotonVisibilityService.h.
Referenced by reconfigure().
|
private |
Definition at line 178 of file PhotonVisibilityService.h.
Referenced by reconfigure().
|
private |
Definition at line 179 of file PhotonVisibilityService.h.
Referenced by reconfigure().
|
private |
Definition at line 179 of file PhotonVisibilityService.h.
Referenced by reconfigure().