00001 #ifndef MCLongLivedParticles_h 00002 #define MCLongLivedParticles_h 00003 // -*- C++ -*- 00004 // 00005 // Package: MCLongLivedParticles 00006 // Class: MCLongLivedParticles 00007 // 00008 /* 00009 00010 Description: filter events based on the Pythia ProcessID and the Pt_hat 00011 00012 Implementation: inherits from generic EDFilter 00013 00014 */ 00015 // 00016 // Original Author: Filip Moortgat 00017 // Created: Mon Sept 11 10:57:54 CET 2006 00018 // $Id: MCLongLivedParticles.h,v 1.1 2008/06/24 09:34:26 fambrogl Exp $ 00019 // 00020 // 00021 00022 00023 // system include files 00024 #include <memory> 00025 00026 // user include files 00027 #include "FWCore/Framework/interface/Frameworkfwd.h" 00028 #include "FWCore/Framework/interface/EDFilter.h" 00029 00030 #include "FWCore/Framework/interface/Event.h" 00031 #include "FWCore/Framework/interface/MakerMacros.h" 00032 00033 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00034 00035 00036 using namespace edm; 00037 using namespace std; 00038 00039 // 00040 // class decleration 00041 // 00042 00043 class MCLongLivedParticles : public edm::EDFilter { 00044 public: 00045 explicit MCLongLivedParticles(const edm::ParameterSet&); 00046 ~MCLongLivedParticles(); 00047 00048 00049 virtual bool filter(Event&, const EventSetup&); 00050 private: 00051 // ----------member data --------------------------- 00052 00053 float theCut; 00054 00055 }; 00056 #endif