CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/SimGeneral/MixingModule/plugins/Mixing2DB.h

Go to the documentation of this file.
00001 #ifndef Mixing2DB_H
00002 #define Mixing2DB_H
00003 // -*- C++ -*-
00004 //
00005 // Package:    Mixing2DB
00006 // Class:      Mixing2DB
00007 // 
00015 //
00016 // Original Author:  Jean-Roch Vlimant,40 3-A28,+41227671209,
00017 //         Created:  Mon Jan  9 17:27:59 CET 2012
00018 // $Id: Mixing2DB.h,v 1.1 2012/01/17 12:02:44 vlimant 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/EDAnalyzer.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 // class declaration
00036 //
00037 
00038 class Mixing2DB : public edm::EDAnalyzer {
00039    public:
00040       explicit Mixing2DB(const edm::ParameterSet&);
00041       ~Mixing2DB();
00042 
00043       static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
00044 
00045 
00046    private:
00047       virtual void beginJob() ;
00048       virtual void analyze(const edm::Event&, const edm::EventSetup&);
00049       virtual void endJob() ;
00050 
00051       virtual void beginRun(edm::Run const&, edm::EventSetup const&);
00052       virtual void endRun(edm::Run const&, edm::EventSetup const&);
00053       virtual void beginLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&);
00054       virtual void endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&);
00055 
00056       // ----------member data ---------------------------
00057       edm::ParameterSet cfi_;
00058 };
00059 
00060 #endif