CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
L1GtRsObjectKeysOnlineProd Class Reference

#include <L1GtRsObjectKeysOnlineProd.h>

Inheritance diagram for L1GtRsObjectKeysOnlineProd:
L1ObjectKeysOnlineProdBase edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

Public Member Functions

virtual void fillObjectKeys (ReturnType pL1TriggerKey)
 public methods More...
 
 L1GtRsObjectKeysOnlineProd (const edm::ParameterSet &)
 constructor More...
 
 ~L1GtRsObjectKeysOnlineProd ()
 destructor More...
 
- Public Member Functions inherited from L1ObjectKeysOnlineProdBase
 L1ObjectKeysOnlineProdBase (const edm::ParameterSet &)
 
ReturnType produce (const L1TriggerKeyRcd &)
 
 ~L1ObjectKeysOnlineProdBase () override
 
- Public Member Functions inherited from edm::ESProducer
 ESProducer ()
 
 ~ESProducer ()(false) override
 
- Public Member Functions inherited from edm::ESProxyFactoryProducer
 ESProxyFactoryProducer ()
 
void newInterval (const eventsetup::EventSetupRecordKey &iRecordType, const ValidityInterval &iInterval) override
 overrides DataProxyProvider method More...
 
 ~ESProxyFactoryProducer () noexcept(false) override
 
- Public Member Functions inherited from edm::eventsetup::DataProxyProvider
 DataProxyProvider ()
 
const ComponentDescriptiondescription () const
 
bool isUsingRecord (const EventSetupRecordKey &) const
 
const KeyedProxieskeyedProxies (const EventSetupRecordKey &iRecordKey) const
 
void resetProxies (const EventSetupRecordKey &iRecordType)
 
void resetProxiesIfTransient (const EventSetupRecordKey &iRecordType)
 
void setAppendToDataLabel (const edm::ParameterSet &)
 
void setDescription (const ComponentDescription &iDescription)
 
std::set< EventSetupRecordKeyusingRecords () const
 
virtual ~DataProxyProvider () noexcept(false)
 

Private Member Functions

std::string keyL1GtPrescaleFactorsAlgoTrig (const std::string &)
 keys for individual objects More...
 
std::string keyL1GtPrescaleFactorsTechTrig (const std::string &)
 
std::string keyL1GtTriggerMaskAlgoTrig (const std::string &)
 
std::string keyL1GtTriggerMaskTechTrig (const std::string &)
 
std::string keyL1GtTriggerMaskVetoTechTrig (const std::string &)
 

Private Attributes

bool m_enableL1GtPrescaleFactorsAlgoTrig
 enable key search for each record More...
 
bool m_enableL1GtPrescaleFactorsTechTrig
 
bool m_enableL1GtTriggerMaskAlgoTrig
 
bool m_enableL1GtTriggerMaskTechTrig
 
bool m_enableL1GtTriggerMaskVetoTechTrig
 
int m_partitionNumber
 partition number More...
 

Additional Inherited Members

- Public Types inherited from L1ObjectKeysOnlineProdBase
typedef std::shared_ptr< L1TriggerKeyReturnType
 
- Public Types inherited from edm::eventsetup::DataProxyProvider
typedef std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > KeyedProxies
 
typedef std::vector< EventSetupRecordKeyKeys
 
typedef std::map< EventSetupRecordKey, KeyedProxiesRecordProxies
 
- Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::ESProducer
template<typename T >
void setWhatProduced (T *iThis, const es::Label &iLabel=es::Label())
 
template<typename T >
void setWhatProduced (T *iThis, const char *iLabel)
 
template<typename T >
void setWhatProduced (T *iThis, const std::string &iLabel)
 
template<typename T , typename TDecorator >
void setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label())
 
template<typename T , typename TReturn , typename TRecord >
void setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label())
 
template<typename T , typename TReturn , typename TRecord , typename TArg >
void setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label())
 
- Protected Member Functions inherited from edm::ESProxyFactoryProducer
template<class TFactory >
void registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string())
 
virtual void registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string())
 
void registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) override
 override DataProxyProvider method More...
 
