Skip to content

Commit

Permalink
Merge pull request #13576 from cms-l1t-offline/pr-gt-crash-quick-fix-…
Browse files Browse the repository at this point in the history
…800patchX

Quick Fix for GT crashes in MDGW#2
  • Loading branch information
davidlange6 committed Mar 3, 2016
2 parents fd3681b + 62714fa commit af9579d
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions EventFilter/L1TRawToDigi/src/implementations_stage2/GTSetup.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ namespace l1t {

virtual UnpackerMap getUnpackers(int fed, int board, int amc, unsigned int fw) override {

auto muon_unp = UnpackerFactory::get()->make("stage2::MuonUnpacker");
auto egamma_unp = UnpackerFactory::get()->make("stage2::EGammaUnpacker");
auto etsum_unp = UnpackerFactory::get()->make("stage2::EtSumUnpacker");
auto jet_unp = UnpackerFactory::get()->make("stage2::JetUnpacker");
auto tau_unp = UnpackerFactory::get()->make("stage2::TauUnpacker");
//auto muon_unp = UnpackerFactory::get()->make("stage2::MuonUnpacker");
//auto egamma_unp = UnpackerFactory::get()->make("stage2::EGammaUnpacker");
//auto etsum_unp = UnpackerFactory::get()->make("stage2::EtSumUnpacker");
//auto jet_unp = UnpackerFactory::get()->make("stage2::JetUnpacker");
//auto tau_unp = UnpackerFactory::get()->make("stage2::TauUnpacker");
auto alg_unp = UnpackerFactory::get()->make("stage2::GlobalAlgBlkUnpacker");
auto ext_unp = UnpackerFactory::get()->make("stage2::GlobalExtBlkUnpacker");

Expand All @@ -70,17 +70,17 @@ namespace l1t {
if (fed == 1404) {

// From the rx buffers
res[0] = muon_unp;
res[2] = muon_unp;
res[4] = muon_unp;
res[6] = muon_unp;
res[8] = egamma_unp;
res[10] = egamma_unp;
res[12] = jet_unp;
res[14] = jet_unp;
res[16] = tau_unp;
res[18] = tau_unp;
res[20] = etsum_unp;
//res[0] = muon_unp;
//res[2] = muon_unp;
//res[4] = muon_unp;
//res[6] = muon_unp;
//res[8] = egamma_unp;
//res[10] = egamma_unp;
//res[12] = jet_unp;
//res[14] = jet_unp;
//res[16] = tau_unp;
//res[18] = tau_unp;
//res[20] = etsum_unp;
res[24] = ext_unp;
//res[22] = empty link no data
res[26] = ext_unp;
Expand Down

0 comments on commit af9579d

Please sign in to comment.