CMS 3D CMS Logo

List of all members | Classes | Public Member Functions
l1t::OMDSReader Class Reference

#include <OMDSReader.h>

Inheritance diagram for l1t::OMDSReader:
l1t::DataManager

Classes

class  QueryResults
 

Public Member Functions

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 QueryResults basicQuery (const std::string &columnName, const std::string &schemaName, const std::string &tableName, const std::string &conditionLHS="", const QueryResults conditionRHS=QueryResults(), const std::string &conditionRHSName="")
 
template<class T >
const QueryResults basicQueryGenericKey (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="")
 
template<class T >
const QueryResults basicQueryGenericKey (const std::string &columnName, const std::string &schemaName, const std::string &tableName, const std::string &conditionLHS="", const QueryResults conditionRHS=QueryResults(), const std::string &conditionRHSName="")
 
const QueryResults basicQueryView (const std::vector< std::string > &columnNames, const std::string &schemaName, const std::string &viewName, const std::string &conditionLHS="", const QueryResults conditionRHS=QueryResults(), const std::string &conditionRHSName="")
 
const QueryResults basicQueryView (const std::string &columnName, const std::string &schemaName, const std::string &viewName, const std::string &conditionLHS="", const QueryResults conditionRHS=QueryResults(), const std::string &conditionRHSName="")
 
std::vector< std::string > columnNames (const std::string &schemaName, const std::string &tableName)
 
std::vector< std::string > columnNamesView (const std::string &schemaName, const std::string &viewName)
 
void connect (const std::string &connectString, const std::string &authenticationPath)
 
 OMDSReader ()
 
 OMDSReader (const std::string &connectString, const std::string &authenticationPath)
 
 OMDSReader (const OMDSReader &)=delete
 
const OMDSReaderoperator= (const OMDSReader &)=delete
 
template<class T >
const QueryResults singleAttribute (const T &data) const
 
 ~OMDSReader () override
 
- Public Member Functions inherited from l1t::DataManager
void connect (const std::string &connectString, const std::string &authenticationPath, bool isOMDS=false)
 
 DataManager ()
 
 DataManager (const std::string &connectString, const std::string &authenticationPath, bool isOMDS=false)
 
cond::persistency::Session dbSession ()
 
void setDebug (bool debug)
 
virtual ~DataManager ()
 

Additional Inherited Members

- Protected Member Functions inherited from l1t::DataManager
edm::eventsetup::TypeTag findType (const std::string &type)
 
- Protected Attributes inherited from l1t::DataManager
cond::persistency::Session session
 

Detailed Description

Definition at line 42 of file OMDSReader.h.

Constructor & Destructor Documentation

◆ OMDSReader() [1/3]

OMDSReader::OMDSReader ( )

Definition at line 36 of file OMDSReader.cc.

36 : DataManager() {}

◆ OMDSReader() [2/3]

OMDSReader::OMDSReader ( const std::string &  connectString,
const std::string &  authenticationPath 
)

Definition at line 38 of file OMDSReader.cc.

References l1t::DataManager::session, cond::persistency::Transaction::start(), and cond::persistency::Session::transaction().

39  : DataManager(connectString, authenticationPath, true) {
40  session.transaction().start(true);
41  }
void start(bool readOnly=true)
Definition: Session.cc:18
Transaction & transaction()
Definition: Session.cc:52
cond::persistency::Session session
Definition: DataManager.h:33

◆ OMDSReader() [3/3]

l1t::OMDSReader::OMDSReader ( const OMDSReader )
delete

◆ ~OMDSReader()

OMDSReader::~OMDSReader ( )
override

Definition at line 53 of file OMDSReader.cc.

53 {}

Member Function Documentation

◆ basicQuery() [1/2]

const OMDSReader::QueryResults OMDSReader::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 = "" 
)

Definition at line 75 of file OMDSReader.cc.

References l1t::OMDSReader::QueryResults::attributeLists(), l1t::OMDSReader::QueryResults::columnNames(), columnNames(), cond::persistency::Session::coralSession(), l1t::OMDSReader::QueryResults::fillVariable(), l1t::OMDSReader::QueryResults::numberRows(), contentValuesFiles::query, l1t::DataManager::session, AlCaHLTBitMon_QueryRunRegistry::string, TableParser::table, HLT_2023v12_cff::tableName, and createJobs::tmp.

