DataFormats
Provenance
src
ProductID.cc
Go to the documentation of this file.
1
#include "
DataFormats/Provenance/interface/ProductID.h
"
2
#include <ostream>
3
#include <algorithm>
4
5
namespace
edm
{
6
std::ostream&
operator<<
(std::ostream& os,
ProductID
const
&
id
) {
7
os <<
id
.processIndex() <<
":"
<<
id
.productIndex();
8
return
os;
9
}
10
11
bool
operator<
(
ProductID
const
&
lh
,
ProductID
const
& rh) {
12
return
lh
.processIndex() < rh.
processIndex
() ||
13
(
lh
.processIndex() == rh.
processIndex
() &&
lh
.productIndex() < rh.
productIndex
());
14
}
15
16
void
ProductID::swap
(
ProductID
&
other
) {
17
std::swap
(
processIndex_
,
other
.processIndex_);
18
std::swap
(
productIndex_
,
other
.productIndex_);
19
}
20
}
// namespace edm
edm::ProductID::processIndex_
ProcessIndex processIndex_
Definition:
ProductID.h:41
edm
HLT enums.
Definition:
AlignableModifier.h:19
mathSSE::lh
bool int lh
Definition:
SIMDVec.h:20
edm::ProductID::processIndex
ProcessIndex processIndex() const
Definition:
ProductID.h:33
edm::operator<<
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
Definition:
HLTGlobalStatus.h:106
std::swap
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
Definition:
DataFrameContainer.h:209
edm::ProductID::productIndex_
ProductIndex productIndex_
Definition:
ProductID.h:42
edm::ProductID::productIndex
ProcessIndex productIndex() const
Definition:
ProductID.h:34
edm::operator<
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
Definition:
DetSet.h:89
ProductID.h
trackingPlots.other
other
Definition:
trackingPlots.py:1465
edm::ProductID::swap
void swap(ProductID &other)
Definition:
ProductID.cc:16
edm::ProductID
Definition:
ProductID.h:27
Generated for CMSSW Reference Manual by
1.8.16