Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:49:50

0001 #ifndef DataFormats_FWLite_RunHistoryGetter_h
0002 #define DataFormats_FWLite_RunHistoryGetter_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     DataFormats
0006 // Class  :     RunHistoryGetter
0007 //
0008 /**\class RunHistoryGetter RunHistoryGetter.h src/DataFormats/interface/RunHistoryGetter.h
0009 
0010  Description: [one line class summary]
0011 
0012  Usage:
0013     <usage>
0014 
0015 */
0016 //
0017 // Original Author:
0018 //         Created:  Wed Feb 10 11:15:16 CST 2010
0019 //
0020 
0021 #include "DataFormats/FWLite/interface/Run.h"
0022 #include "DataFormats/FWLite/interface/HistoryGetterBase.h"
0023 
0024 namespace fwlite {
0025   class RunHistoryGetter : public HistoryGetterBase {
0026   public:
0027     RunHistoryGetter(const Run*);
0028     ~RunHistoryGetter() override;
0029 
0030     // ---------- const member functions ---------------------
0031     const edm::ProcessHistory& history() const override;
0032 
0033     RunHistoryGetter(const RunHistoryGetter&) = delete;  // stop default
0034 
0035     const RunHistoryGetter& operator=(const RunHistoryGetter&) = delete;  // stop default
0036 
0037   private:
0038     // ---------- member data --------------------------------
0039     const fwlite::Run* run_;
0040   };
0041 
0042 }  // namespace fwlite
0043 
0044 #endif