CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
edm::History Class Reference

#include <History.h>

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)
 
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 11 of file History.cc.

References branchListIndexes_.

11  {
12  branchListIndexes_.push_back(branchListIndex);
13  }
BranchListIndexes branchListIndexes_
Definition: History.h:63
void edm::History::addEventSelectionEntry ( EventSelectionID const &  eventSelection)

Definition at line 7 of file History.cc.

References eventSelections_.

7  {
8  eventSelections_.push_back(eventSelection);
9  }
EventSelectionIDVector eventSelections_
Definition: History.h:61
BranchListIndexes const& edm::History::branchListIndexes ( ) const
inline

Definition at line 50 of file History.h.

References branchListIndexes_.

Referenced by fwlite::internal::BranchMapReaderStrategyV11::productToBranchID().

50 { return branchListIndexes_; }
BranchListIndexes branchListIndexes_
Definition: History.h:63
BranchListIndexes& edm::History::branchListIndexes ( )
inline

Definition at line 52 of file History.h.

References branchListIndexes_.

52 { return branchListIndexes_; }
BranchListIndexes branchListIndexes_
Definition: History.h:63
EventSelectionIDVector const& edm::History::eventSelectionIDs ( ) const
inline

Definition at line 42 of file History.h.

References eventSelections_.

Referenced by ProvenanceDumper::dumpEventFilteringParameterSets_().

42 { return eventSelections_; }
EventSelectionIDVector eventSelections_
Definition: History.h:61
EventSelectionIDVector& edm::History::eventSelectionIDs ( )
inline

Definition at line 44 of file History.h.

References eventSelections_.

44 { return eventSelections_; }
EventSelectionIDVector eventSelections_
Definition: History.h:61
EventSelectionID const & edm::History::getEventSelectionID ( History::size_type  i) const

Definition at line 15 of file History.cc.

References eventSelections_, and mps_fire::i.

15 { return eventSelections_[i]; }
EventSelectionIDVector eventSelections_
Definition: History.h:61
ProcessHistoryID const& edm::History::processHistoryID ( ) const
inline

Definition at line 46 of file History.h.

References processHistoryID_.

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

46 { return processHistoryID_; }
ProcessHistoryID processHistoryID_
Definition: History.h:65
void edm::History::setProcessHistoryID ( ProcessHistoryID const &  phid)
inline

Definition at line 48 of file History.h.

References processHistoryID_.

48 { processHistoryID_ = phid; }
ProcessHistoryID processHistoryID_
Definition: History.h:65
History::size_type edm::History::size ( void  ) const

Definition at line 5 of file History.cc.

References eventSelections_.

Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().

5 { return eventSelections_.size(); }
EventSelectionIDVector eventSelections_
Definition: History.h:61

Member Data Documentation

BranchListIndexes edm::History::branchListIndexes_
private

Definition at line 63 of file History.h.

Referenced by addBranchListIndexEntry(), and branchListIndexes().

EventSelectionIDVector edm::History::eventSelections_
private

Definition at line 61 of file History.h.

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

ProcessHistoryID edm::History::processHistoryID_
private

Definition at line 65 of file History.h.

Referenced by processHistoryID(), and setProcessHistoryID().