Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include "DataFormats/Provenance/interface/History.h"

namespace edm {

  History::size_type History::size() const { return eventSelections_.size(); }

  void History::addEventSelectionEntry(EventSelectionID const& eventSelection) {
    eventSelections_.push_back(eventSelection);
  }

  void History::addBranchListIndexEntry(BranchListIndex const& branchListIndex) {
    branchListIndexes_.push_back(branchListIndex);
  }

  EventSelectionID const& History::getEventSelectionID(History::size_type i) const { return eventSelections_[i]; }
}  // namespace edm