LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Retrieves information: electronics calibrations, specifically gain and shaping time. More...
#include "SIOVElectronicsCalibProvider.h"
Public Member Functions | |
SIOVElectronicsCalibProvider (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 ElectronicsCalib & | ElectronicsCalibObject (DBChannelID_t ch) const |
Retrieve electronics calibration information. More... | |
float | Gain (DBChannelID_t ch) const override |
float | GainErr (DBChannelID_t ch) const override |
float | ShapingTime (DBChannelID_t ch) const override |
float | ShapingTimeErr (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< ElectronicsCalib > | fData |
Retrieves information: electronics calibrations, specifically gain and shaping time.
Definition at line 42 of file SIOVElectronicsCalibProvider.h.
lariov::SIOVElectronicsCalibProvider::SIOVElectronicsCalibProvider | ( | fhicl::ParameterSet const & | p | ) |
Constructors.
Definition at line 17 of file SIOVElectronicsCalibProvider.cxx.
References Reconfigure().
|
inlineinherited |
Get Timestamp information.
Definition at line 59 of file DatabaseRetrievalAlg.h.
References lariov::DatabaseRetrievalAlg::fFolder.
Referenced by lariov::SIOVPmtGainProvider::Update(), Update(), lariov::DetPedestalRetrievalAlg::Update(), and lariov::SIOVChannelStatusProvider::Update().
const ElectronicsCalib & lariov::SIOVElectronicsCalibProvider::ElectronicsCalibObject | ( | DBChannelID_t | ch | ) | const |
Retrieve electronics calibration information.
Definition at line 141 of file SIOVElectronicsCalibProvider.cxx.
References fData.
Referenced by ExtraInfo(), Gain(), GainErr(), ShapingTime(), and ShapingTimeErr().
|
inlineinherited |
Definition at line 60 of file DatabaseRetrievalAlg.h.
References lariov::DatabaseRetrievalAlg::fFolder.
Referenced by lariov::SIOVPmtGainProvider::Update(), Update(), lariov::DetPedestalRetrievalAlg::Update(), and lariov::SIOVChannelStatusProvider::Update().
|
override |
Definition at line 161 of file SIOVElectronicsCalibProvider.cxx.
References ElectronicsCalibObject().
|
inlineinherited |
Definition at line 55 of file DatabaseRetrievalAlg.h.
References lariov::DatabaseRetrievalAlg::fFolder.
|
override |
Definition at line 145 of file SIOVElectronicsCalibProvider.cxx.
References ElectronicsCalibObject().
|
override |
Definition at line 149 of file SIOVElectronicsCalibProvider.cxx.
References ElectronicsCalibObject().
|
overridevirtual |
Reconfigure function called by fhicl constructor.
Reimplemented from lariov::DatabaseRetrievalAlg.
Definition at line 23 of file SIOVElectronicsCalibProvider.cxx.
References geo::GeometryCore::begin_wire_id(), geo::GeometryCore::end_wire_id(), fData, fDataSource, file, fhicl::ParameterSet::get(), geo::GeometryCore::PlaneWireToChannel(), lariov::DatabaseRetrievalAlg::Reconfigure(), and tmp.
Referenced by SIOVElectronicsCalibProvider().
|
override |
Definition at line 153 of file SIOVElectronicsCalibProvider.cxx.
References ElectronicsCalibObject().
|
override |
Definition at line 157 of file SIOVElectronicsCalibProvider.cxx.
References ElectronicsCalibObject().
|
inlineinherited |
Definition at line 56 of file DatabaseRetrievalAlg.h.
References lariov::DatabaseRetrievalAlg::fFolder.
bool lariov::SIOVElectronicsCalibProvider::Update | ( | DBTimeStamp_t | ts | ) |
Update Snapshot and inherited DBFolder if using database. Return true if updated.
Definition at line 107 of file SIOVElectronicsCalibProvider.cxx.
References lariov::DatabaseRetrievalAlg::Begin(), lariov::DatabaseRetrievalAlg::End(), fData, fDataSource, lariov::DatabaseRetrievalAlg::fFolder, and lariov::DatabaseRetrievalAlg::UpdateFolder().
Referenced by lariov::SIOVElectronicsCalibService::PreProcessEvent().
|
inlineinherited |
Return true if fFolder is successfully updated.
Definition at line 49 of file DatabaseRetrievalAlg.h.
References lariov::DatabaseRetrievalAlg::fFolder.
Referenced by lariov::SIOVPmtGainProvider::Update(), 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 67 of file SIOVElectronicsCalibProvider.h.
Referenced by ElectronicsCalibObject(), Reconfigure(), and Update().
|
private |
Definition at line 65 of file SIOVElectronicsCalibProvider.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(), lariov::SIOVPmtGainProvider::Update(), Update(), lariov::DetPedestalRetrievalAlg::Update(), lariov::SIOVChannelStatusProvider::Update(), lariov::DatabaseRetrievalAlg::UpdateFolder(), and lariov::DatabaseRetrievalAlg::URL().