#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 |
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 |
| 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 32 of file PhotonVisibilityService.h.
|
private |
Type of optical library index.
Definition at line 35 of file PhotonVisibilityService.h.
| phot::PhotonVisibilityService::~PhotonVisibilityService | ( | ) |
Definition at line 49 of file PhotonVisibilityService_service.cc.
| phot::PhotonVisibilityService::PhotonVisibilityService | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 68 of file PhotonVisibilityService_service.cc.
|
inline |
Definition at line 206 of file PhotonVisibilityService.h.
|
inlinestatic |
Definition at line 47 of file PhotonVisibilityService.h.
|
staticprivate |
Definition at line 428 of file PhotonVisibilityService_service.cc.
|
private |
Definition at line 400 of file PhotonVisibilityService_service.cc.
|
private |
Definition at line 571 of file PhotonVisibilityService_service.cc.
|
private |
Definition at line 618 of file PhotonVisibilityService_service.cc.
|
private |
Definition at line 626 of file PhotonVisibilityService_service.cc.
|
private |
Definition at line 478 of file PhotonVisibilityService_service.cc.
|
private |
Definition at line 447 of file PhotonVisibilityService_service.cc.
|
private |
Definition at line 469 of file PhotonVisibilityService_service.cc.
|
inline |
Definition at line 74 of file PhotonVisibilityService.h.
| phot::IPhotonLibrary::Counts_t phot::PhotonVisibilityService::GetLibraryEntries | ( | int | VoxID, |
| bool | wantReflected = false |
||
| ) | const |
Definition at line 530 of file PhotonVisibilityService_service.cc.
| float phot::PhotonVisibilityService::GetLibraryEntry | ( | int | VoxID, |
| OpDetID_t | libOpChannel, | ||
| bool | wantReflected = false |
||
| ) | const |
Definition at line 553 of file PhotonVisibilityService_service.cc.
| phot::IPhotonLibrary::Counts_t phot::PhotonVisibilityService::GetLibraryReflT0Entries | ( | int | VoxID | ) | const |
Definition at line 582 of file PhotonVisibilityService_service.cc.
| float phot::PhotonVisibilityService::GetLibraryReflT0Entry | ( | int | VoxID, |
| OpDetID_t | libOpChannel | ||
| ) | const |
Definition at line 606 of file PhotonVisibilityService_service.cc.
| phot::IPhotonLibrary::Params_t phot::PhotonVisibilityService::GetLibraryTimingParEntries | ( | int | VoxID | ) | const |
Definition at line 636 of file PhotonVisibilityService_service.cc.
| float phot::PhotonVisibilityService::GetLibraryTimingParEntry | ( | int | VoxID, |
| OpDetID_t | libOpChannel, | ||
| size_t | npar | ||
| ) | const |
Definition at line 689 of file PhotonVisibilityService_service.cc.
| phot::IPhotonLibrary::Functions_t phot::PhotonVisibilityService::GetLibraryTimingTF1Entries | ( | int | VoxID | ) | const |
Definition at line 647 of file PhotonVisibilityService_service.cc.
| double phot::PhotonVisibilityService::GetQuenchingFactor | ( | double | dQdx | ) | const |
Definition at line 388 of file PhotonVisibilityService_service.cc.
|
inline |
Definition at line 92 of file PhotonVisibilityService.h.
|
inline |
Definition at line 102 of file PhotonVisibilityService.h.
|
inline |
Definition at line 112 of file PhotonVisibilityService.h.
|
inline |
Definition at line 67 of file PhotonVisibilityService.h.
|
inline |
Definition at line 217 of file PhotonVisibilityService.h.
| bool phot::PhotonVisibilityService::HasLibraryEntries | ( | int | VoxID, |
| bool | wantReflected = false |
||
| ) | const |
Definition at line 543 of file PhotonVisibilityService_service.cc.
|
inline |
Definition at line 60 of file PhotonVisibilityService.h.
|
inline |
Definition at line 180 of file PhotonVisibilityService.h.
|
inline |
Definition at line 196 of file PhotonVisibilityService.h.
|
inline |
Definition at line 160 of file PhotonVisibilityService.h.
|
private |
Definition at line 850 of file PhotonVisibilityService_service.cc.
| 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 810 of file PhotonVisibilityService_service.cc.
| 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 801 of file PhotonVisibilityService_service.cc.
| void phot::PhotonVisibilityService::LoadLibrary | ( | ) | const |
Definition at line 147 of file PhotonVisibilityService_service.cc.
| 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 775 of file PhotonVisibilityService_service.cc.
| 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 748 of file PhotonVisibilityService_service.cc.
| 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 834 of file PhotonVisibilityService_service.cc.
| 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 825 of file PhotonVisibilityService_service.cc.
| void phot::PhotonVisibilityService::LoadVisSemiAnalyticProperties | ( | double & | delta_angulo_vis, |
| double & | radius | ||
| ) | const |
Definition at line 819 of file PhotonVisibilityService_service.cc.
| void phot::PhotonVisibilityService::LoadVUVSemiAnalyticProperties | ( | bool & | isFlatPDCorr, |
| bool & | isDomePDCorr, | ||
| double & | delta_angulo_vuv, | ||
| double & | radius | ||
| ) | const |
Definition at line 791 of file PhotonVisibilityService_service.cc.
| size_t phot::PhotonVisibilityService::NOpChannels | ( | ) | const |
Definition at line 702 of file PhotonVisibilityService_service.cc.
|
inline |
Definition at line 190 of file PhotonVisibilityService.h.
|
inline |
Definition at line 185 of file PhotonVisibilityService.h.
| void phot::PhotonVisibilityService::reconfigure | ( | fhicl::ParameterSet const & | p | ) |
Definition at line 256 of file PhotonVisibilityService_service.cc.
| void phot::PhotonVisibilityService::RetrieveLightProd | ( | int & | VoxID, |
| double & | N | ||
| ) | const |
Definition at line 501 of file PhotonVisibilityService_service.cc.
| void phot::PhotonVisibilityService::SetDirectLightPropFunctions | ( | TF1 const * | functions[8], |
| double & | d_break, | ||
| double & | d_max, | ||
| double & | tf1_sampling_factor | ||
| ) | const |
Definition at line 711 of file PhotonVisibilityService_service.cc.
| void phot::PhotonVisibilityService::SetLibraryEntry | ( | int | VoxID, |
| OpDetID_t | libOpChannel, | ||
| float | N, | ||
| bool | wantReflected = false |
||
| ) |
Definition at line 510 of file PhotonVisibilityService_service.cc.
| void phot::PhotonVisibilityService::SetLibraryReflT0Entry | ( | int | VoxID, |
| int | OpChannel, | ||
| float | value | ||
| ) |
Definition at line 592 of file PhotonVisibilityService_service.cc.
| void phot::PhotonVisibilityService::SetLibraryTimingParEntry | ( | int | VoxID, |
| int | OpChannel, | ||
| float | value, | ||
| size_t | parnum | ||
| ) |
Definition at line 658 of file PhotonVisibilityService_service.cc.
| void phot::PhotonVisibilityService::SetLibraryTimingTF1Entry | ( | int | VoxID, |
| int | OpChannel, | ||
| TF1 const & | func | ||
| ) |
Definition at line 675 of file PhotonVisibilityService_service.cc.
| void phot::PhotonVisibilityService::SetReflectedCOLightPropFunctions | ( | TF1 const * | functions[5], |
| double & | t0_max, | ||
| double & | t0_break_point | ||
| ) | const |
Definition at line 732 of file PhotonVisibilityService_service.cc.
|
inlinestatic |
Definition at line 53 of file PhotonVisibilityService.h.
|
staticprivate |
Definition at line 438 of file PhotonVisibilityService_service.cc.
| void phot::PhotonVisibilityService::StoreLibrary | ( | ) |
Definition at line 238 of file PhotonVisibilityService_service.cc.
| void phot::PhotonVisibilityService::StoreLightProd | ( | int | VoxID, |
| double | N | ||
| ) |
Definition at line 490 of file PhotonVisibilityService_service.cc.
|
inline |
Definition at line 170 of file PhotonVisibilityService.h.
|
inline |
Definition at line 175 of file PhotonVisibilityService.h.
|
inline |
Definition at line 201 of file PhotonVisibilityService.h.
|
inline |
Definition at line 165 of file PhotonVisibilityService.h.
|
inline |
Definition at line 211 of file PhotonVisibilityService.h.
|
inlineprivate |
Definition at line 323 of file PhotonVisibilityService.h.
|
private |
Definition at line 284 of file PhotonVisibilityService.h.
|
private |
Definition at line 278 of file PhotonVisibilityService.h.
|
private |
Definition at line 244 of file PhotonVisibilityService.h.
|
private |
Definition at line 296 of file PhotonVisibilityService.h.
|
private |
Definition at line 292 of file PhotonVisibilityService.h.
|
private |
Definition at line 297 of file PhotonVisibilityService.h.
|
private |
Definition at line 293 of file PhotonVisibilityService.h.
|
private |
Definition at line 225 of file PhotonVisibilityService.h.
|
private |
Definition at line 224 of file PhotonVisibilityService.h.
|
private |
Definition at line 282 of file PhotonVisibilityService.h.
|
private |
Definition at line 262 of file PhotonVisibilityService.h.
|
private |
Definition at line 262 of file PhotonVisibilityService.h.
|
private |
Definition at line 300 of file PhotonVisibilityService.h.
|
private |
Definition at line 289 of file PhotonVisibilityService.h.
|
private |
Definition at line 275 of file PhotonVisibilityService.h.
|
private |
Definition at line 271 of file PhotonVisibilityService.h.
|
private |
Definition at line 281 of file PhotonVisibilityService.h.
|
private |
Definition at line 280 of file PhotonVisibilityService.h.
|
private |
Definition at line 237 of file PhotonVisibilityService.h.
|
private |
Definition at line 277 of file PhotonVisibilityService.h.
|
private |
Definition at line 295 of file PhotonVisibilityService.h.
|
private |
Definition at line 291 of file PhotonVisibilityService.h.
|
private |
Definition at line 239 of file PhotonVisibilityService.h.
|
private |
Definition at line 242 of file PhotonVisibilityService.h.
|
private |
Definition at line 278 of file PhotonVisibilityService.h.
|
private |
Definition at line 251 of file PhotonVisibilityService.h.
|
private |
Definition at line 287 of file PhotonVisibilityService.h.
|
private |
Definition at line 287 of file PhotonVisibilityService.h.
|
private |
Definition at line 236 of file PhotonVisibilityService.h.
|
private |
Definition at line 313 of file PhotonVisibilityService.h.
|
private |
Mapping of detector space into library space.
Definition at line 318 of file PhotonVisibilityService.h.
|
private |
Definition at line 278 of file PhotonVisibilityService.h.
|
private |
Definition at line 278 of file PhotonVisibilityService.h.
|
private |
Definition at line 273 of file PhotonVisibilityService.h.
|
private |
Definition at line 272 of file PhotonVisibilityService.h.
|
private |
Definition at line 232 of file PhotonVisibilityService.h.
|
private |
Definition at line 232 of file PhotonVisibilityService.h.
|
private |
Definition at line 232 of file PhotonVisibilityService.h.
|
private |
Definition at line 238 of file PhotonVisibilityService.h.
|
private |
Definition at line 247 of file PhotonVisibilityService.h.
|
private |
Definition at line 249 of file PhotonVisibilityService.h.
|
private |
Definition at line 250 of file PhotonVisibilityService.h.
|
private |
Definition at line 248 of file PhotonVisibilityService.h.
|
private |
Definition at line 259 of file PhotonVisibilityService.h.
|
private |
Definition at line 260 of file PhotonVisibilityService.h.
|
private |
Definition at line 266 of file PhotonVisibilityService.h.
|
private |
Definition at line 254 of file PhotonVisibilityService.h.
|
private |
Definition at line 255 of file PhotonVisibilityService.h.
|
private |
Definition at line 263 of file PhotonVisibilityService.h.
|
private |
Definition at line 256 of file PhotonVisibilityService.h.
|
private |
Definition at line 257 of file PhotonVisibilityService.h.
|
private |
Definition at line 264 of file PhotonVisibilityService.h.
|
private |
Definition at line 261 of file PhotonVisibilityService.h.
|
private |
Definition at line 267 of file PhotonVisibilityService.h.
|
private |
Definition at line 258 of file PhotonVisibilityService.h.
|
private |
Definition at line 265 of file PhotonVisibilityService.h.
|
private |
Definition at line 311 of file PhotonVisibilityService.h.
|
private |
Definition at line 252 of file PhotonVisibilityService.h.
|
private |
Definition at line 276 of file PhotonVisibilityService.h.
|
private |
Definition at line 278 of file PhotonVisibilityService.h.
|
private |
Definition at line 240 of file PhotonVisibilityService.h.
|
private |
Definition at line 241 of file PhotonVisibilityService.h.
|
private |
Definition at line 268 of file PhotonVisibilityService.h.
|
private |
Definition at line 268 of file PhotonVisibilityService.h.
|
private |
Definition at line 283 of file PhotonVisibilityService.h.
|
private |
Definition at line 262 of file PhotonVisibilityService.h.
|
mutableprivate |
Definition at line 314 of file PhotonVisibilityService.h.
|
private |
Definition at line 234 of file PhotonVisibilityService.h.
|
private |
Definition at line 243 of file PhotonVisibilityService.h.
|
private |
Definition at line 307 of file PhotonVisibilityService.h.
|
private |
Definition at line 303 of file PhotonVisibilityService.h.
|
private |
Definition at line 306 of file PhotonVisibilityService.h.
|
private |
Definition at line 302 of file PhotonVisibilityService.h.
|
private |
Definition at line 284 of file PhotonVisibilityService.h.
|
private |
Definition at line 245 of file PhotonVisibilityService.h.
|
private |
Definition at line 308 of file PhotonVisibilityService.h.
|
private |
Definition at line 304 of file PhotonVisibilityService.h.
|
private |
Definition at line 315 of file PhotonVisibilityService.h.
|
private |
Definition at line 278 of file PhotonVisibilityService.h.
|
private |
Definition at line 278 of file PhotonVisibilityService.h.
|
private |
Definition at line 274 of file PhotonVisibilityService.h.
|
private |
Definition at line 229 of file PhotonVisibilityService.h.
|
private |
Definition at line 229 of file PhotonVisibilityService.h.
|
private |
Definition at line 230 of file PhotonVisibilityService.h.
|
private |
Definition at line 230 of file PhotonVisibilityService.h.
|
private |
Definition at line 231 of file PhotonVisibilityService.h.
|
private |
Definition at line 231 of file PhotonVisibilityService.h.
1.8.11