LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Retrieves information: pmt gain. More...
#include "SIOVPmtGainProvider.h"
Public Member Functions | |
SIOVPmtGainProvider (fhicl::ParameterSet const &p) | |
Constructors. More... | |
void | Reconfigure (fhicl::ParameterSet const &p) override |
Reconfigure function called by fhicl constructor. More... | |
bool | Update (DBTimeStamp_t ts) |
Update Snapshot and inherited DBFolder if using database. Return true if updated. More... | |
const PmtGain & | PmtGainObject (DBChannelID_t ch) const |
Retrieve gain information. More... | |
float | Gain (DBChannelID_t ch) const override |
float | GainErr (DBChannelID_t ch) const override |
CalibrationExtraInfo const & | ExtraInfo (DBChannelID_t ch) const override |
bool | UpdateFolder (DBTimeStamp_t ts) |
Return true if fFolder is successfully updated. More... | |
const std::string & | URL () const |
Get connection information. More... | |
const std::string & | FolderName () const |
const std::string & | Tag () const |
const IOVTimeStamp & | Begin () const |
Get Timestamp information. More... | |
const IOVTimeStamp & | End () const |
Protected Attributes | |
std::unique_ptr< DBFolder > | fFolder |
Private Attributes | |
DataSource::ds | fDataSource |
Snapshot< PmtGain > | fData |
Retrieves information: pmt gain.
Definition at line 38 of file SIOVPmtGainProvider.h.
lariov::SIOVPmtGainProvider::SIOVPmtGainProvider | ( | fhicl::ParameterSet const & | p | ) |
Constructors.
Definition at line 17 of file SIOVPmtGainProvider.cxx.
References Reconfigure().
|
inlineinherited |
Get Timestamp information.
Definition at line 59 of file DatabaseRetrievalAlg.h.
References lariov::DatabaseRetrievalAlg::fFolder.
Referenced by Update(), lariov::SIOVElectronicsCalibProvider::Update(), lariov::DetPedestalRetrievalAlg::Update(), and lariov::SIOVChannelStatusProvider::Update().
|
inlineinherited |
Definition at line 60 of file DatabaseRetrievalAlg.h.
References lariov::DatabaseRetrievalAlg::fFolder.
Referenced by Update(), lariov::SIOVElectronicsCalibProvider::Update(), lariov::DetPedestalRetrievalAlg::Update(), and lariov::SIOVChannelStatusProvider::Update().
|
override |
Definition at line 137 of file SIOVPmtGainProvider.cxx.
References PmtGainObject().
|
inlineinherited |
Definition at line 55 of file DatabaseRetrievalAlg.h.
References lariov::DatabaseRetrievalAlg::fFolder.
|
override |
Definition at line 129 of file SIOVPmtGainProvider.cxx.
References PmtGainObject().
|
override |
Definition at line 133 of file SIOVPmtGainProvider.cxx.
References PmtGainObject().
const PmtGain & lariov::SIOVPmtGainProvider::PmtGainObject | ( | DBChannelID_t | ch | ) | const |
Retrieve gain information.
Definition at line 125 of file SIOVPmtGainProvider.cxx.
References fData.
Referenced by ExtraInfo(), Gain(), and GainErr().
|
overridevirtual |
Reconfigure function called by fhicl constructor.
Reimplemented from lariov::DatabaseRetrievalAlg.
Definition at line 23 of file SIOVPmtGainProvider.cxx.
References fData, fDataSource, file, fhicl::ParameterSet::get(), geo::GeometryCore::IsValidOpChannel(), geo::GeometryCore::NOpDets(), lariov::DatabaseRetrievalAlg::Reconfigure(), and tmp.
Referenced by SIOVPmtGainProvider().
|
inlineinherited |
Definition at line 56 of file DatabaseRetrievalAlg.h.
References lariov::DatabaseRetrievalAlg::fFolder.
bool lariov::SIOVPmtGainProvider::Update | ( | DBTimeStamp_t | ts | ) |
Update Snapshot and inherited DBFolder if using database. Return true if updated.
Definition at line 96 of file SIOVPmtGainProvider.cxx.
References lariov::DatabaseRetrievalAlg::Begin(), lariov::DatabaseRetrievalAlg::End(), fData, fDataSource, lariov::DatabaseRetrievalAlg::fFolder, and lariov::DatabaseRetrievalAlg::UpdateFolder().
Referenced by lariov::SIOVPmtGainService::PreProcessEvent().
|
inlineinherited |
Return true if fFolder is successfully updated.
Definition at line 49 of file DatabaseRetrievalAlg.h.
References lariov::DatabaseRetrievalAlg::fFolder.
Referenced by Update(), lariov::SIOVElectronicsCalibProvider::Update(), lariov::DetPedestalRetrievalAlg::Update(), and lariov::SIOVChannelStatusProvider::Update().
|
inlineinherited |
Get connection information.
Definition at line 54 of file DatabaseRetrievalAlg.h.
References lariov::DatabaseRetrievalAlg::fFolder.
|
private |
Definition at line 61 of file SIOVPmtGainProvider.h.
Referenced by PmtGainObject(), Reconfigure(), and Update().
|
private |
Definition at line 59 of file SIOVPmtGainProvider.h.
Referenced by Reconfigure(), and Update().
|
protectedinherited |
Definition at line 65 of file DatabaseRetrievalAlg.h.
Referenced by lariov::DatabaseRetrievalAlg::Begin(), lariov::DatabaseRetrievalAlg::End(), lariov::DatabaseRetrievalAlg::FolderName(), lariov::DatabaseRetrievalAlg::Reconfigure(), lariov::DatabaseRetrievalAlg::Tag(), Update(), lariov::SIOVElectronicsCalibProvider::Update(), lariov::DetPedestalRetrievalAlg::Update(), lariov::SIOVChannelStatusProvider::Update(), lariov::DatabaseRetrievalAlg::UpdateFolder(), and lariov::DatabaseRetrievalAlg::URL().