Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-02 04:38:20

0001 #ifndef DataFormats_FWLite_LumiHistoryGetter_h
0002 #define DataFormats_FWLite_LumiHistoryGetter_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     DataFormats
0006 // Class  :     LumiHistoryGetter
0007 //
0008 /**\class LumiHistoryGetter LumiHistoryGetter.h src/DataFormats/interface/LumiHistoryGetter.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/LuminosityBlock.h"
0022 #include "DataFormats/FWLite/interface/HistoryGetterBase.h"
0023 
0024 namespace fwlite {
0025   class LumiHistoryGetter : public HistoryGetterBase {
0026   public:
0027     LumiHistoryGetter(const LuminosityBlock*);
0028     ~LumiHistoryGetter() override;
0029 
0030     // ---------- const member functions ---------------------
0031     const edm::ProcessHistory& history() const override;
0032 
0033     LumiHistoryGetter(const LumiHistoryGetter&) = delete;  // stop default
0034 
0035     const LumiHistoryGetter& operator=(const LumiHistoryGetter&) = delete;  // stop default
0036 
0037   private:
0038     // ---------- member data --------------------------------
0039     const fwlite::LuminosityBlock* lumi_;
0040   };
0041 
0042 }  // namespace fwlite
0043 
0044 #endif