#include <DataFormats/Provenance/interface/History.h>
Public Types | |
typedef std::size_t | size_type |
Public Member Functions | |
void | addEntry (EventSelectionID const &eventSelection) |
EventSelectionIDVector const & | eventSelectionIDs () const |
EventSelectionID const & | getEventSelectionID (size_type i) const |
ProcessHistoryID const & | processHistoryID () const |
void | setProcessHistoryID (ProcessHistoryID const &pid) |
size_type | size () const |
Private Attributes | |
EventSelectionIDVector | eventSelections_ |
ProcessHistoryID | processHistoryID_ |
Definition at line 20 of file History.h.
typedef std::size_t edm::History::size_type |
void edm::History::addEntry | ( | EventSelectionID const & | eventSelection | ) |
Definition at line 13 of file History.cc.
References eventSelections_.
00014 { 00015 eventSelections_.push_back(eventSelection); 00016 }
EventSelectionIDVector const & edm::History::eventSelectionIDs | ( | ) | const |
Definition at line 31 of file History.cc.
References eventSelections_.
Referenced by ProvenanceDumper::dumpEventFilteringParameterSets_(), and edm::EventPrincipal::eventSelectionIDs().
00032 { 00033 return eventSelections_; 00034 }
EventSelectionID const & edm::History::getEventSelectionID | ( | History::size_type | i | ) | const |
Definition at line 25 of file History.cc.
References eventSelections_.
00026 { 00027 return eventSelections_[i]; 00028 }
ProcessHistoryID const & edm::History::processHistoryID | ( | ) | const |
Definition at line 37 of file History.cc.
References processHistoryID_.
Referenced by edm::RootFile::fillHistory(), fwlite::Event::history(), and TFWLiteSelectorBasic::Process().
00038 { 00039 return processHistoryID_; 00040 }
void edm::History::setProcessHistoryID | ( | ProcessHistoryID const & | pid | ) |
Definition at line 19 of file History.cc.
References processHistoryID_.
00019 { 00020 processHistoryID_ = pid; 00021 }
History::size_type edm::History::size | ( | void | ) | const |
Definition at line 7 of file History.cc.
References eventSelections_.
00008 { 00009 return eventSelections_.size(); 00010 }
Definition at line 54 of file History.h.
Referenced by addEntry(), eventSelectionIDs(), getEventSelectionID(), and size().
Definition at line 56 of file History.h.
Referenced by processHistoryID(), and setProcessHistoryID().