25 m_signedPacking(ps.getParameter<
bool>(
"signedPackingPt")),
26 m_nbitsPacking(ps.getParameter<
int>(
"nbitPackingPt")),
27 m_nBins(ps.getParameter<
int>(
"nbinsPt")) {}
53 "Problem finding L1MuTriggerScales associated " 81 "L1T_SCALE_MUON_PT.ID",
86 throw cond::Exception(
"Couldn't find Pt scale record for scales key `" + objectKey +
"'");
89 vector<double> scales;
95 cout <<
"PT scale:" << endl <<
result->getPtScale()->print() << endl;
persistency::Exception Exception
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
const QueryResults singleAttribute(const T &data) const
unsigned int m_nbitsPacking
const QueryResults basicQuery(const std::vector< std::string > &columnNames, const std::string &schemaName, const std::string &tableName, const std::string &conditionLHS="", const QueryResults conditionRHS=QueryResults(), const std::string &conditionRHSName="")
l1t::OMDSReader m_omdsReader
L1MuTriggerPtScaleOnlineProducer(const edm::ParameterSet &)
~L1MuTriggerPtScaleOnlineProducer() override
void pushColumnNames(std::vector< std::string > &columns)
void extractScales(l1t::OMDSReader::QueryResults &record, std::vector< double > &destScales)
std::unique_ptr< L1MuTriggerPtScale > newObject(const std::string &objectKey) override