338 packCollection<EtSum, P2GTCandidate::GTTPromptHtSum>(gttPromptHtSum) +
339 packCollection<EtSum, P2GTCandidate::GTTDisplacedHtSum>(gttDisplacedHtSum) +
340 packCollection<EtSum, P2GTCandidate::GTTEtSum>(gttEtSum)},
341 {{
"GTT", 2}, std::vector<ap_uint<64>>(18, 0)},
343 packCollection(cl2JetsSC4) + packCollection<EtSum, P2GTCandidate::CL2HtSum>(cl2HtSum) +
344 packCollection<EtSum, P2GTCandidate::CL2EtSum>(cl2EtSum) +
packCollection(cl2JetsSC8)},
346 {{
"GCT", 1}, std::vector<ap_uint<64>>(50, 0)},
351 {{
"GTT", 3}, std::vector<ap_uint<64>>(39, 0)},
352 {{
"GTT", 4}, std::vector<ap_uint<64>>(36, 0) +
packCollection(gttPrimaryVertices)}}});
354 std::map<demo::LinkId, std::vector<ap_uint<64>>> eventData;
357 std::vector<ap_uint<64>>
data;
364 data = packCollection<EtSum, P2GTCandidate::GTTPromptHtSum>(gttPromptHtSum);
366 data = packCollection<EtSum, P2GTCandidate::GTTDisplacedHtSum>(gttDisplacedHtSum);
368 data = packCollection<EtSum, P2GTCandidate::GTTEtSum>(gttEtSum);
388 data = packCollection<EtSum, P2GTCandidate::CL2EtSum>(cl2EtSum);
390 data = packCollection<EtSum, P2GTCandidate::CL2HtSum>(cl2HtSum);
398 while (eventData[{
name,
i}].size() < 9) {
399 eventData[{
name,
i}].push_back(0);
const edm::EDGetTokenT< std::vector< EtSum > > gttPromptHtSumToken_
std::vector< l1t::TkJetWord > TkJetWordCollection
std::vector< TkElectron > TkElectronCollection
const edm::EDGetTokenT< PFJetCollection > cl2JetSC8Token_
std::vector< l1t::PFTau > PFTauCollection
void addEvent(const EventData &data)
const edm::EDGetTokenT< std::vector< EtSum > > gttDisplacedHtSumToken_
const edm::EDGetTokenT< VertexWordCollection > gttPrimaryVertexToken_
const edm::EDGetTokenT< TkJetWordCollection > gttPromptJetToken_
std::vector< l1t::PFJet > PFJetCollection
const edm::EDGetTokenT< std::vector< EtSum > > cl2EtSumToken_
unsigned int eventCounter_
const edm::EDGetTokenT< TkElectronCollection > cl2ElectronToken_
std::vector< TkEm > TkEmCollection
static constexpr std::array< const char *, 27 > AVAILABLE_COLLECTIONS
std::vector< VertexWord > VertexWordCollection
const BufferType bufferFileType_
const edm::EDGetTokenT< std::vector< EtSum > > gttEtSumToken_
const edm::EDGetTokenT< TrackerMuonCollection > gmtTkMuonToken_
std::vector< TrackerMuon > TrackerMuonCollection
std::vector< SAMuon > SAMuonCollection
const edm::EDGetTokenT< TkEmCollection > cl2PhotonToken_
const edm::EDGetTokenT< PFJetCollection > cl2JetSC4Token_
std::unordered_map< std::string, std::size_t > numChannels_
const edm::EDGetTokenT< PFTauCollection > cl2TauToken_
const edm::EDGetTokenT< SAMuonCollection > gmtSaDisplacedMuonToken_
const edm::EDGetTokenT< TkJetWordCollection > gttDisplacedJetToken_
char data[epos_bytes_allocation]
const edm::EDGetTokenT< std::vector< EtSum > > cl2HtSumToken_
static std::vector< ap_uint< 64 > > packCollection(const std::vector< T > &collection)
demo::BoardDataWriter boardDataWriter_
const edm::EDGetTokenT< SAMuonCollection > gmtSaPromptMuonToken_
Class representing information phase-2 ATCA I/O data corresponding to a single event, with logical channel IDs (essentially string-uint pairs, e.g. tracks-0 to tracks-17).