21 #include "boost/lexical_cast.hpp"
29 m_partitionNumber(parSet.getParameter<
int>(
"PartitionNumber")) {
41 auto pL1GtTriggerMask = std::make_unique<L1GtTriggerMask>();
53 for (std::vector<std::string>::const_iterator iter =
columns.begin(); iter !=
columns.end(); iter++) {
54 LogTrace(
"L1GtTriggerMaskAlgoTrigConfigOnlineProd") << (*iter) << std::endl;
60 "GT_PARTITION_FINOR_ALGO",
61 "GT_PARTITION_FINOR_ALGO.ID",
66 edm::LogError(
"L1-O2O") <<
"Problem with L1GtTriggerMaskAlgoTrigRcd key:" << objectKey;
67 return pL1GtTriggerMask;
71 int maskSize =
columns.size() - 1;
72 std::vector<bool> trigMaskBool(maskSize,
false);
73 std::vector<unsigned int> trigMask(maskSize, 0);
75 for (
int i = 0;
i < maskSize;
i++) {
76 bool tMask = trigMaskBool[
i];
82 pL1GtTriggerMask->setGtTriggerMask(trigMask);
85 std::ostringstream myCoutStream;
86 pL1GtTriggerMask->print(myCoutStream);
87 LogTrace(
"L1GtTriggerMaskAlgoTrigConfigOnlineProd")
88 <<
"\nThe following L1GtTriggerMaskAlgoTrigRcd record was read from OMDS: \n"
89 << myCoutStream.str() <<
"\n"
93 return pL1GtTriggerMask;