20 #include "boost/lexical_cast.hpp"
28 m_partitionNumber(parSet.getParameter<
int>(
"PartitionNumber")) {
40 auto pL1GtTriggerMask = std::make_unique<L1GtTriggerMask>();
53 for (std::vector<std::string>::const_iterator iter =
columns.begin(); iter !=
columns.end(); iter++) {
54 LogTrace(
"L1GtTriggerMaskTechTrigConfigOnlineProd") << (*iter) << std::endl;
63 edm::LogError(
"L1-O2O") <<
"Problem with L1GtTriggerMaskTechTrigRcd key:" << objectKey;
64 return pL1GtTriggerMask;
68 int maskSize =
columns.size() - 1;
69 std::vector<bool> trigMaskBool(maskSize,
false);
70 std::vector<unsigned int> trigMask(maskSize, 0);
72 for (
int i = 0;
i < maskSize;
i++) {
73 bool tMask = trigMaskBool[
i];
79 pL1GtTriggerMask->setGtTriggerMask(trigMask);
82 std::ostringstream myCoutStream;
83 pL1GtTriggerMask->print(myCoutStream);
84 LogTrace(
"L1GtTriggerMaskTechTrigConfigOnlineProd")
85 <<
"\nThe following L1GtTriggerMaskTechTrigRcd record was read from OMDS: \n"
86 << myCoutStream.str() <<
"\n"
90 return pL1GtTriggerMask;