00001 #ifndef GetLumi_H 00002 #define GetLumi_H 00003 00004 // system include files 00005 #include <memory> 00006 00007 // user include files 00008 #include "FWCore/Framework/interface/Frameworkfwd.h" 00009 #include "FWCore/Framework/interface/EDAnalyzer.h" 00010 00011 #include "FWCore/Framework/interface/Event.h" 00012 #include "FWCore/Framework/interface/MakerMacros.h" 00013 00014 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00015 00016 class GetLumi 00017 { 00018 public: 00019 GetLumi(const edm::ParameterSet&); 00020 GetLumi(edm::InputTag, double); 00021 virtual ~GetLumi(); 00022 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions); 00023 00024 double getRawValue(const edm::Event&); 00025 double getValue (const edm::Event&); 00026 00027 // ----------member data --------------------------- 00028 edm::InputTag lumiInputTag_; 00029 double lumiScale_; 00030 00031 00032 }; 00033 #endif