#include <L1TBMTFAlgoSelector.h>
Definition at line 39 of file L1TBMTFAlgoSelector.h.
◆ L1TBMTFAlgoSelector()
dqmBmtfAlgoSelector::L1TBMTFAlgoSelector::L1TBMTFAlgoSelector |
( |
const edm::ParameterSet & |
ps | ) |
|
|
explicit |
◆ ~L1TBMTFAlgoSelector()
dqmBmtfAlgoSelector::L1TBMTFAlgoSelector::~L1TBMTFAlgoSelector |
( |
| ) |
|
|
override |
◆ produce()
Definition at line 20 of file L1TBMTFAlgoSelector.cc.
32 edm::LogInfo(
"L1TDQM") <<
"copy RegionalMuonCandBxCollections created";
33 edm::LogInfo(
"L1TDQM") <<
"bmtfKalman_copy address: " << bmtfKalman_copy;
34 edm::LogInfo(
"L1TDQM") <<
"bmtfLegacy_copy address: " << bmtfLegacy_copy;
38 if (
feds->FEDData(1376).size() > 0)
40 else if (
feds->FEDData(1377).size() > 0)
43 edm::LogError(
"L1TDQM") <<
"[L1TBMTFAlgoSelector] Both BMTF feds (1376, 1377) seem empty."
44 <<
"Using Default Configuration."
45 <<
"Will be wrong if this is Kalman triggering and ZS is enabled";
47 std::unique_ptr<l1t::RegionalMuonCandBxCollection> bmtfTriggering, bmtfSecondary;
48 bmtfTriggering.reset(bmtfLegacy_copy);
49 bmtfSecondary.reset(bmtfKalman_copy);
51 edm::LogInfo(
"L1TDQM") <<
"Triggering and Secondary pointers filled:";
52 edm::LogInfo(
"L1TDQM") <<
"bmtfTriggering address: " << bmtfTriggering.get();
53 edm::LogInfo(
"L1TDQM") <<
"bmtfSecondary address: " << bmtfSecondary.get();
62 edm::LogInfo(
"L1TDQM") <<
"L1T Rcd taken from the FEDData.";
63 edm::LogInfo(
"L1TDQM") <<
"l1tRcd.size=" << l1tRcd.
size() <<
" for fed:" << nonEmptyFed;
65 const unsigned char *
data = l1tRcd.
data();
67 edm::LogInfo(
"L1TDQM") <<
"header and data extracted from the Rcd.";
83 if (!packet.
payload().empty()) {
85 const uint32_t *
start = (
const uint32_t *)payload64.get();
89 algo_ver =
payload.getAlgorithmFWVersion();
91 edm::LogInfo(
"L1TDQM") <<
"algo-ver = " << algo_ver << std::endl;
93 edm::LogError(
"L1TDQM") <<
"amc13 payload is empty, cannot extract AMC13 Packet...";
98 std::unique_ptr<l1t::RegionalMuonCandBxCollection> bmtfTriggering, bmtfSecondary;
99 if (algo_ver >= 2499805536) {
101 bmtfTriggering.reset(bmtfKalman_copy);
102 bmtfSecondary.reset(bmtfLegacy_copy);
105 bmtfTriggering.reset(bmtfLegacy_copy);
106 bmtfSecondary.reset(bmtfKalman_copy);
109 edm::LogInfo(
"L1TDQM") <<
"Triggering and Secondary pointers filled:";
110 edm::LogInfo(
"L1TDQM") <<
"bmtfTriggering address: " << bmtfTriggering.get();
111 edm::LogInfo(
"L1TDQM") <<
"bmtfSecondary address: " << bmtfSecondary.get();
References L1TBMTFAlgoSelector_cfi::bmtfKalman, L1TBMTFAlgoSelector_cfi::bmtfLegacy, FEDRawData::data(), data, end, l1tstage2emulator_dqm_sourceclient-live_cfg::feds, edm::Event::getByToken(), RecoTauValidation_cfi::header, eostools::move(), amc13::Packet::parse(), jets_cff::payload, amc13::Packet::payload(), edm::Event::put(), and FEDRawData::size().
◆ bmtfKalmanToken
◆ bmtfLegacyToken
◆ fedToken
bool parse(const uint64_t *start, const uint64_t *data, unsigned int size, unsigned int lv1, unsigned int bx, bool legacy_mc=false, bool mtf7_mode=false)