CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

edm::History Class Reference

#include <History.h>

List of all members.

Public Types

typedef std::size_t size_type

Public Member Functions

void addBranchListIndexEntry (BranchListIndex const &branchListIndex)
void addEventSelectionEntry (EventSelectionID const &eventSelection)
BranchListIndexes const & branchListIndexes () const
BranchListIndexesbranchListIndexes ()
EventSelectionIDVector const & eventSelectionIDs () const
EventSelectionIDVectoreventSelectionIDs ()
EventSelectionID const & getEventSelectionID (size_type i) const
ProcessHistoryID const & processHistoryID () const
void setProcessHistoryID (ProcessHistoryID const &phid) const
size_type size () const

Private Attributes

BranchListIndexes branchListIndexes_
EventSelectionIDVector eventSelections_
ProcessHistoryID processHistoryID_

Detailed Description

Definition at line 22 of file History.h.


Member Typedef Documentation

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

Definition at line 24 of file History.h.


Member Function Documentation

void edm::History::addBranchListIndexEntry ( BranchListIndex const &  branchListIndex)

Definition at line 16 of file History.cc.

References branchListIndexes_.

                                                                         {
    branchListIndexes_.push_back(branchListIndex);
  }
void edm::History::addEventSelectionEntry ( EventSelectionID const &  eventSelection)

Definition at line 11 of file History.cc.

References eventSelections_.

                                                                        {
    eventSelections_.push_back(eventSelection);
  }
BranchListIndexes const& edm::History::branchListIndexes ( ) const [inline]
BranchListIndexes& edm::History::branchListIndexes ( ) [inline]

Definition at line 52 of file History.h.

References branchListIndexes_.

EventSelectionIDVector const& edm::History::eventSelectionIDs ( ) const [inline]

Definition at line 42 of file History.h.

References eventSelections_.

Referenced by ProvenanceDumper::dumpEventFilteringParameterSets_().

{return eventSelections_;}
EventSelectionIDVector& edm::History::eventSelectionIDs ( ) [inline]

Definition at line 44 of file History.h.

References eventSelections_.

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

Definition at line 21 of file History.cc.

References eventSelections_, and i.

                                                       {
    return eventSelections_[i];
  }
ProcessHistoryID const& edm::History::processHistoryID ( ) const [inline]

Definition at line 46 of file History.h.

References processHistoryID_.

Referenced by fwlite::Event::history().

void edm::History::setProcessHistoryID ( ProcessHistoryID const &  phid) const [inline]

Definition at line 48 of file History.h.

References processHistoryID_.

History::size_type edm::History::size ( void  ) const

Definition at line 6 of file History.cc.

References eventSelections_.

                      {
    return eventSelections_.size();
  }

Member Data Documentation

Definition at line 63 of file History.h.

Referenced by addBranchListIndexEntry(), and branchListIndexes().

Definition at line 61 of file History.h.

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

Definition at line 65 of file History.h.

Referenced by processHistoryID(), and setProcessHistoryID().