Skip to content

Commit

Permalink
Everything works, but doesn't take input
Browse files Browse the repository at this point in the history
  • Loading branch information
ssrothman committed Oct 21, 2021
1 parent 7bc27d0 commit 0191095
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Progression/EGM_DRN/plugins/TritonGraphModules.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@

class TritonGraphHelper {
public:
TritonGraphHelper(edm::ParameterSet const& cfg)
: nodeMin_(cfg.getParameter<unsigned>("nodeMin")),
nodeMax_(cfg.getParameter<unsigned>("nodeMax")),
brief_(cfg.getParameter<bool>("brief")) {}
void makeInput(edm::Event const& iEvent, TritonInputMap& iInput, const std::string& debugName) const {

TritonGraphHelper(edm::ParameterSet const& cfg)
: nodeMin_(cfg.getParameter<unsigned>("nodeMin")),
nodeMax_(cfg.getParameter<unsigned>("nodeMax")),
brief_(cfg.getParameter<bool>("brief")) {}

void makeInput(edm::Event const& iEvent, TritonInputMap& iInput, const std::string& debugName) const {
//get event-based seed for RNG
unsigned int runNum_uint = static_cast<unsigned int>(iEvent.id().run());
unsigned int lumiNum_uint = static_cast<unsigned int>(iEvent.id().luminosityBlock());
Expand Down Expand Up @@ -134,7 +134,6 @@ class DRNProducer : public TritonEDProducer<> {
}
void produce(edm::Event& iEvent, edm::EventSetup const& iSetup, Output const& iOutput) override {
helper_.makeOutput(iOutput, debugName_);

auto inputSCs = iEvent.get(inputSCToken_);
auto corrSCs = std::make_unique<reco::SuperClusterCollection>();
for (const auto& inputSC : inputSCs){
Expand Down

0 comments on commit 0191095

Please sign in to comment.