27 m_signedPacking(ps.getParameter<bool>(
"signedPackingPt")),
28 m_nbitsPacking(ps.getParameter<int>(
"nbitPackingPt")),
29 m_nBins(ps.getParameter<int>(
"nbinsPt"))
41 boost::shared_ptr<L1MuTriggerPtScale>
44 using namespace edm::es;
60 if( keysRecord.numberRows() != 1 )
63 "with scales key " + objectKey);
79 vector<string> columns;
91 "L1T_SCALE_MUON_PT.ID",
95 if(resultRecord.numberRows() != 1) {
100 vector<double> scales;
105 #ifdef DEBUG_PT_SCALE
106 cout <<
"PT scale:" << endl << result->getPtScale()->print() << endl;
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="") const
l1t::OMDSReader m_omdsReader
L1MuTriggerPtScaleOnlineProducer(const edm::ParameterSet &)
void pushColumnNames(std::vector< std::string > &columns)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
boost::shared_ptr< L1MuTriggerPtScale > newObject(const std::string &objectKey)
void extractScales(l1t::OMDSReader::QueryResults &record, std::vector< double > &destScales)