Referenced by L1GtPsbSetupConfigOnlineProd::addPsbFromDb(), basicQuery(), basicQueryView(), l1t::OnlineDBqueryHelper::fetch(), L1TUtmTriggerMenuObjectKeysOnlineProd::fillObjectKeys(), CSCTFObjectKeysOnlineProd::fillObjectKeys(), L1GctTSCObjectKeysOnlineProd::fillObjectKeys(), L1GctRSObjectKeysOnlineProd::fillObjectKeys(), L1MuGMTRSKeysOnlineProd::fillObjectKeys(), L1MuGMTParametersKeysOnlineProd::fillObjectKeys(), L1MuTriggerScaleKeysOnlineProd::fillObjectKeys(), DTTFRSKeysOnlineProd::fillObjectKeys(), DTTFTSCObjectKeysOnlineProd::fillObjectKeys(), RCTObjectKeysOnlineProd::fillObjectKeys(), L1RCT_RSKeysOnlineProd::fillObjectKeys(), L1GtTscObjectKeysOnlineProd::keyL1GtParameters(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskAlgoTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskTechTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskVetoTechTrig(), L1GtTscObjectKeysOnlineProd::keyL1GtTriggerMenu(), CSCTFAlignmentOnlineProd::newObject(), L1MuCSCPtLutConfigOnlineProd::newObject(), L1MuGMTChannelMaskOnlineProducer::newObject(), CSCTFConfigOnlineProd::newObject(), L1GctChannelMaskOnlineProd::newObject(), L1GctJetFinderParamsOnlineProd::newObject(), L1TUtmTriggerMenuOnlineProd::newObject(), L1TGlobalPrescalesVetosOnlineProd::newObject(), L1EmEtScaleOnlineProd::newObject(), L1HfRingEtScaleOnlineProd::newObject(), L1HtMissScaleOnlineProd::newObject(), L1JetEtScaleOnlineProd::newObject(), L1MuTriggerPtScaleOnlineProducer::newObject(), DTTFMasksOnlineProd::newObject(), DTTFParametersOnlineProd::newObject(), L1MuTriggerScalesOnlineProducer::newObject(), L1RCTParametersOnlineProd::newObject(), L1GtParametersConfigOnlineProd::newObject(), L1GtPrescaleFactorsAlgoTrigConfigOnlineProd::newObject(), L1GtTriggerMaskTechTrigConfigOnlineProd::newObject(), L1RCTChannelMaskOnlineProd::newObject(), L1GtTriggerMaskAlgoTrigConfigOnlineProd::newObject(), L1CaloEcalScaleConfigOnlineProd::newObject(), L1GtTriggerMaskVetoTechTrigConfigOnlineProd::newObject(), L1GtPrescaleFactorsTechTrigConfigOnlineProd::newObject(), L1GtPsbSetupConfigOnlineProd::newObject(), L1CaloHcalScaleConfigOnlineProd::newObject(), L1SubsystemKeysOnlineProdExt::produce(), and L1SubsystemKeysOnlineProd::produce().

80  {
81  coral::ISessionProxy& coralSession = session.coralSession();
82  coral::ISchema& schema = schemaName.empty() ? coralSession.nominalSchema() : coralSession.schema(schemaName);
83 
84  coral::ITable& table = schema.tableHandle(tableName);
85 
86  // Pointer is deleted automatically at end of function.
87  std::shared_ptr<coral::IQuery> query(table.newQuery());
88 
89  // Construct query
90  std::vector<std::string>::const_iterator it = columnNames.begin();
91  std::vector<std::string>::const_iterator end = columnNames.end();
92  for (; it != end; ++it) {
93  query->addToOutputList(*it);
94  }
95 
96  // Only apply condition if RHS has one row.
97  if (!conditionLHS.empty() && conditionRHS.numberRows() == 1) {
98  if (!conditionRHSName.empty()) {
99  // Assume all RHS types are strings.
100  coral::AttributeList attList;
101  attList.extend(conditionRHSName, typeid(std::string));
103  conditionRHS.fillVariable(conditionRHSName, tmp);
104  attList[conditionRHSName].data<std::string>() = tmp;
105 
106  query->setCondition(conditionLHS + " = :" + conditionRHSName, attList);
107  } else if (conditionRHS.columnNames().size() == 1)
108  // check for only one column
109  {
110  query->setCondition(conditionLHS + " = :" + conditionRHS.columnNames().front(),
111  conditionRHS.attributeLists().front());
112  }
113  }
114 
115  coral::ICursor& cursor = query->execute();
116 
117  // Copy AttributeLists for external use because the cursor is deleted
118  // when the query goes out of scope.
119  std::vector<coral::AttributeList> atts;
120  while (cursor.next()) {
121  atts.push_back(cursor.currentRow());
122  };
123 
124  return QueryResults(columnNames, atts);
125  }
Definition: query.py:1
std::vector< std::string > columnNames(const std::string &schemaName, const std::string &tableName)
Definition: OMDSReader.cc:138
coral::ISessionProxy & coralSession()
Definition: Session.cc:218
tmp
align.sh
Definition: createJobs.py:716
cond::persistency::Session session
Definition: DataManager.h:33

◆ basicQuery() [2/2]

const OMDSReader::QueryResults OMDSReader::basicQuery ( const std::string &  columnName,
const std::string &  schemaName,
const std::string &  tableName,
const std::string &  conditionLHS = "",
const QueryResults  conditionRHS = QueryResults(),
const std::string &  conditionRHSName = "" 
)

Definition at line 127 of file OMDSReader.cc.

References basicQuery(), columnNames(), and HLT_2023v12_cff::tableName.

132  {
133  std::vector<std::string> columnNames;
134  columnNames.push_back(columnName);
135  return basicQuery(columnNames, schemaName, tableName, conditionLHS, conditionRHS, conditionRHSName);
136  }
std::vector< std::string > columnNames(const std::string &schemaName, const std::string &tableName)
Definition: OMDSReader.cc:138
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="")
Definition: OMDSReader.cc:75

