9 #ifndef DETPEDESTALDUNE_H 10 #define DETPEDESTALDUNE_H 16 #include "lbne-raw-data/Services/ChannelMap/ChannelMapService.h" 18 #include <unordered_map> 75 std::unordered_map<raw::ChannelID_t,float>
fMeanMap;
76 std::unordered_map<raw::ChannelID_t,float>
fRmsMap;
Pedestal provider class for DUNE.
std::map< geo::View_t, float > fDefaultRmsErr
void SetUseDefaults(bool f)
double rms(sqlite3 *db, std::string const &table_name, std::string const &column_name)
void SetDefaults(geo::View_t v, float mean, float meanerr, float rms, float rmserr)
std::unordered_map< raw::ChannelID_t, float > fRmsMap
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
std::unordered_map< raw::ChannelID_t, float > fRmsErrMap
std::unordered_map< raw::ChannelID_t, float > fMeanMap
uint64_t VldTimeUsed() const
virtual float PedRmsErr(raw::ChannelID_t ch) const
float DefaultRms(geo::View_t v) const
virtual float PedMean(raw::ChannelID_t ch) const
Retrieve pedestal information.
void SetCSVFileName(std::string fname)
Class def header for a class DetPedestal.
virtual float PedRms(raw::ChannelID_t ch) const
DetPedestalDUNE(std::string detName="")
std::map< geo::View_t, float > fDefaultMeanErr
unsigned __int64 uint64_t
float DefaultRmsErr(geo::View_t v) const
bool Configure(fhicl::ParameterSet const &pset)
Definition of data types for geometry description.
std::map< geo::View_t, float > fDefaultRms
std::string CSVFileName() const
float DefaultMean(geo::View_t v) const
std::unordered_map< raw::ChannelID_t, float > fMeanErrMap
std::map< geo::View_t, float > fDefaultMean
art::ServiceHandle< lbne::ChannelMapService > fChannelMap
unsigned int ChannelID_t
Type representing the ID of a readout channel.
float DefaultMeanErr(geo::View_t v) const
double mean(sqlite3 *db, std::string const &table_name, std::string const &column_name)
virtual float PedMeanErr(raw::ChannelID_t ch) const
void SetDetName(std::string detName)