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