◆ basicQueryGenericKey() [1/2]

template<class T >
const OMDSReader::QueryResults OMDSReader::basicQueryGenericKey ( 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 = "" 
)

Definition at line 194 of file OMDSReader.h.

References l1t::OMDSReader::QueryResults::attributeLists(), l1t::OMDSReader::QueryResults::columnNames(), columnNames(), cond::persistency::Session::coralSession(), l1t::OMDSReader::QueryResults::fillVariable(), l1t::OMDSReader::QueryResults::numberRows(), contentValuesFiles::query, l1t::DataManager::session, TableParser::table, HLT_2023v12_cff::tableName, and createJobs::tmp.

Referenced by L1GtRsObjectKeysOnlineProd::keyL1GtPrescaleFactorsAlgoTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtPrescaleFactorsTechTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskAlgoTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskTechTrig(), and L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskVetoTechTrig().

199  {
200  coral::ISessionProxy& coralSession = session.coralSession();
201  coral::ISchema& schema = schemaName.empty() ? coralSession.nominalSchema() : coralSession.schema(schemaName);
202 
203  coral::ITable& table = schema.tableHandle(tableName);
204 
205  // Pointer is deleted automatically at end of function.
206  std::shared_ptr<coral::IQuery> query(table.newQuery());
207 
208  // Construct query
209  std::vector<std::string>::const_iterator it = columnNames.begin();
210  std::vector<std::string>::const_iterator end = columnNames.end();
211  for (; it != end; ++it) {
212  query->addToOutputList(*it);
213  }
214 
215  // Only apply condition if RHS has one row.
216  if (!conditionLHS.empty() && conditionRHS.numberRows() == 1) {
217  if (!conditionRHSName.empty()) {
218  // Use type of dummyVariable to determine type of condition RHS
219  coral::AttributeList attList;
220  attList.extend(conditionRHSName, typeid(T));
221  T tmp = T();
222  conditionRHS.fillVariable(conditionRHSName, tmp);
223  attList[conditionRHSName].data<T>() = tmp;
224 
225  query->setCondition(conditionLHS + " = :" + conditionRHSName, attList);
226  } else if (conditionRHS.columnNames().size() == 1)
227  // check for only one column
228  {
229  query->setCondition(conditionLHS + " = :" + conditionRHS.columnNames().front(),
230  conditionRHS.attributeLists().front());
231  }
232  }
233 
234  coral::ICursor& cursor = query->execute();
235 
236  // Copy AttributeLists for external use because the cursor is deleted
237  // when the query goes out of scope.
238  std::vector<coral::AttributeList> atts;
239  while (cursor.next()) {
240  atts.push_back(cursor.currentRow());
241  };
242 
243  return QueryResults(columnNames, atts);
244  }
Definition: query.py:1
std::vector< std::string > columnNames(const std::string &schemaName, const std::string &tableName)
Definition: OMDSReader.cc:138
coral::ISessionProxy & coralSession()
Definition: Session.cc:218
tmp
align.sh
Definition: createJobs.py:716
long double T
cond::persistency::Session session
Definition: DataManager.h:33

