LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
TODO doc. More...
#include "PhotonLibraryHybrid.h"
Classes | |
struct | Exception |
struct | FitFunc |
struct | OpDetRecord |
Public Member Functions | |
PhotonLibraryHybrid (const std::string &fname, const sim::PhotonVoxelDef &voxdef) | |
virtual | ~PhotonLibraryHybrid () |
virtual float | GetCount (size_t Voxel, size_t OpChannel) const override |
virtual const float * | GetCounts (size_t Voxel) const override |
Returns a pointer to NOpChannels() visibility values, one per channel. More... | |
virtual bool | hasReflected () const override |
Don't implement reflected light. More... | |
virtual const float * | GetReflCounts (size_t Voxel) const override |
virtual float | GetReflCount (size_t Voxel, size_t OpChannel) const override |
virtual bool | hasReflectedT0 () const override |
Don't implement reflected light timing. More... | |
virtual const float * | GetReflT0s (size_t Voxel) const override |
virtual float | GetReflT0 (size_t Voxel, size_t OpChannel) const override |
virtual int | NOpChannels () const override |
virtual int | NVoxels () const override |
size_t | LibrarySize () const |
Returns the number of elements in the library. More... | |
Protected Attributes | |
const sim::PhotonVoxelDef & | fVoxDef |
std::vector< OpDetRecord > | fRecords |
TODO doc.
Definition at line 18 of file PhotonLibraryHybrid.h.
phot::PhotonLibraryHybrid::PhotonLibraryHybrid | ( | const std::string & | fname, |
const sim::PhotonVoxelDef & | voxdef | ||
) |
Definition at line 27 of file PhotonLibraryHybrid.cxx.
References dir, phot::PhotonLibraryHybrid::OpDetRecord::exceptions, f, phot::PhotonLibraryHybrid::OpDetRecord::fit, fRecords, geo::GeometryCore::NOpDets(), NVoxels(), and vox.
|
virtual |
Definition at line 75 of file PhotonLibraryHybrid.cxx.
|
overridevirtual |
Implements phot::IPhotonLibrary.
Definition at line 98 of file PhotonLibraryHybrid.cxx.
References geo::OpDetGeo::DistanceToPoint(), phot::PhotonLibraryHybrid::FitFunc::Eval(), phot::PhotonLibraryHybrid::OpDetRecord::exceptions, phot::PhotonLibraryHybrid::OpDetRecord::fit, fRecords, fVoxDef, sim::PhotonVoxel::GetCenter(), sim::PhotonVoxelDef::GetPhotonVoxel(), NOpChannels(), NVoxels(), geo::GeometryCore::OpDetGeoFromOpDet(), and vox.
Referenced by GetCounts().
|
overridevirtual |
Returns a pointer to NOpChannels() visibility values, one per channel.
Implements phot::IPhotonLibrary.
Definition at line 86 of file PhotonLibraryHybrid.cxx.
References GetCount(), and NOpChannels().
|
inlineoverridevirtual |
Implements phot::IPhotonLibrary.
Definition at line 33 of file PhotonLibraryHybrid.h.
|
inlineoverridevirtual |
Implements phot::IPhotonLibrary.
Definition at line 32 of file PhotonLibraryHybrid.h.
|
inlineoverridevirtual |
Implements phot::IPhotonLibrary.
Definition at line 38 of file PhotonLibraryHybrid.h.
|
inlineoverridevirtual |
Implements phot::IPhotonLibrary.
Definition at line 37 of file PhotonLibraryHybrid.h.
|
inlineoverridevirtual |
Don't implement reflected light.
Implements phot::IPhotonLibrary.
Definition at line 31 of file PhotonLibraryHybrid.h.
|
inlineoverridevirtual |
Don't implement reflected light timing.
Implements phot::IPhotonLibrary.
Definition at line 36 of file PhotonLibraryHybrid.h.
|
inlineinherited |
Returns the number of elements in the library.
Definition at line 37 of file IPhotonLibrary.h.
References phot::IPhotonLibrary::NOpChannels(), and phot::IPhotonLibrary::NVoxels().
Referenced by phot::PhotonLibrary::CreateEmptyLibrary(), and phot::PhotonLibrary::LoadLibraryFromFile().
|
inlineoverridevirtual |
Implements phot::IPhotonLibrary.
Definition at line 40 of file PhotonLibraryHybrid.h.
Referenced by GetCount(), and GetCounts().
|
overridevirtual |
Implements phot::IPhotonLibrary.
Definition at line 80 of file PhotonLibraryHybrid.cxx.
References fVoxDef, and sim::PhotonVoxelDef::GetNVoxels().
Referenced by GetCount(), and PhotonLibraryHybrid().
|
protected |
Definition at line 74 of file PhotonLibraryHybrid.h.
Referenced by GetCount(), and PhotonLibraryHybrid().
|
protected |
Definition at line 44 of file PhotonLibraryHybrid.h.
Referenced by GetCount(), and NVoxels().