LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ResultsAuxiliary.cc
Go to the documentation of this file.
1
#include "
canvas/Persistency/Provenance/ResultsAuxiliary.h
"
2
#include <ostream>
3
4
void
5
art::ResultsAuxiliary::write
(std::ostream& os)
const
6
{
7
os <<
"Process History ID = "
<<
processHistoryID_
<< std::endl;
8
}
9
10
bool
11
art::ResultsAuxiliary::mergeAuxiliary
(
ResultsAuxiliary
const
& newAux)
12
{
13
14
allEventsProcessHistories_
.insert(newAux.
allEventsProcessHistories_
.begin(),
15
newAux.
allEventsProcessHistories_
.end());
16
17
// Keep the process history ID that is in the preexisting principal
18
// It may have been updated to include the current process.
19
// There is one strange other case where the two ProcessHistoryIDs
20
// could be different which should not be important and we just ignore.
21
// There could have been previous processes which only dropped products.
22
// These processes could have dropped the same branches but had different
23
// process names ... Ignore this.
24
25
return
true
;
26
}
art::ResultsAuxiliary::mergeAuxiliary
bool mergeAuxiliary(ResultsAuxiliary const &aux)
Definition:
ResultsAuxiliary.cc:11
art::ResultsAuxiliary
Definition:
ResultsAuxiliary.h:24
ResultsAuxiliary.h
art::ResultsAuxiliary::processHistoryID_
ProcessHistoryID processHistoryID_
Definition:
ResultsAuxiliary.h:48
art::ResultsAuxiliary::allEventsProcessHistories_
std::set< ProcessHistoryID > allEventsProcessHistories_
Definition:
ResultsAuxiliary.h:52
art::ResultsAuxiliary::write
void write(std::ostream &os) const
Definition:
ResultsAuxiliary.cc:5
canvas
Persistency
Provenance
ResultsAuxiliary.cc
Generated on Thu Jul 26 2018 13:09:44 for LArSoft by
1.8.11