CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/DataFormats/FWLite/src/RunHistoryGetter.cc

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Package:     DataFormats
00004 // Class  :     LumiHistoryGetter
00005 //
00006 // Implementation:
00007 //     [Notes on implementation]
00008 //
00009 // Original Author:
00010 //         Created:  Wed Feb 10 11:15:18 CST 2010
00011 // $Id: RunHistoryGetter.cc,v 1.2 2010/07/24 14:14:48 wmtan Exp $
00012 //
00013 
00014 // user include files
00015 #include "DataFormats/FWLite/interface/RunHistoryGetter.h"
00016 
00017 
00018 namespace fwlite {
00019 
00020     //
00021     // constructors and destructor
00022     //
00023     RunHistoryGetter::RunHistoryGetter(const Run* run) {
00024         run_ = run;
00025     }
00026 
00027     RunHistoryGetter::~RunHistoryGetter() {}
00028 
00029     //
00030     // const member functions
00031     //
00032     const edm::ProcessHistory& RunHistoryGetter::history() const {
00033         return run_->history();
00034     }
00035 }