CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/DPGAnalysis/Skims/interface/EcalSkim.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Package:   EcalSkim
00004 // Class:     EcalSkim
00005 //
00006 //class EcalSkim EcalSkim.cc
00007 //
00008 // Original Author:  Serena OGGERO
00009 //         Created:  We May 14 10:10:52 CEST 2008
00010 //        Modified:  Toyoko ORIMOTO
00011 //
00012 
00013 #ifndef EcalSkim_H
00014 #define EcalSkim_H
00015 
00016 // system include files
00017 #include <memory>
00018 #include <vector>
00019 #include <map>
00020 #include <set>
00021 
00022 // user include files
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 // class declaration
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