CMS 3D CMS Logo

BranchID.cc
Go to the documentation of this file.
3 #include <ostream>
4 
5 namespace edm {
6 
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 }
unsigned int value_type
Definition: BranchID.h:16
static value_type toID(std::string const &branchName)
Definition: BranchID.cc:8
HLT enums.
std::uint32_t checksum()
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.