◆ basicQueryGenericKey() [2/2]

template<class T >
const OMDSReader::QueryResults OMDSReader::basicQueryGenericKey ( const std::string &  columnName,
const std::string &  schemaName,
const std::string &  tableName,
const std::string &  conditionLHS = "",
const QueryResults  conditionRHS = QueryResults(),
const std::string &  conditionRHSName = "" 
)

Definition at line 247 of file OMDSReader.h.

References columnNames(), and HLT_2023v12_cff::tableName.

252  {
253  std::vector<std::string> columnNames;
254  columnNames.push_back(columnName);
255  return basicQueryGenericKey<T>(columnNames, schemaName, tableName, conditionLHS, conditionRHS, conditionRHSName);
256  }
std::vector< std::string > columnNames(const std::string &schemaName, const std::string &tableName)
Definition: OMDSReader.cc:138

◆ basicQueryView() [1/2]

const OMDSReader::QueryResults OMDSReader::basicQueryView ( const std::vector< std::string > &  columnNames,
const std::string &  schemaName,
const std::string &  viewName,
const std::string &  conditionLHS = "",
const QueryResults  conditionRHS = QueryResults(),
const std::string &  conditionRHSName = "" 
)

Definition at line 158 of file OMDSReader.cc.

References l1t::OMDSReader::QueryResults::attributeLists(), l1t::OMDSReader::QueryResults::columnNames(), columnNames(), cond::persistency::Session::coralSession(), l1t::OMDSReader::QueryResults::fillVariable(), l1t::OMDSReader::QueryResults::numberRows(), contentValuesFiles::query, l1t::DataManager::session, AlCaHLTBitMon_QueryRunRegistry::string, and createJobs::tmp.

Referenced by L1GtPrescaleFactorsAlgoTrigConfigOnlineProd::newObject(), L1GtPrescaleFactorsTechTrigConfigOnlineProd::newObject(), L1CaloHcalScaleConfigOnlineProd::newObject(), L1GtTriggerMenuConfigOnlineProd::tableMenuAlgoCondFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuAlgoFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuCondFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuGeneralFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuObjectParametersFromDB(), and L1GtTriggerMenuConfigOnlineProd::tableMenuTechTrigFromDB().

163  {
164  coral::ISessionProxy& coralSession = session.coralSession();
165  coral::ISchema& schema = schemaName.empty() ? coralSession.nominalSchema() : coralSession.schema(schemaName);
166 
167  // coral::IView& view = schema.viewHandle( viewName ) ;
168 
169  // Pointer is deleted automatically at end of function.
170  coral::IQuery* query = schema.newQuery();
171  ;
172 
173  // Construct query
174  for (std::vector<std::string>::const_iterator constIt = columnNames.begin(); constIt != columnNames.end();
175  ++constIt) {
176  query->addToOutputList(*constIt);
177  }
178 
179  query->addToTableList(viewName);
180 
181  // Only apply condition if RHS has one row.
182  if (!conditionLHS.empty() && conditionRHS.numberRows() == 1) {
183  if (!conditionRHSName.empty()) {
184  // Assume all RHS types are strings.
185  coral::AttributeList attList;
186  attList.extend(conditionRHSName, typeid(std::string));
188  conditionRHS.fillVariable(conditionRHSName, tmp);
189  attList[conditionRHSName].data<std::string>() = tmp;
190 
191  query->setCondition(conditionLHS + " = :" + conditionRHSName, attList);
192  } else if (conditionRHS.columnNames().size() == 1)
193  // check for only one column
194  {
195  query->setCondition(conditionLHS + " = :" + conditionRHS.columnNames().front(),
196  conditionRHS.attributeLists().front());
197  }
198  }
199 
200  coral::ICursor& cursor = query->execute();
201 
202  // Copy AttributeLists for external use because the cursor is deleted
203  // when the query goes out of scope.
204  std::vector<coral::AttributeList> atts;
205  while (cursor.next()) {
206  atts.push_back(cursor.currentRow());
207  };
208 
209  delete query;
210 
211  // // Run a wildcard query on the view
212  // coral::IQuery* query2 = workingSchema.newQuery();
213  // query2->addToTableList(V0);
214  // coral::ICursor& cursor2 = query2->execute();
215  // while ( cursor2.next() ) {
216  // cursor2.currentRow().toOutputStream( std::cout ) << std::endl;
217  // }
218  // delete query2;
219 
220  return QueryResults(columnNames, atts);
221  }
Definition: query.py:1
std::vector< std::string > columnNames(const std::string &schemaName, const std::string &tableName)
Definition: OMDSReader.cc:138
coral::ISessionProxy & coralSession()
Definition: Session.cc:218
tmp
align.sh
Definition: createJobs.py:716
cond::persistency::Session session
Definition: DataManager.h:33

