25 m_signedPacking(ps.getParameter<bool>(
"signedPackingPt")),
26 m_nbitsPacking(ps.getParameter<int>(
"nbitPackingPt")),
27 m_nBins(ps.getParameter<int>(
"nbinsPt"))
39 boost::shared_ptr<L1MuTriggerPtScale>
42 using namespace edm::es;
58 if( keysRecord.numberRows() != 1 )
61 "with scales key " + objectKey);
77 vector<string> columns;
89 "L1T_SCALE_MUON_PT.ID",
93 if(resultRecord.numberRows() != 1) {
98 vector<double> scales;
103 #ifdef DEBUG_PT_SCALE
104 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
~L1MuTriggerPtScaleOnlineProducer()
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 &)
void pushColumnNames(std::vector< std::string > &columns)
boost::shared_ptr< L1MuTriggerPtScale > newObject(const std::string &objectKey)
void extractScales(l1t::OMDSReader::QueryResults &record, std::vector< double > &destScales)