CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/DataFormats/FWLite/interface/LumiHistoryGetter.h

Go to the documentation of this file.
00001 #ifndef DataFormats_FWLite_LumiHistoryGetter_h
00002 #define DataFormats_FWLite_LumiHistoryGetter_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     DataFormats
00006 // Class  :     LumiHistoryGetter
00007 //
00016 //
00017 // Original Author:
00018 //         Created:  Wed Feb 10 11:15:16 CST 2010
00019 // $Id: LumiHistoryGetter.h,v 1.1 2010/02/11 17:21:38 ewv Exp $
00020 //
00021 #if !defined(__CINT__) && !defined(__MAKECINT__)
00022 
00023 #include "DataFormats/FWLite/interface/LuminosityBlock.h"
00024 #include "DataFormats/FWLite/interface/HistoryGetterBase.h"
00025 
00026 namespace fwlite {
00027     class LumiHistoryGetter : public HistoryGetterBase{
00028         public:
00029             LumiHistoryGetter(const LuminosityBlock*);
00030             virtual ~LumiHistoryGetter();
00031 
00032             // ---------- const member functions ---------------------
00033             const edm::ProcessHistory& history() const;
00034 
00035         private:
00036             LumiHistoryGetter(const LumiHistoryGetter&); // stop default
00037 
00038             const LumiHistoryGetter& operator=(const LumiHistoryGetter&); // stop default
00039 
00040             // ---------- member data --------------------------------
00041             const fwlite::LuminosityBlock* lumi_;
00042     };
00043 
00044 }
00045 
00046 #endif /*__CINT__ */
00047 #endif