History.h
Go to the documentation of this file.
1 #ifndef canvas_Persistency_Provenance_History_h
2 #define canvas_Persistency_Provenance_History_h
3 // vim: set sw=2 expandtab :
4 
5 //
6 // Class History represents the processing history of a single Event.
7 // It includes ordered sequences of elements, each of which contains
8 // information about a specific 'process' through which the Event has
9 // passed, with earlier processes at the beginning of the sequence.
10 //
11 
14 
15 namespace art {
16 
17  class History {
18  public:
19  using size_type = std::size_t;
20 
21  size_type size() const noexcept;
22 
23  void addEventSelectionEntry(EventSelectionID const& eventSelection);
24 
28 
30 
31  private:
34  };
35 
36 } // namespace art
37 
38 #endif /* canvas_Persistency_Provenance_History_h */
39 
40 // Local Variables:
41 // mode: c++
42 // End:
EventSelectionIDVector eventSelections_
Definition: History.h:32
void setProcessHistoryID(ProcessHistoryID const &phid)
Definition: History.cc:37
ProcessHistoryID processHistoryID_
Definition: History.h:33
size_type size() const noexcept
Definition: History.cc:7
EventSelectionIDVector const & eventSelectionIDs() const noexcept
Definition: History.cc:25
std::vector< EventSelectionID > EventSelectionIDVector
void addEventSelectionEntry(EventSelectionID const &eventSelection)
Definition: History.cc:13
std::size_t size_type
Definition: History.h:19
ProcessHistoryID const & processHistoryID() const noexcept
Definition: History.cc:31
EventSelectionID const & getEventSelectionID(size_type i) const noexcept
Definition: History.cc:19