LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
art::History Class Reference

#include "History.h"

Public Types

typedef std::size_t size_type
 

Public Member Functions

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

Private Attributes

EventSelectionIDVector eventSelections_
 
BranchListIndexes branchListIndexes_
 
ProcessHistoryID processHistoryID_
 

Detailed Description

Definition at line 19 of file History.h.

Member Typedef Documentation

typedef std::size_t art::History::size_type

Definition at line 21 of file History.h.

Member Function Documentation

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

Definition at line 18 of file History.cc.

References branchListIndexes_.

19  {
20  branchListIndexes_.push_back(branchListIndex);
21  }
BranchListIndexes branchListIndexes_
Definition: History.h:74
void art::History::addEventSelectionEntry ( EventSelectionID const &  eventSelection)

Definition at line 12 of file History.cc.

References eventSelections_.

Referenced by art::RootOutputFile::writeOne().

13  {
14  eventSelections_.push_back(eventSelection);
15  }
EventSelectionIDVector eventSelections_
Definition: History.h:72
BranchListIndexes const& art::History::branchListIndexes ( ) const
inline

Definition at line 54 of file History.h.

References branchListIndexes_.

55  {
56  return branchListIndexes_;
57  }
BranchListIndexes branchListIndexes_
Definition: History.h:74
BranchListIndexes& art::History::branchListIndexes ( )
inline

Definition at line 60 of file History.h.

References branchListIndexes_.

61  {
62  return branchListIndexes_;
63  }
BranchListIndexes branchListIndexes_
Definition: History.h:74
EventSelectionIDVector const & art::History::eventSelectionIDs ( ) const

Definition at line 30 of file History.cc.

References eventSelections_.

31  {
32  return eventSelections_;
33  }
EventSelectionIDVector eventSelections_
Definition: History.h:72
EventSelectionID const & art::History::getEventSelectionID ( History::size_type  i) const

Definition at line 24 of file History.cc.

References eventSelections_.

25  {
26  return eventSelections_[i];
27  }
EventSelectionIDVector eventSelections_
Definition: History.h:72
ProcessHistoryID const& art::History::processHistoryID ( ) const
inline

Definition at line 42 of file History.h.

References processHistoryID_.

Referenced by art::Event::processHistoryID(), and art::EventPrincipal::processHistoryID().

43  {
44  return processHistoryID_;
45  }
ProcessHistoryID processHistoryID_
Definition: History.h:76
void art::History::setProcessHistoryID ( ProcessHistoryID const &  phid) const
inline

Definition at line 48 of file History.h.

References processHistoryID_.

Referenced by art::EventPrincipal::setProcessHistoryID().

49  {
50  processHistoryID_ = phid;
51  }
ProcessHistoryID processHistoryID_
Definition: History.h:76
History::size_type art::History::size ( void  ) const

Definition at line 6 of file History.cc.

References eventSelections_.

7  {
8  return eventSelections_.size();
9  }
EventSelectionIDVector eventSelections_
Definition: History.h:72

Member Data Documentation

BranchListIndexes art::History::branchListIndexes_
private

Definition at line 74 of file History.h.

Referenced by addBranchListIndexEntry(), and branchListIndexes().

EventSelectionIDVector art::History::eventSelections_
private

Definition at line 72 of file History.h.

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

ProcessHistoryID art::History::processHistoryID_
mutableprivate

Definition at line 76 of file History.h.

Referenced by processHistoryID(), and setProcessHistoryID().


The documentation for this class was generated from the following files: