00001 // -*- C++ -*- 00002 // 00003 // Package: L1RCTTPGProvider 00004 // Class: L1RCTTPGProvider 00005 // 00013 // 00014 // Original Author: Michail Bachtis 00015 // Created: Tue Mar 10 18:29:22 CDT 2009 00016 // $Id: L1RCTTPGProvider.h,v 1.2 2010/01/07 11:10:03 bachtis Exp $ 00017 // 00018 // 00019 00020 00021 // system include files 00022 #include <memory> 00023 00024 // user include files 00025 #include "FWCore/Framework/interface/Frameworkfwd.h" 00026 #include "FWCore/Framework/interface/EDProducer.h" 00027 00028 #include "FWCore/Framework/interface/Event.h" 00029 #include "FWCore/Framework/interface/MakerMacros.h" 00030 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00031 00032 00033 // 00034 // class decleration 00035 // 00036 00037 class L1RCTTPGProvider : public edm::EDProducer { 00038 public: 00039 explicit L1RCTTPGProvider(const edm::ParameterSet&); 00040 ~L1RCTTPGProvider(); 00041 00042 private: 00043 virtual void produce(edm::Event&, const edm::EventSetup&); 00044 virtual void endJob() ; 00045 00046 // ----------member data --------------------------- 00047 edm::InputTag ecalTPG_; 00048 edm::InputTag hcalTPG_; 00049 bool useHcalCosmicTiming; 00050 bool useEcalCosmicTiming; 00051 int preSamples; 00052 int postSamples; 00053 int hfShift; 00054 int hbShift; 00055 00056 };