CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/DataFormats/Provenance/src/History.cc

Go to the documentation of this file.
00001 #include "DataFormats/Provenance/interface/History.h"
00002 
00003 namespace edm {
00004 
00005   History::size_type
00006   History::size() const {
00007     return eventSelections_.size();
00008   }
00009 
00010   void
00011   History::addEventSelectionEntry(EventSelectionID const& eventSelection) {
00012     eventSelections_.push_back(eventSelection);
00013   }
00014 
00015   void
00016   History::addBranchListIndexEntry(BranchListIndex const& branchListIndex) {
00017     branchListIndexes_.push_back(branchListIndex);
00018   }
00019 
00020   EventSelectionID const&
00021   History::getEventSelectionID(History::size_type i) const {
00022     return eventSelections_[i];
00023   }
00024 }