CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/DataFormats/FWLite/src/LumiHistoryGetter.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: LumiHistoryGetter.cc,v 1.2 2010/07/24 14:14:47 wmtan Exp $
00012 //
00013 
00014 // user include files
00015 #include "DataFormats/FWLite/interface/LumiHistoryGetter.h"
00016 
00017 
00018 namespace fwlite {
00019 
00020     //
00021     // constructors and destructor
00022     //
00023     LumiHistoryGetter::LumiHistoryGetter(const LuminosityBlock* lumi) {
00024         lumi_ = lumi;
00025     }
00026 
00027     LumiHistoryGetter::~LumiHistoryGetter() {}
00028 
00029     //
00030     // const member functions
00031     //
00032     const edm::ProcessHistory& LumiHistoryGetter::history() const {
00033         return lumi_->history();
00034     }
00035 }