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

◆ 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.

References branchListIndexes_.

11  {
12  branchListIndexes_.push_back(branchListIndex);
13  }
BranchListIndexes branchListIndexes_
Definition: History.h:63

◆ addEventSelectionEntry()

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() [1/2]

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

◆ branchListIndexes() [2/2]

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

Definition at line 52 of file History.h.

References branchListIndexes_.

52 { return branchListIndexes_; }
BranchListIndexes branchListIndexes_
Definition: History.h:63

◆ eventSelectionIDs() [1/2]

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

Definition at line 42 of file History.h.

References eventSelections_.

42 { return eventSelections_; }
EventSelectionIDVector eventSelections_
Definition: History.h:61

◆ eventSelectionIDs() [2/2]

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

Definition at line 44 of file History.h.

References eventSelections_.

44 { return eventSelections_; }
EventSelectionIDVector eventSelections_
Definition: History.h:61

◆ getEventSelectionID()

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()

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

Definition at line 46 of file History.h.

References processHistoryID_.

46 { return processHistoryID_; }
ProcessHistoryID processHistoryID_
Definition: History.h:65

◆ setProcessHistoryID()

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

◆ size()

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_

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().