24 m_partitionNumber(parSet.getParameter<
int>(
"PartitionNumber")) {
36 auto pL1GtTriggerMask = std::make_unique<L1GtTriggerMask>();
49 for (std::vector<std::string>::const_iterator iter =
columns.begin(); iter !=
columns.end(); iter++) {
50 LogTrace(
"L1GtTriggerMaskVetoTechTrigConfigOnlineProd") << (*iter) << std::endl;
59 edm::LogError(
"L1-O2O") <<
"Problem with L1GtTriggerMaskVetoTechTrigRcd key:" << objectKey;
60 return pL1GtTriggerMask;
64 int maskSize =
columns.size() - 1;
65 std::vector<bool> trigMaskBool(maskSize,
false);
66 std::vector<unsigned int> trigMask(maskSize, 0);
68 for (
int i = 0;
i < maskSize;
i++) {
69 bool tMask = trigMaskBool[
i];
75 pL1GtTriggerMask->setGtTriggerMask(trigMask);
78 std::ostringstream myCoutStream;
79 pL1GtTriggerMask->print(myCoutStream);
80 LogTrace(
"L1GtTriggerMaskVetoTechTrigConfigOnlineProd")
81 <<
"\nThe following L1GtTriggerMaskVetoTechTrigRcd record was read from OMDS: \n" 82 << myCoutStream.str() <<
"\n" 86 return pL1GtTriggerMask;
const QueryResults singleAttribute(const T &data) const
Log< level::Error, false > LogError
int m_partitionNumber
partition number
std::unique_ptr< L1GtTriggerMask > newObject(const std::string &objectKey) override
public methods
std::vector< std::string > columnNames(const std::string &schemaName, const std::string &tableName)
~L1GtTriggerMaskVetoTechTrigConfigOnlineProd() override
destructor
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
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
L1GtTriggerMaskVetoTechTrigConfigOnlineProd(const edm::ParameterSet &)
constructor