Go to the documentation of this file. 1 #ifndef CALIBTRACKER_SISTRIPESPRODUCERS_INTERFACE_SISTRIPQUALITYHELPERS_H
2 #define CALIBTRACKER_SISTRIPESPRODUCERS_INTERFACE_SISTRIPQUALITYHELPERS_H
46 bool keepCopy =
false) {
65 descFedErr.
add<
bool>(
"Add",
false);
66 descFedErr.add<
double>(
"Cutoff", 0.8);
68 descFedErr.add<
unsigned int>(
"FileRunNumber", -1);
92 #endif // CALIBTRACKER_SISTRIPESPRODUCERS_INTERFACE_SISTRIPQUALITYHELPERS_H
static void fillDescription(edm::ParameterSetDescription &desc)
const SiStripQuality & getMergedQuality(dqm::harvesting::DQMStore::IGetter &getter)
edm::ESGetToken< SiStripQuality, SiStripQualityRcd > stripQualityToken_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
std::unique_ptr< SiStripQuality > badStripFromFedErr(dqm::harvesting::DQMStore::IGetter &dqmStore, const SiStripFedCabling &fedCabling, float cutoff)
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses,...
std::unique_ptr< SiStripFedCabling > fedCabling_
SiStripQualityWithFromFedErrorsHelper(const edm::ParameterSet &iConfig, edm::ConsumesCollector iC, bool keepCopy=false)
bool addBadCompFromFedErr_
std::unique_ptr< SiStripQuality > mergedQuality_
std::string fedErrLegacyFile_
unsigned int fedErrFileRunNumber_
edm::ESWatcher< SiStripQualityRcd > stripQualityWatcher_
T getParameter(std::string const &) const
edm::ESGetToken< SiStripFedCabling, SiStripFedCablingRcd > fedCablingToken_
bool addBadCompFromFedErr() const
const edm::ESGetToken< SiStripQuality, SiStripQualityRcd > & qualityToken() const
bool endRun(const edm::EventSetup &)
std::unique_ptr< SiStripQuality > badStripFromFedErrLegacyDQMFile(const std::string &fileName, unsigned int runNumber, const SiStripFedCabling &fedCabling, float cutoff)