Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DataFormats
Provenance
src
BranchID.cc
Go to the documentation of this file.
1
#include "
DataFormats/Provenance/interface/BranchID.h
"
2
#include "
FWCore/Utilities/interface/CRC32Calculator.h
"
3
#include <ostream>
4
5
namespace
edm {
6
7
BranchID::value_type
8
BranchID::toID
(std::string
const
& branchName) {
9
cms::CRC32Calculator
crc32(branchName);
10
return
crc32.
checksum
();
11
}
12
13
std::ostream&
14
operator<<
(std::ostream& os,
BranchID
const
&
id
) {
15
os <<
id
.id();
16
return
os;
17
}
18
}
CRC32Calculator.h
edm::BranchID
Definition:
BranchID.h:14
BranchID.h
cms::CRC32Calculator
Definition:
CRC32Calculator.h:62
edm::BranchID::value_type
unsigned int value_type
Definition:
BranchID.h:16
edm::BranchID::toID
static value_type toID(std::string const &branchName)
Definition:
BranchID.cc:8
edm::operator<<
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
Definition:
HLTGlobalStatus.h:117
cms::CRC32Calculator::checksum
boost::uint32_t checksum()
Definition:
CRC32Calculator.h:68
Generated for CMSSW Reference Manual by
1.8.5