CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/DPGAnalysis/Skims/interface/ECALActivity.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Package:   ECALActivity
00004 // Class:     ECALActivity
00005 //
00006 // Original Author:  Luca Malgeri
00007 
00008 #ifndef ECALActivity_H
00009 #define ECALActivity_H
00010 
00011 // system include files
00012 #include <memory>
00013 #include <vector>
00014 #include <map>
00015 #include <set>
00016 
00017 // user include files
00018 #include "FWCore/Utilities/interface/InputTag.h"
00019 #include "FWCore/Framework/interface/Frameworkfwd.h"
00020 #include "FWCore/Framework/interface/EDFilter.h"
00021 #include "FWCore/Framework/interface/Event.h"
00022 #include "FWCore/Framework/interface/MakerMacros.h"
00023 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00024 #include "FWCore/Framework/interface/ESHandle.h"
00025 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00026 
00027 
00028 //
00029 // class declaration
00030 //
00031 
00032 
00033 class ECALActivity : public edm::EDFilter {
00034 public:
00035   explicit ECALActivity( const edm::ParameterSet & );
00036   ~ECALActivity();
00037   
00038 private:
00039   virtual bool filter ( edm::Event &, const edm::EventSetup&) override;
00040   
00041   edm::InputTag EBRecHitCollection_;
00042   edm::InputTag EERecHitCollection_;
00043 
00044   int EBnum;
00045   double EBthresh;
00046   int EEnum;
00047   double EEthresh;
00048   int ETOTnum;
00049   double ETOTthresh;
00050   bool applyfilter;
00051 
00052   
00053 };
00054 
00055 #endif