- Protected Member Functions inherited from edm::eventsetup::DataProxyProvider
void eraseAll (const EventSetupRecordKey &iRecordKey)
 deletes all the Proxies in aStream More...
 
void invalidateProxies (const EventSetupRecordKey &iRecordKey)
 
template<class T >
void usingRecord ()
 
void usingRecordWithKey (const EventSetupRecordKey &)
 
- Protected Attributes inherited from L1ObjectKeysOnlineProdBase
l1t::OMDSReader m_omdsReader
 

Detailed Description

Description: online producer for L1 GT record keys from RUN SETTINGS.

Implementation: <TODO: enter implementation details>

Author
: Vasile Mihai Ghete - HEPHY Vienna

Definition at line 24 of file L1GtRsObjectKeysOnlineProd.h.

Constructor & Destructor Documentation

L1GtRsObjectKeysOnlineProd::L1GtRsObjectKeysOnlineProd ( const edm::ParameterSet parSet)

constructor

Definition at line 24 of file L1GtRsObjectKeysOnlineProd.cc.

24  :
27  parSet.getParameter<int> ("PartitionNumber")),
29  parSet.getParameter<bool> ("EnableL1GtPrescaleFactorsAlgoTrig")),
31  parSet.getParameter<bool> ("EnableL1GtPrescaleFactorsTechTrig")),
33  parSet.getParameter<bool> ("EnableL1GtTriggerMaskAlgoTrig")),
35  parSet.getParameter<bool> ("EnableL1GtTriggerMaskTechTrig")),
37  parSet.getParameter<bool> ("EnableL1GtTriggerMaskVetoTechTrig")) {
38 
39  // empty
40 }
T getParameter(std::string const &) const
bool m_enableL1GtPrescaleFactorsAlgoTrig
enable key search for each record
L1ObjectKeysOnlineProdBase(const edm::ParameterSet &)
L1GtRsObjectKeysOnlineProd::~L1GtRsObjectKeysOnlineProd ( )

destructor

Definition at line 43 of file L1GtRsObjectKeysOnlineProd.cc.

43  {
44 
45  // empty
46 
47 }

Member Function Documentation

void L1GtRsObjectKeysOnlineProd::fillObjectKeys ( ReturnType  pL1TriggerKey)
virtual

public methods

Implements L1ObjectKeysOnlineProdBase.

Definition at line 241 of file L1GtRsObjectKeysOnlineProd.cc.

References DEFINE_FWK_EVENTSETUP_MODULE, keyL1GtPrescaleFactorsAlgoTrig(), keyL1GtPrescaleFactorsTechTrig(), keyL1GtTriggerMaskAlgoTrig(), keyL1GtTriggerMaskTechTrig(), keyL1GtTriggerMaskVetoTechTrig(), m_enableL1GtPrescaleFactorsAlgoTrig, m_enableL1GtPrescaleFactorsTechTrig, m_enableL1GtTriggerMaskAlgoTrig, m_enableL1GtTriggerMaskTechTrig, m_enableL1GtTriggerMaskVetoTechTrig, and AlCaHLTBitMon_QueryRunRegistry::string.

