diff --git a/DPGAnalysis/L1TNanoAOD/plugins/ZGammaJetInfoProducer.cc b/DPGAnalysis/L1TNanoAOD/plugins/ZGammaJetInfoProducer.cc deleted file mode 100644 index 57e78ee47ff72..0000000000000 --- a/DPGAnalysis/L1TNanoAOD/plugins/ZGammaJetInfoProducer.cc +++ /dev/null @@ -1,159 +0,0 @@ -// -*- C++ -*- -// -// Package: DPGAnalysis/L1TNanoAOD -// Class: ZGammaJetInfoProducer -// -/**\class ZGammaJetInfoProducer ZGammaJetInfoProducer.cc DPGAnalysis/L1TNanoAOD/plugins/ZGammaJetInfoProducer.cc - - Description: [one line class summary] - - Implementation: - [Notes on implementation] -*/ -// -// Original Author: localusers user -// Created: Fri, 17 Nov 2023 17:42:46 GMT -// -// - -// system include files -#include - -// user include files -#include "FWCore/Framework/interface/Frameworkfwd.h" -#include "FWCore/Framework/interface/stream/EDProducer.h" - -#include "FWCore/Framework/interface/Event.h" -#include "FWCore/Framework/interface/MakerMacros.h" - -#include "FWCore/ParameterSet/interface/ParameterSet.h" -#include "FWCore/Utilities/interface/StreamID.h" - -// -// class declaration -// - -class ZGammaJetInfoProducer : public edm::stream::EDProducer<> { -public: - explicit ZGammaJetInfoProducer(const edm::ParameterSet&); - ~ZGammaJetInfoProducer() override; - - static void fillDescriptions(edm::ConfigurationDescriptions& descriptions); - -private: - void beginStream(edm::StreamID) override; - void produce(edm::Event&, const edm::EventSetup&) override; - void endStream() override; - - //void beginRun(edm::Run const&, edm::EventSetup const&) override; - //void endRun(edm::Run const&, edm::EventSetup const&) override; - //void beginLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) override; - //void endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) override; - - // ----------member data --------------------------- -}; - -// -// constants, enums and typedefs -// - -// -// static data member definitions -// - -// -// constructors and destructor -// -ZGammaJetInfoProducer::ZGammaJetInfoProducer(const edm::ParameterSet& iConfig) { - //register your products - /* Examples - produces(); - - //if do put with a label - produces("label"); - - //if you want to put into the Run - produces(); - */ - //now do what ever other initialization is needed -} - -ZGammaJetInfoProducer::~ZGammaJetInfoProducer() { - // do anything here that needs to be done at destruction time - // (e.g. close files, deallocate resources etc.) - // - // please remove this method altogether if it would be left empty -} - -// -// member functions -// - -// ------------ method called to produce the data ------------ -void ZGammaJetInfoProducer::produce(edm::Event& iEvent, const edm::EventSetup& iSetup) { - using namespace edm; - /* - Build a Z (ee) or a Z(mumu), or find a high pt photon. - - Then save recoGammaOrZ_pt and recoGammaOrZ_phi - - Then loop over genparticles - save genGammaOrZ_pt and genGammaOrZ_phi - save genLeadJet_pt and genLeadJet_phi - - */ -} - -// ------------ method called once each stream before processing any runs, lumis or events ------------ -void ZGammaJetInfoProducer::beginStream(edm::StreamID) { - // please remove this method if not needed -} - -// ------------ method called once each stream after processing all runs, lumis and events ------------ -void ZGammaJetInfoProducer::endStream() { - // please remove this method if not needed -} - -// ------------ method called when starting to processes a run ------------ -/* -void -ZGammaJetInfoProducer::beginRun(edm::Run const&, edm::EventSetup const&) -{ -} -*/ - -// ------------ method called when ending the processing of a run ------------ -/* -void -ZGammaJetInfoProducer::endRun(edm::Run const&, edm::EventSetup const&) -{ -} -*/ - -// ------------ method called when starting to processes a luminosity block ------------ -/* -void -ZGammaJetInfoProducer::beginLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) -{ -} -*/ - -// ------------ method called when ending the processing of a luminosity block ------------ -/* -void -ZGammaJetInfoProducer::endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) -{ -} -*/ - -// ------------ method fills 'descriptions' with the allowed parameters for the module ------------ -void ZGammaJetInfoProducer::fillDescriptions(edm::ConfigurationDescriptions& descriptions) { - //The following says we do not know what parameters are allowed so do no validation - // Please change this to state exactly what you do use, even if it is no parameters - edm::ParameterSetDescription desc; - desc.setUnknown(); - descriptions.addDefault(desc); -} - -//define this as a plug-in -DEFINE_FWK_MODULE(ZGammaJetInfoProducer); diff --git a/DPGAnalysis/L1TNanoAOD/python/customL1nano.pybu b/DPGAnalysis/L1TNanoAOD/python/customL1nano.pybu deleted file mode 100644 index dcaafe45faa66..0000000000000 --- a/DPGAnalysis/L1TNanoAOD/python/customL1nano.pybu +++ /dev/null @@ -1,21 +0,0 @@ -import FWCore.ParameterSet.Config as cms -from PhysicsTools.NanoAOD.nano_eras_cff import * -from PhysicsTools.NanoAOD.common_cff import * -from DPGAnalysis.L1TNanoAOD.l1tnanotables_cff import * - -def addEmulCaloTPsandLayer1(process): - """ - Add reemulated TT/clusters to NANOAOD - """ - #process.l1EmulCaloTPsNanoTask = cms.Task(l1EmulCaloTPTable) - #process.l1EmulCaloLayer1NanoTask = cms.Task(l1EmulCaloTowerTable,l1EmulCaloClusterTable) - - - - process.nanoTableTaskCommon.add(process.l1EmulCaloTPsNanoTask) - process.nanoTableTaskCommon.add(process.l1EmulCaloLayer1NanoTask) - #process.testseq = cms.Sequence(process.l1EmulCaloTPsNanoTask) - #process.testseqtwo = cms.Sequence(process.l1EmulCaloLayer1NanoTask) - - - return process