◆ basicQueryView() [2/2]

const OMDSReader::QueryResults OMDSReader::basicQueryView ( const std::string &  columnName,
const std::string &  schemaName,
const std::string &  viewName,
const std::string &  conditionLHS = "",
const QueryResults  conditionRHS = QueryResults(),
const std::string &  conditionRHSName = "" 
)

Definition at line 223 of file OMDSReader.cc.

References basicQuery(), and columnNames().

228  {
229  std::vector<std::string> columnNames;
230  columnNames.push_back(columnName);
231  return basicQuery(columnNames, schemaName, viewName, conditionLHS, conditionRHS, conditionRHSName);
232  }
std::vector< std::string > columnNames(const std::string &schemaName, const std::string &tableName)
Definition: OMDSReader.cc:138
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="")
Definition: OMDSReader.cc:75

◆ columnNames()

std::vector< std::string > OMDSReader::columnNames ( const std::string &  schemaName,
const std::string &  tableName 
)

Definition at line 138 of file OMDSReader.cc.

References cond::persistency::Session::coralSession(), mps_fire::i, names, l1t::DataManager::session, TableParser::table, and HLT_2023v12_cff::tableName.

Referenced by basicQuery(), basicQueryGenericKey(), basicQueryView(), L1GtTriggerMaskAlgoTrigConfigOnlineProd::newObject(), L1GtTriggerMaskVetoTechTrigConfigOnlineProd::newObject(), L1GtPrescaleFactorsTechTrigConfigOnlineProd::newObject(), L1GtPrescaleFactorsAlgoTrigConfigOnlineProd::newObject(), L1GtTriggerMaskTechTrigConfigOnlineProd::newObject(), and L1GtPsbSetupConfigOnlineProd::newObject().

138  {
139  coral::ISessionProxy& coralSession = session.coralSession();
140  coral::ISchema& schema = schemaName.empty() ? coralSession.nominalSchema() : coralSession.schema(schemaName);
141 
142  coral::ITable& table = schema.tableHandle(tableName);
143  const coral::ITableDescription& tableDesc = table.description();
144 
145  std::vector<std::string> names;
146  int nCols = tableDesc.numberOfColumns();
147 
148  for (int i = 0; i < nCols; ++i) {
149  const coral::IColumn& column = tableDesc.columnDescription(i);
150  names.push_back(column.name());
151  }
152 
153  return names;
154  }
const std::string names[nVars_]
coral::ISessionProxy & coralSession()
Definition: Session.cc:218
cond::persistency::Session session
Definition: DataManager.h:33

◆ columnNamesView()

std::vector< std::string > OMDSReader::columnNamesView ( const std::string &  schemaName,
const std::string &  viewName 
)

Definition at line 234 of file OMDSReader.cc.

References cond::persistency::Session::coralSession(), mps_fire::i, names, and l1t::DataManager::session.

Referenced by L1GtTriggerMenuConfigOnlineProd::tableMenuAlgoCondFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuAlgoFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuCondFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuGeneralFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuObjectParametersFromDB(), and L1GtTriggerMenuConfigOnlineProd::tableMenuTechTrigFromDB().

234  {
235  coral::ISessionProxy& coralSession = session.coralSession();
236  coral::ISchema& schema = schemaName.empty() ? coralSession.nominalSchema() : coralSession.schema(schemaName);
237 
238  std::set<std::string> views = schema.listViews();
239  std::vector<std::string> names;
240 
241  if (schema.existsView(viewName)) {
242  coral::IView& view = schema.viewHandle(viewName);
243 
244  int nCols = view.numberOfColumns();
245 
246  for (int i = 0; i < nCols; ++i) {
247  const coral::IColumn& column = view.column(i);
248  names.push_back(column.name());
249  }
250 
251  return names;
252  }
253 
254  return names;
255  }
const std::string names[nVars_]
coral::ISessionProxy & coralSession()
Definition: Session.cc:218
cond::persistency::Session session
Definition: DataManager.h:33

