CMS 3D CMS Logo

edm::History Class Reference

#include <DataFormats/Provenance/interface/History.h>

List of all members.

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_


Detailed Description

Definition at line 20 of file History.h.


Member Typedef Documentation

typedef std::size_t edm::History::size_type

Definition at line 23 of file History.h.


Member Function Documentation

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   }


Member Data Documentation

EventSelectionIDVector edm::History::eventSelections_ [private]

Definition at line 54 of file History.h.

Referenced by addEntry(), eventSelectionIDs(), getEventSelectionID(), and size().

ProcessHistoryID edm::History::processHistoryID_ [private]

Definition at line 56 of file History.h.

Referenced by processHistoryID(), and setProcessHistoryID().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:41:14 2009 for CMSSW by  doxygen 1.5.4