Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:41:32

0001 // -*- C++ -*-
0002 //
0003 // Package:   EcalSkim
0004 // Class:     EcalSkim
0005 //
0006 //class EcalSkim EcalSkim.cc
0007 //
0008 // Original Author:  Serena OGGERO
0009 //         Created:  We May 14 10:10:52 CEST 2008
0010 //        Modified:  Toyoko ORIMOTO
0011 //
0012 
0013 #ifndef EcalSkim_H
0014 #define EcalSkim_H
0015 
0016 // system include files
0017 #include <memory>
0018 #include <vector>
0019 #include <map>
0020 #include <set>
0021 
0022 // user include files
0023 #include "FWCore/Utilities/interface/InputTag.h"
0024 #include "FWCore/Framework/interface/Frameworkfwd.h"
0025 #include "FWCore/Framework/interface/stream/EDFilter.h"
0026 #include "FWCore/Framework/interface/Event.h"
0027 #include "FWCore/Framework/interface/MakerMacros.h"
0028 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0029 #include "FWCore/Framework/interface/ESHandle.h"
0030 #include "Geometry/CaloTopology/interface/CaloTopology.h"
0031 #include "Geometry/Records/interface/CaloTopologyRecord.h"
0032 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0033 #include "DataFormats/DetId/interface/DetId.h"
0034 
0035 #include "TFile.h"
0036 #include <string>
0037 
0038 //
0039 // class declaration
0040 //
0041 
0042 class TFile;
0043 
0044 class EcalSkim : public edm::stream::EDFilter<> {
0045 public:
0046   explicit EcalSkim(const edm::ParameterSet &);
0047   ~EcalSkim() override;
0048 
0049 private:
0050   bool filter(edm::Event &, const edm::EventSetup &) override;
0051 
0052   edm::InputTag BarrelClusterCollection;
0053   edm::InputTag EndcapClusterCollection;
0054   double EnergyCutEB;
0055   double EnergyCutEE;
0056 };
0057 
0058 #endif