241  {
242 
243  const std::string gtSchema = "CMS_GT";
244 
246  const std::string& objectKey = keyL1GtPrescaleFactorsAlgoTrig(gtSchema);
247  if (!objectKey.empty()) {
248  pL1TriggerKey->add(
249  "L1GtPrescaleFactorsAlgoTrigRcd", "L1GtPrescaleFactors", objectKey);
250  }
251  }
252 
254  const std::string& objectKey = keyL1GtPrescaleFactorsTechTrig(gtSchema);
255  if (!objectKey.empty()) {
256  pL1TriggerKey->add(
257  "L1GtPrescaleFactorsTechTrigRcd", "L1GtPrescaleFactors", objectKey);
258  }
259  }
260 
262  const std::string& objectKey = keyL1GtTriggerMaskAlgoTrig(gtSchema);
263  if (!objectKey.empty()) {
264  pL1TriggerKey->add("L1GtTriggerMaskAlgoTrigRcd", "L1GtTriggerMask", objectKey);
265  }
266  }
267 
269  const std::string& objectKey = keyL1GtTriggerMaskTechTrig(gtSchema);
270  if (!objectKey.empty()) {
271  pL1TriggerKey->add("L1GtTriggerMaskTechTrigRcd", "L1GtTriggerMask", objectKey);
272  }
273  }
274 
276  const std::string& objectKey = keyL1GtTriggerMaskVetoTechTrig(gtSchema);
277  if (!objectKey.empty()) {
278  pL1TriggerKey->add(
279  "L1GtTriggerMaskVetoTechTrigRcd", "L1GtTriggerMask", objectKey);
280  }
281  }
282 
283 }
bool m_enableL1GtPrescaleFactorsAlgoTrig
enable key search for each record
std::string keyL1GtTriggerMaskVetoTechTrig(const std::string &)
std::string keyL1GtTriggerMaskTechTrig(const std::string &)
std::string keyL1GtTriggerMaskAlgoTrig(const std::string &)
std::string keyL1GtPrescaleFactorsTechTrig(const std::string &)
std::string keyL1GtPrescaleFactorsAlgoTrig(const std::string &)
keys for individual objects
std::string L1GtRsObjectKeysOnlineProd::keyL1GtPrescaleFactorsAlgoTrig ( const std::string &  gtSchema)
private

keys for individual objects

Definition at line 50 of file L1GtRsObjectKeysOnlineProd.cc.

