LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Interface shared by all PhotonLibrary-like classes. More...
#include "IPhotonLibrary.h"
Public Types | |
using | Counts_t = const float * |
Type for visibility count per optical channel. More... | |
using | T0s_t = const float * |
Type for time of arrival per optical channel. More... | |
using | Params_t = std::vector< float > const * |
using | Functions_t = TF1 * |
Public Member Functions | |
virtual | ~IPhotonLibrary ()=default |
virtual float | GetCount (size_t Voxel, size_t OpChannel) const =0 |
virtual float | GetReflCount (size_t Voxel, size_t OpChannel) const =0 |
virtual float | GetReflT0 (size_t Voxel, size_t OpChannel) const =0 |
virtual Counts_t | GetCounts (size_t Voxel) const =0 |
Returns a pointer to NOpChannels() visibility values, one per channel. More... | |
virtual Counts_t | GetReflCounts (size_t Voxel) const =0 |
virtual T0s_t | GetReflT0s (size_t Voxel) const =0 |
virtual bool | hasReflected () const =0 |
Returns whether the current library deals with reflected light count. More... | |
virtual bool | hasReflectedT0 () const =0 |
Returns whether the current library deals with reflected light timing. More... | |
virtual int | NOpChannels () const =0 |
virtual int | NVoxels () const =0 |
virtual bool | isVoxelValid (size_t Voxel) const |
size_t | LibrarySize () const |
Returns the number of elements in the library. More... | |
Interface shared by all PhotonLibrary-like classes.
Definition at line 14 of file IPhotonLibrary.h.
using phot::IPhotonLibrary::Counts_t = const float* |
Type for visibility count per optical channel.
Definition at line 17 of file IPhotonLibrary.h.
using phot::IPhotonLibrary::Functions_t = TF1* |
Type for parametrization function (which is not part of this interface yet).
Definition at line 28 of file IPhotonLibrary.h.
using phot::IPhotonLibrary::Params_t = std::vector<float> const* |
Type for function parameters (which is not part of this interface yet).
Definition at line 24 of file IPhotonLibrary.h.
using phot::IPhotonLibrary::T0s_t = const float* |
Type for time of arrival per optical channel.
Definition at line 20 of file IPhotonLibrary.h.
|
virtualdefault |
|
pure virtual |
Implemented in phot::PhotonLibrary, and phot::PhotonLibraryHybrid.
Referenced by phot::PhotonVisibilityService::GetLibraryEntry().
|
pure virtual |
Returns a pointer to NOpChannels() visibility values, one per channel.
Implemented in phot::PhotonLibrary, and phot::PhotonLibraryHybrid.
Referenced by phot::PhotonVisibilityService::GetLibraryEntries().
|
pure virtual |
Implemented in phot::PhotonLibrary, and phot::PhotonLibraryHybrid.
Referenced by phot::PhotonVisibilityService::GetLibraryEntry().
|
pure virtual |
Implemented in phot::PhotonLibrary, and phot::PhotonLibraryHybrid.
Referenced by phot::PhotonVisibilityService::GetLibraryEntries().
|
pure virtual |
Implemented in phot::PhotonLibrary, and phot::PhotonLibraryHybrid.
Referenced by phot::PhotonVisibilityService::GetLibraryReflT0Entry().
|
pure virtual |
Implemented in phot::PhotonLibrary, and phot::PhotonLibraryHybrid.
Referenced by phot::PhotonVisibilityService::GetLibraryReflT0Entries().
|
pure virtual |
Returns whether the current library deals with reflected light count.
Implemented in phot::PhotonLibrary, and phot::PhotonLibraryHybrid.
|
pure virtual |
Returns whether the current library deals with reflected light timing.
Implemented in phot::PhotonLibrary, and phot::PhotonLibraryHybrid.
|
inlinevirtual |
Reimplemented in phot::PhotonLibrary.
Definition at line 50 of file IPhotonLibrary.h.
References NVoxels().
Referenced by phot::PhotonVisibilityService::HasLibraryEntries().
|
inline |
Returns the number of elements in the library.
Definition at line 53 of file IPhotonLibrary.h.
References NOpChannels(), and NVoxels().
Referenced by phot::PhotonLibrary::CreateEmptyLibrary(), and phot::PhotonLibrary::LoadLibraryFromFile().
|
pure virtual |
Implemented in phot::PhotonLibrary, and phot::PhotonLibraryHybrid.
Referenced by LibrarySize().
|
pure virtual |
Implemented in phot::PhotonLibrary, and phot::PhotonLibraryHybrid.
Referenced by isVoxelValid(), and LibrarySize().