Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
BranchID::toID
(
std::string
const
& branchName) {
8
cms::CRC32Calculator
crc32(branchName);
9
return
crc32.
checksum
();
10
}
11
12
std::ostream&
operator<<
(std::ostream& os,
BranchID
const
&
id
) {
13
os <<
id
.id();
14
return
os;
15
}
16
}
// namespace edm
CRC32Calculator.h
edm::BranchID
Definition:
BranchID.h:14
BranchID.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
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:7
cms::CRC32Calculator::checksum
std::uint32_t checksum()
Definition:
CRC32Calculator.h:66
edm::operator<<
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
Definition:
HLTGlobalStatus.h:106
Generated for CMSSW Reference Manual by
1.8.5