References l1t::OMDSReader::basicQueryGenericKey(), l1t::OMDSReader::QueryResults::fillVariable(), edm::isDebugEnabled(), LogTrace, L1ObjectKeysOnlineProdBase::m_omdsReader, m_partitionNumber, l1t::OMDSReader::QueryResults::numberRows(), l1t::OMDSReader::QueryResults::queryFailed(), l1t::OMDSReader::singleAttribute(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by fillObjectKeys().

50  {
51 
52  std::string objectKey;
53 
54  // SELECT GT_RUN_SETTINGS_FK FROM CMS_GT.GT_RUN_SETTINGS_KEY_CURRENT
55  // WHERE GT_RUN_SETTINGS_KEY_CURRENT.GT_PARTITION_NUMBER = m_partitionNumber
56  l1t::OMDSReader::QueryResults objectKeyResults =
57  m_omdsReader.basicQueryGenericKey<int> ("GT_RUN_SETTINGS_FK",
58  gtSchema, "GT_RUN_SETTINGS_KEY_CURRENT",
59  "GT_RUN_SETTINGS_KEY_CURRENT.GT_PARTITION_NUMBER",
61 
62  // check if query was successful
63  if (objectKeyResults.queryFailed()) {
64  edm::LogError("L1-O2O")
65  << "Problem with key for record L1GtPrescaleFactorsAlgoTrigRcd: query failed ";
66  return objectKey;
67  } else if ( ( objectKeyResults.numberRows() != 1 )) {
68  edm::LogError("L1-O2O") << "Problem with key for record L1GtPrescaleFactorsAlgoTrigRcd: "
69  << ( objectKeyResults.numberRows() ) << " rows were returned";
70  return objectKey;
71  }
72 
73  objectKeyResults.fillVariable(objectKey);
74 
75  //
76  if (edm::isDebugEnabled()) {
77  LogTrace("L1GtRsObjectKeysOnlineProd")
78  << "\nThe following GT_RUN_SETTINGS_FK key "
79  << "was found for L1GtPrescaleFactorsAlgoTrigRcd: \n "
80  << objectKey << "\nfor partition " << m_partitionNumber << "\n"
81  << std::endl;
82  }
83 
84  return objectKey;
85 }
bool isDebugEnabled()
bool fillVariable(const std::string &columnName, T &outputVariable) const
Definition: OMDSReader.h:311
const QueryResults singleAttribute(const T &data) const
Definition: OMDSReader.h:295
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="")
Definition: OMDSReader.h:216
#define LogTrace(id)
std::string L1GtRsObjectKeysOnlineProd::keyL1GtPrescaleFactorsTechTrig ( const std::string &  gtSchema)
private

Definition at line 88 of file L1GtRsObjectKeysOnlineProd.cc.

References l1t::OMDSReader::basicQueryGenericKey(), l1t::OMDSReader::QueryResults::fillVariable(), edm::isDebugEnabled(), LogTrace, L1ObjectKeysOnlineProdBase::m_omdsReader, m_partitionNumber, l1t::OMDSReader::QueryResults::numberRows(), l1t::OMDSReader::QueryResults::queryFailed(), l1t::OMDSReader::singleAttribute(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by fillObjectKeys().

88  {
89 
90  std::string objectKey;
91 
92  // SELECT GT_RUN_SETTINGS_FK FROM CMS_GT.GT_RUN_SETTINGS_KEY_CURRENT
93  // WHERE GT_RUN_SETTINGS_KEY_CURRENT.GT_PARTITION_NUMBER = m_partitionNumber
94  l1t::OMDSReader::QueryResults objectKeyResults =
95  m_omdsReader.basicQueryGenericKey<int> ("GT_RUN_SETTINGS_FK",
96  gtSchema, "GT_RUN_SETTINGS_KEY_CURRENT",
97  "GT_RUN_SETTINGS_KEY_CURRENT.GT_PARTITION_NUMBER",
99 
100  // check if query was successful
101  if (objectKeyResults.queryFailed()) {
102  edm::LogError("L1-O2O")
103  << "Problem with key for record L1GtPrescaleFactorsTechTrigRcd: query failed ";
104  return objectKey;
105  } else if ( ( objectKeyResults.numberRows() != 1 )) {
106  edm::LogError("L1-O2O") << "Problem with key for record L1GtPrescaleFactorsTechTrigRcd: "
107  << ( objectKeyResults.numberRows() ) << " rows were returned";
108  return objectKey;
109  }
110 
111  objectKeyResults.fillVariable(objectKey);
112 
113  //
114  if (edm::isDebugEnabled()) {
115  LogTrace("L1GtRsObjectKeysOnlineProd")
116  << "\nThe following GT_RUN_SETTINGS_FK key "
117  << "was found for L1GtPrescaleFactorsTechTrigRcd: \n "
118  << objectKey << "\nfor partition " << m_partitionNumber << "\n"
119  << std::endl;
120  }
121 
122  return objectKey;
123 }
bool isDebugEnabled()
bool fillVariable(const std::string &columnName, T &outputVariable) const
Definition: OMDSReader.h:311
const QueryResults singleAttribute(const T &data) const
Definition: OMDSReader.h:295
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="")
Definition: OMDSReader.h:216
#define LogTrace(id)
std::string L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskAlgoTrig ( const std::string &  gtSchema)
private

Definition at line 126 of file L1GtRsObjectKeysOnlineProd.cc.

References l1t::OMDSReader::basicQuery(), l1t::OMDSReader::basicQueryGenericKey(), l1t::OMDSReader::QueryResults::fillVariable(), edm::isDebugEnabled(), LogTrace, L1ObjectKeysOnlineProdBase::m_omdsReader, m_partitionNumber, l1t::OMDSReader::QueryResults::numberRows(), l1t::OMDSReader::QueryResults::queryFailed(), l1t::OMDSReader::singleAttribute(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by fillObjectKeys().

126  {
127 
128  std::string objectKey;
129 
130  // SELECT FINOR_ALGO_FK FROM CMS_GT.GT_RUN_SETTINGS
131  // WHERE GT_RUN_SETTINGS.ID = (
132  // SELECT GT_RUN_SETTINGS_FK FROM CMS_GT.GT_RUN_SETTINGS_KEY_CURRENT
133  // WHERE GT_RUN_SETTINGS_KEY_CURRENT.GT_PARTITION_NUMBER = m_partitionNumber)
135  "FINOR_ALGO_FK", gtSchema, "GT_RUN_SETTINGS", "GT_RUN_SETTINGS.ID",
137  "GT_RUN_SETTINGS_FK", gtSchema, "GT_RUN_SETTINGS_KEY_CURRENT",
138  "GT_RUN_SETTINGS_KEY_CURRENT.GT_PARTITION_NUMBER",
140 
141  // check if query was successful
142  if (objectKeyResults.queryFailed()) {
143  edm::LogError("L1-O2O")
144  << "Problem with key for record L1GtTriggerMaskAlgoTrigRcd: query failed ";
145  return objectKey;
146  } else if ( ( objectKeyResults.numberRows() != 1 )) {
147  edm::LogError("L1-O2O") << "Problem with key for record L1GtTriggerMaskAlgoTrigRcd: "
148  << ( objectKeyResults.numberRows() ) << " rows were returned";
149  return objectKey;
150  }
151 
152  objectKeyResults.fillVariable(objectKey);
153 
154  //
155  if (edm::isDebugEnabled()) {
156  LogTrace("L1GtRsObjectKeysOnlineProd")
157  << "\nThe following key was found for L1GtTriggerMaskAlgoTrigRcd: \n " << objectKey
158  << "\nfor partition " << m_partitionNumber << "\n" << std::endl;
159  }
160 
161  return objectKey;
162 }
bool isDebugEnabled()
bool fillVariable(const std::string &columnName, T &outputVariable) const
Definition: OMDSReader.h:311
const QueryResults singleAttribute(const T &data) const
Definition: OMDSReader.h:295
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="")
Definition: OMDSReader.h:216
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:86
#define LogTrace(id)
std::string L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskTechTrig ( const std::string &  gtSchema)
private

Definition at line 164 of file L1GtRsObjectKeysOnlineProd.cc.

References l1t::OMDSReader::basicQuery(), l1t::OMDSReader::basicQueryGenericKey(), l1t::OMDSReader::QueryResults::fillVariable(), edm::isDebugEnabled(), LogTrace, L1ObjectKeysOnlineProdBase::m_omdsReader, m_partitionNumber, l1t::OMDSReader::QueryResults::numberRows(), l1t::OMDSReader::QueryResults::queryFailed(), l1t::OMDSReader::singleAttribute(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by fillObjectKeys().

164  {
165 
166  std::string objectKey;
167 
168  // SELECT FINOR_TT_FK FROM CMS_GT.GT_RUN_SETTINGS
169  // WHERE GT_RUN_SETTINGS.ID = (
170  // SELECT GT_RUN_SETTINGS_FK FROM CMS_GT.GT_RUN_SETTINGS_KEY_CURRENT
171  // WHERE GT_RUN_SETTINGS_KEY_CURRENT.GT_PARTITION_NUMBER = m_partitionNumber)
173  "FINOR_TT_FK", gtSchema, "GT_RUN_SETTINGS", "GT_RUN_SETTINGS.ID",
175  "GT_RUN_SETTINGS_FK", gtSchema, "GT_RUN_SETTINGS_KEY_CURRENT",
176  "GT_RUN_SETTINGS_KEY_CURRENT.GT_PARTITION_NUMBER",
178 
179  // check if query was successful
180  if (objectKeyResults.queryFailed()) {
181  edm::LogError("L1-O2O")
182  << "Problem with key for record L1GtTriggerMaskTechTrigRcd: query failed ";
183  return objectKey;
184  } else if ( ( objectKeyResults.numberRows() != 1 )) {
185  edm::LogError("L1-O2O") << "Problem with key for record L1GtTriggerMaskTechTrigRcd: "
186  << ( objectKeyResults.numberRows() ) << " rows were returned";
187  return objectKey;
188  }
189 
190  objectKeyResults.fillVariable(objectKey);
191 
192  //
193  if (edm::isDebugEnabled()) {
194  LogTrace("L1GtRsObjectKeysOnlineProd")
195  << "\nThe following key was found for L1GtTriggerMaskTechTrigRcd: \n " << objectKey
196  << "\nfor partition " << m_partitionNumber << "\n" << std::endl;
197  }
198 
199  return objectKey;
200 }
bool isDebugEnabled()
bool fillVariable(const std::string &columnName, T &outputVariable) const
Definition: OMDSReader.h:311
const QueryResults singleAttribute(const T &data) const
Definition: OMDSReader.h:295
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="")
Definition: OMDSReader.h:216
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:86
#define LogTrace(id)
std::string L1GtRsObjectKeysOnlineProd::keyL1GtTriggerMaskVetoTechTrig ( const std::string &  gtSchema)
private

Definition at line 202 of file L1GtRsObjectKeysOnlineProd.cc.

References l1t::OMDSReader::basicQuery(), l1t::OMDSReader::basicQueryGenericKey(), l1t::OMDSReader::QueryResults::fillVariable(), edm::isDebugEnabled(), LogTrace, L1ObjectKeysOnlineProdBase::m_omdsReader, m_partitionNumber, l1t::OMDSReader::QueryResults::numberRows(), l1t::OMDSReader::QueryResults::queryFailed(), l1t::OMDSReader::singleAttribute(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by fillObjectKeys().

202  {
203 
204  std::string objectKey;
205 
206  // SELECT VETO_TT_FK FROM CMS_GT.GT_RUN_SETTINGS
207  // WHERE GT_RUN_SETTINGS.ID = (
208  // SELECT GT_RUN_SETTINGS_FK FROM CMS_GT.GT_RUN_SETTINGS_KEY_CURRENT
209  // WHERE GT_RUN_SETTINGS_KEY_CURRENT.GT_PARTITION_NUMBER = m_partitionNumber)
211  "VETO_TT_FK", gtSchema, "GT_RUN_SETTINGS", "GT_RUN_SETTINGS.ID",
213  "GT_RUN_SETTINGS_FK", gtSchema, "GT_RUN_SETTINGS_KEY_CURRENT",
214  "GT_RUN_SETTINGS_KEY_CURRENT.GT_PARTITION_NUMBER",
216 
217  // check if query was successful
218  if (objectKeyResults.queryFailed()) {
219  edm::LogError("L1-O2O")
220  << "Problem with key for record L1GtTriggerMaskVetoTechTrigRcd: query failed ";
221  return objectKey;
222  } else if ( ( objectKeyResults.numberRows() != 1 )) {
223  edm::LogError("L1-O2O") << "Problem with key for record L1GtTriggerMaskVetoTechTrigRcd: "
224  << ( objectKeyResults.numberRows() ) << " rows were returned";
225  return objectKey;
226  }
227 
228  objectKeyResults.fillVariable(objectKey);
229 
230  //
231  if (edm::isDebugEnabled()) {
232  LogTrace("L1GtRsObjectKeysOnlineProd")
233  << "\nThe following key was found for L1GtTriggerMaskVetoTechTrigRcd: \n "
234  << objectKey << "\nfor partition " << m_partitionNumber << "\n" << std::endl;
235  }
236 
237  return objectKey;
238 }
bool isDebugEnabled()
bool fillVariable(const std::string &columnName, T &outputVariable) const
Definition: OMDSReader.h:311
const QueryResults singleAttribute(const T &data) const
Definition: OMDSReader.h:295
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="")
Definition: OMDSReader.h:216
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:86
#define LogTrace(id)

Member Data Documentation

bool L1GtRsObjectKeysOnlineProd::m_enableL1GtPrescaleFactorsAlgoTrig
private

enable key search for each record

Definition at line 54 of file L1GtRsObjectKeysOnlineProd.h.

Referenced by fillObjectKeys().

bool L1GtRsObjectKeysOnlineProd::m_enableL1GtPrescaleFactorsTechTrig
private

Definition at line 55 of file L1GtRsObjectKeysOnlineProd.h.

Referenced by fillObjectKeys().

bool L1GtRsObjectKeysOnlineProd::m_enableL1GtTriggerMaskAlgoTrig
private

Definition at line 56 of file L1GtRsObjectKeysOnlineProd.h.

Referenced by fillObjectKeys().

bool L1GtRsObjectKeysOnlineProd::m_enableL1GtTriggerMaskTechTrig
private

Definition at line 57 of file L1GtRsObjectKeysOnlineProd.h.

Referenced by fillObjectKeys().

bool L1GtRsObjectKeysOnlineProd::m_enableL1GtTriggerMaskVetoTechTrig
private

Definition at line 58 of file L1GtRsObjectKeysOnlineProd.h.

Referenced by fillObjectKeys().

int L1GtRsObjectKeysOnlineProd::m_partitionNumber
private