Public Member Functions | Public Attributes | Static Public Attributes | List of all members
art::ResultsAuxiliary Class Reference

#include <ResultsAuxiliary.h>

Public Member Functions

void write (std::ostream &os) const
 
ProcessHistoryIDprocessHistoryID () const
 
void setProcessHistoryID (ProcessHistoryID const &phid) const
 
bool mergeAuxiliary (ResultsAuxiliary const &aux)
 

Public Attributes

ProcessHistoryID processHistoryID_ {}
 
std::set< ProcessHistoryIDallEventsProcessHistories_ {}
 

Static Public Attributes

static constexpr BranchType branch_type = InResults
 

Detailed Description

Definition at line 16 of file ResultsAuxiliary.h.

Member Function Documentation

bool art::ResultsAuxiliary::mergeAuxiliary ( ResultsAuxiliary const &  aux)

Definition at line 13 of file ResultsAuxiliary.cc.

14 {
15 
16  allEventsProcessHistories_.insert(newAux.allEventsProcessHistories_.begin(),
17  newAux.allEventsProcessHistories_.end());
18 
19  // Keep the process history ID that is in the preexisting principal
20  // It may have been updated to include the current process.
21  // There is one strange other case where the two ProcessHistoryIDs
22  // could be different which should not be important and we just ignore.
23  // There could have been previous processes which only dropped products.
24  // These processes could have dropped the same branches but had different
25  // process names ... Ignore this.
26 
27  return true;
28 }
std::set< ProcessHistoryID > allEventsProcessHistories_
ProcessHistoryID& art::ResultsAuxiliary::processHistoryID ( ) const
inline

Definition at line 23 of file ResultsAuxiliary.h.

24  {
25  return processHistoryID_;
26  }
ProcessHistoryID processHistoryID_
void art::ResultsAuxiliary::setProcessHistoryID ( ProcessHistoryID const &  phid) const
inline

Definition at line 29 of file ResultsAuxiliary.h.

30  {
31  processHistoryID_ = phid;
32  }
ProcessHistoryID processHistoryID_
void art::ResultsAuxiliary::write ( std::ostream &  os) const

Definition at line 7 of file ResultsAuxiliary.cc.

8 {
9  os << "Process History ID = " << processHistoryID_ << std::endl;
10 }
ProcessHistoryID processHistoryID_
QTextStream & endl(QTextStream &s)

Member Data Documentation

std::set<ProcessHistoryID> art::ResultsAuxiliary::allEventsProcessHistories_ {}

Definition at line 42 of file ResultsAuxiliary.h.

constexpr BranchType art::ResultsAuxiliary::branch_type = InResults
static

Definition at line 18 of file ResultsAuxiliary.h.

ProcessHistoryID art::ResultsAuxiliary::processHistoryID_ {}
mutable

Definition at line 38 of file ResultsAuxiliary.h.


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