◆ connect()

void OMDSReader::connect ( const std::string &  connectString,
const std::string &  authenticationPath 
)

◆ operator=()

const OMDSReader& l1t::OMDSReader::operator= ( const OMDSReader )
delete

◆ singleAttribute()

template<class T >
const OMDSReader::QueryResults OMDSReader::singleAttribute ( const T data) const

Definition at line 259 of file OMDSReader.h.

References data, and names.

Referenced by L1GtPsbSetupConfigOnlineProd::addPsbFromDb(), l1t::OnlineDBqueryHelper::fetch(), CSCTFObjectKeysOnlineProd::fillObjectKeys(), L1TUtmTriggerMenuObjectKeysOnlineProd::fillObjectKeys(), L1GctTSCObjectKeysOnlineProd::fillObjectKeys(), L1MuGMTParametersKeysOnlineProd::fillObjectKeys(), L1MuTriggerScaleKeysOnlineProd::fillObjectKeys(), DTTFTSCObjectKeysOnlineProd::fillObjectKeys(), RCTObjectKeysOnlineProd::fillObjectKeys(), L1GtTscObjectKeysOnlineProd::keyL1GtParameters(), L1GtRsObjectKeysOnlineProd::keyL1GtPrescaleFactorsAlgoTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtPrescaleFactorsTechTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskAlgoTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskTechTrig(), L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskVetoTechTrig(), L1GtTscObjectKeysOnlineProd::keyL1GtTriggerMenu(), CSCTFAlignmentOnlineProd::newObject(), L1GctChannelMaskOnlineProd::newObject(), CSCTFConfigOnlineProd::newObject(), L1GctJetFinderParamsOnlineProd::newObject(), L1MuCSCPtLutConfigOnlineProd::newObject(), L1MuGMTChannelMaskOnlineProducer::newObject(), L1TUtmTriggerMenuOnlineProd::newObject(), L1TGlobalPrescalesVetosOnlineProd::newObject(), L1HfRingEtScaleOnlineProd::newObject(), L1EmEtScaleOnlineProd::newObject(), L1HtMissScaleOnlineProd::newObject(), L1JetEtScaleOnlineProd::newObject(), L1MuTriggerPtScaleOnlineProducer::newObject(), DTTFParametersOnlineProd::newObject(), DTTFMasksOnlineProd::newObject(), L1MuTriggerScalesOnlineProducer::newObject(), L1RCTParametersOnlineProd::newObject(), L1GtParametersConfigOnlineProd::newObject(), L1GtTriggerMaskAlgoTrigConfigOnlineProd::newObject(), L1GtPrescaleFactorsTechTrigConfigOnlineProd::newObject(), L1CaloEcalScaleConfigOnlineProd::newObject(), L1RCTChannelMaskOnlineProd::newObject(), L1GtPrescaleFactorsAlgoTrigConfigOnlineProd::newObject(), L1GtTriggerMaskTechTrigConfigOnlineProd::newObject(), L1GtTriggerMaskVetoTechTrigConfigOnlineProd::newObject(), L1GtPsbSetupConfigOnlineProd::newObject(), L1CaloHcalScaleConfigOnlineProd::newObject(), L1SubsystemKeysOnlineProdExt::produce(), L1SubsystemKeysOnlineProd::produce(), L1GtTriggerMenuConfigOnlineProd::tableMenuAlgoCondFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuAlgoFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuCondFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuGeneralFromDB(), L1GtTriggerMenuConfigOnlineProd::tableMenuObjectParametersFromDB(), and L1GtTriggerMenuConfigOnlineProd::tableMenuTechTrigFromDB().

259  {
260  std::vector<std::string> names;
261  names.push_back("dummy");
262 
263  coral::AttributeList attList;
264  attList.extend("dummy", typeid(T));
265  attList["dummy"].data<T>() = data;
266 
267  std::vector<coral::AttributeList> atts;
268  atts.push_back(attList);
269 
270  return QueryResults(names, atts);
271  }
const std::string names[nVars_]
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
long double T