Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
canvas
canvas
Persistency
Provenance
ResultsAuxiliary.cc
Go to the documentation of this file.
1
#include "
canvas/Persistency/Provenance/ResultsAuxiliary.h
"
2
// vim: set sw=2 expandtab :
3
4
#include <ostream>
5
6
void
7
art::ResultsAuxiliary::write
(std::ostream& os)
const
8
{
9
os <<
"Process History ID = "
<<
processHistoryID_
<<
std::endl
;
10
}
11
12
bool
13
art::ResultsAuxiliary::mergeAuxiliary
(
ResultsAuxiliary
const
& newAux)
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
}
art::ResultsAuxiliary::mergeAuxiliary
bool mergeAuxiliary(ResultsAuxiliary const &aux)
Definition:
ResultsAuxiliary.cc:13
art::ResultsAuxiliary
Definition:
ResultsAuxiliary.h:16
ResultsAuxiliary.h
art::ResultsAuxiliary::processHistoryID_
ProcessHistoryID processHistoryID_
Definition:
ResultsAuxiliary.h:38
art::ResultsAuxiliary::allEventsProcessHistories_
std::set< ProcessHistoryID > allEventsProcessHistories_
Definition:
ResultsAuxiliary.h:42
art::ResultsAuxiliary::write
void write(std::ostream &os) const
Definition:
ResultsAuxiliary.cc:7
endl
QTextStream & endl(QTextStream &s)
Definition:
qtextstream.cpp:2030
Generated by
1.8.11