diff --git a/GeneratorInterface/RivetInterface/plugins/HTXSRivetProducer.cc b/GeneratorInterface/RivetInterface/plugins/HTXSRivetProducer.cc index 90ebee87772c3..564a710855c8c 100644 --- a/GeneratorInterface/RivetInterface/plugins/HTXSRivetProducer.cc +++ b/GeneratorInterface/RivetInterface/plugins/HTXSRivetProducer.cc @@ -37,7 +37,8 @@ class HTXSRivetProducer : public edm::one::EDProducer("ProductionMode"); m_HiggsProdMode = HTXS::UNKNOWN; - + _HTXS = nullptr; + _analysisHandler = nullptr; produces("HiggsClassification").setBranchAlias("HiggsClassification"); }