Skip to content

Commit

Permalink
Merge pull request #40836 from eyigitba/EMTF_fixRPCGEMUnpacking_130X_…
Browse files Browse the repository at this point in the history
…Feb23

[13_0_X] Fix RPC and GEM TP unpacking in EMTF unpacker
  • Loading branch information
cmsbuild committed Feb 22, 2023
2 parents fa8286e + 83470f2 commit 4c143b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -278,10 +278,10 @@ namespace l1t {
// << ", roll " << Hit_.Roll() << ", pad " << Hit_.Pad() << std::endl;

(res->at(iOut)).push_GEM(GEM_);
if (!exact_duplicate)
if (!exact_duplicate and Hit_.Valid())
res_hit->push_back(Hit_);

if (!exact_duplicate)
if (!exact_duplicate and Hit_.Valid())
res_GEM->insertDigi(Hit_.GEM_DetId(), Hit_.CreateGEMPadDigiCluster());

// Finished with unpacking one GEM Data Record
Expand Down
Expand Up @@ -275,9 +275,9 @@ namespace l1t {
<< ", phi " << Hit_.Phi_fp() / 4 << std::endl;

(res->at(iOut)).push_RPC(RPC_);
if (!exact_duplicate)
if (!exact_duplicate and Hit_.Valid())
res_hit->push_back(Hit_);
if (!exact_duplicate)
if (!exact_duplicate and Hit_.Valid())
res_CPPF->push_back(Hit_.CreateCPPFDigi());
}

Expand Down

0 comments on commit 4c143b6

Please sign in to comment.