Skip to content

Commit

Permalink
Merge pull request #3 from gpetruc/l1t-1063
Browse files Browse the repository at this point in the history
Recover fillDescriptions as requested
  • Loading branch information
aloeliger authored Apr 26, 2023
2 parents 6802f37 + 1ab0ffa commit d098a66
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions L1Trigger/Phase2L1ParticleFlow/plugins/DeregionizerProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class DeregionizerProducer : public edm::stream::EDProducer<> {
public:
explicit DeregionizerProducer(const edm::ParameterSet &);
~DeregionizerProducer() override;
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions);

private:
edm::ParameterSet config_;
Expand Down Expand Up @@ -173,5 +174,20 @@ void DeregionizerProducer::setRefs_(l1t::PFCandidate &pf, const l1ct::PuppiObjEm
}
}

void DeregionizerProducer::fillDescriptions(edm::ConfigurationDescriptions &descriptions) {
edm::ParameterSetDescription desc;
desc.add<edm::InputTag>("RegionalPuppiCands", edm::InputTag("l1tLayer1", "PuppiRegional"));
desc.add<unsigned int>("nPuppiFinalBuffer", 128);
desc.add<unsigned int>("nPuppiPerClk", 6);
desc.add<unsigned int>("nPuppiFirstBuffers", 12);
desc.add<unsigned int>("nPuppiSecondBuffers", 32);
desc.add<unsigned int>("nPuppiThirdBuffers", 64);
desc.add<unsigned int>("nInputFramesPerBX", 9);
edm::ParameterSetDescription linkConfigDummyValidator;
linkConfigDummyValidator.setAllowAnything();
desc.addVPSet("linkConfigs", linkConfigDummyValidator);
descriptions.add("DeregionizerProducer", desc);
}

#include "FWCore/Framework/interface/MakerMacros.h"
DEFINE_FWK_MODULE(DeregionizerProducer);

0 comments on commit d098a66

Please sign in to comment.