Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef EcalSkim_H
00014 #define EcalSkim_H
00015
00016
00017 #include <memory>
00018 #include <vector>
00019 #include <map>
00020 #include <set>
00021
00022
00023 #include "FWCore/Utilities/interface/InputTag.h"
00024 #include "FWCore/Framework/interface/Frameworkfwd.h"
00025 #include "FWCore/Framework/interface/EDFilter.h"
00026 #include "FWCore/Framework/interface/Event.h"
00027 #include "FWCore/Framework/interface/MakerMacros.h"
00028 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00029 #include "FWCore/Framework/interface/ESHandle.h"
00030 #include "Geometry/CaloTopology/interface/CaloTopology.h"
00031 #include "Geometry/CaloEventSetup/interface/CaloTopologyRecord.h"
00032 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00033 #include "DataFormats/DetId/interface/DetId.h"
00034
00035 #include "TFile.h"
00036 #include <string>
00037
00038
00039
00040
00041
00042 class TFile;
00043
00044 class EcalSkim : public edm::EDFilter {
00045 public:
00046 explicit EcalSkim( const edm::ParameterSet & );
00047 ~EcalSkim();
00048
00049 private:
00050 virtual bool filter ( edm::Event &, const edm::EventSetup & );
00051
00052 edm::InputTag BarrelClusterCollection;
00053 edm::InputTag EndcapClusterCollection;
00054 double EnergyCutEB;
00055 double EnergyCutEE;
00056
00057 };
00058
00059 #endif