CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/RecoVertex/BeamSpotProducer/interface/BeamSpotOnlineProducer.h

Go to the documentation of this file.
00001 #ifndef BeamSpotOnlineProducer_BeamSpotOnlineProducer_h
00002 #define BeamSpotOnlineProducer_BeamSpotOnlineProducer_h
00003 
00016 #include "FWCore/Framework/interface/EDProducer.h"
00017 #include "FWCore/Framework/interface/Event.h"
00018 #include "DataFormats/Common/interface/Handle.h"
00019 #include "FWCore/Framework/interface/ESHandle.h"
00020 #include "FWCore/Framework/interface/EventSetup.h"
00021 
00022 class BeamSpotOnlineProducer: public edm::EDProducer {
00023 
00024   public:
00025         typedef std::vector<edm::ParameterSet> Parameters;
00026 
00028         explicit BeamSpotOnlineProducer(const edm::ParameterSet& iConf);
00030         ~BeamSpotOnlineProducer();
00031         
00033         virtual void produce(edm::Event& iEvent, const edm::EventSetup& iSetup);
00034 
00035   private:
00036         
00037         edm::InputTag scalertag_;
00038         bool changeFrame_;
00039         double theMaxZ,theMaxR2,theSetSigmaZ;
00040         edm::InputTag thel1GtEvmReadoutRecordTag;
00041 };
00042 
00043 #endif