Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:05:03

0001 #include "DataFormats/Provenance/interface/BranchID.h"
0002 #include "FWCore/Utilities/interface/CRC32Calculator.h"
0003 #include <ostream>
0004 
0005 namespace edm {
0006 
0007   BranchID::value_type BranchID::toID(std::string const& branchName) {
0008     cms::CRC32Calculator crc32(branchName);
0009     return crc32.checksum();
0010   }
0011 
0012   std::ostream& operator<<(std::ostream& os, BranchID const& id) {
0013     os << id.id();
0014     return os;
0015   }
0016 }  // namespace edm