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)
 
BranchListIndexesbranchListIndexes ()
 
BranchListIndexes const & branchListIndexes () const
 
EventSelectionIDVectoreventSelectionIDs ()
 
EventSelectionIDVector const & eventSelectionIDs () const
 
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

◆ size_type

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

Definition at line 24 of file History.h.

Member Function Documentation

◆ addBranchListIndexEntry()

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

Definition at line 11 of file History.cc.

11  {
12  branchListIndexes_.push_back(branchListIndex);
13  }

References branchListIndexes_.

◆ addEventSelectionEntry()

void edm::History::addEventSelectionEntry ( EventSelectionID const &  eventSelection)

Definition at line 7 of file History.cc.

7  {
8  eventSelections_.push_back(eventSelection);
9  }

References eventSelections_.

◆ branchListIndexes() [1/2]

BranchListIndexes& edm::History::branchListIndexes ( )
inline

Definition at line 52 of file History.h.

52 { return branchListIndexes_; }

References branchListIndexes_.

◆ branchListIndexes() [2/2]

BranchListIndexes const& edm::History::branchListIndexes ( ) const
inline

◆ eventSelectionIDs() [1/2]

EventSelectionIDVector& edm::History::eventSelectionIDs ( )
inline

Definition at line 44 of file History.h.

44 { return eventSelections_; }

References eventSelections_.

◆ eventSelectionIDs() [2/2]

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

Definition at line 42 of file History.h.

42 { return eventSelections_; }

References eventSelections_.

◆ getEventSelectionID()

EventSelectionID const & edm::History::getEventSelectionID ( History::size_type  i) const

Definition at line 15 of file History.cc.

15 { return eventSelections_[i]; }

References eventSelections_, and mps_fire::i.

◆ processHistoryID()

ProcessHistoryID const& edm::History::processHistoryID ( ) const
inline

Definition at line 46 of file History.h.

46 { return processHistoryID_; }

References processHistoryID_.

◆ setProcessHistoryID()

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

Definition at line 48 of file History.h.

48 { processHistoryID_ = phid; }

References processHistoryID_.

◆ size()

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

Definition at line 5 of file History.cc.

5 { return eventSelections_.size(); }

References eventSelections_.

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

Member Data Documentation

◆ branchListIndexes_

BranchListIndexes edm::History::branchListIndexes_
private

Definition at line 63 of file History.h.

Referenced by addBranchListIndexEntry(), and branchListIndexes().

◆ eventSelections_

EventSelectionIDVector edm::History::eventSelections_
private

Definition at line 61 of file History.h.

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

◆ processHistoryID_

ProcessHistoryID edm::History::processHistoryID_
private

Definition at line 65 of file History.h.

Referenced by processHistoryID(), and setProcessHistoryID().

mps_fire.i
i
Definition: mps_fire.py:355
edm::History::processHistoryID_
ProcessHistoryID processHistoryID_
Definition: History.h:65
edm::History::branchListIndexes_
BranchListIndexes branchListIndexes_
Definition: History.h:63
edm::History::eventSelections_
EventSelectionIDVector eventSelections_
Definition: History.h:61