Skip to content

Commit

Permalink
Remove deletes
Browse files Browse the repository at this point in the history
mseidel42 committed Aug 27, 2020

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent b053a1e commit c2d8c19
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -107,7 +107,6 @@ void HTXSRivetProducer::produce(edm::Event& iEvent, const edm::EventSetup&) {
}

if (!_HTXS || !_HTXS->hasProjection("FS")) {
delete _HTXS;
_analysisHandler = std::unique_ptr<Rivet::AnalysisHandler>(new Rivet::AnalysisHandler());
_HTXS = new Rivet::HiggsTemplateCrossSections();
_analysisHandler->addAnalysis(_HTXS);
Original file line number Diff line number Diff line change
@@ -114,7 +114,6 @@ void ParticleLevelProducer::produce(edm::Event& event, const edm::EventSetup& ev
const HepMC::GenEvent* genEvent = srcHandle->GetEvent();

if (!rivetAnalysis_ || !rivetAnalysis_->hasProjection("FS")) {
delete rivetAnalysis_;
rivetAnalysis_ = new Rivet::RivetAnalysis(pset_);
analysisHandler_ = std::unique_ptr<Rivet::AnalysisHandler>(new Rivet::AnalysisHandler());

0 comments on commit c2d8c19

Please sign in to comment.