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