47 const EVP_MD* md = EVP_get_digestbyname(
"SHA1");
48 if (!EVP_DigestInit_ex(mdctx, md,
nullptr))
49 throw cms::Exception(
"L1TMuonGlobalParamsViewer::hash") <<
"SHA1 initialization error";
51 if (!EVP_DigestUpdate(mdctx,
buf, len))
52 throw cms::Exception(
"L1TMuonGlobalParamsViewer::hash") <<
"SHA1 processing error";
54 unsigned char hash[EVP_MAX_MD_SIZE];
55 unsigned int md_len = 0;
56 if (!EVP_DigestFinal_ex(mdctx,
hash, &md_len))
57 throw cms::Exception(
"L1TMuonGlobalParamsViewer::hash") <<
"SHA1 finalization error";
62 char tmp[EVP_MAX_MD_SIZE * 2 + 1];
65 for (
unsigned int i = 0;
i < md_len;
i++)
74 cout <<
" " << std::setw(24) <<
name <<
"[" << lut->
maxSize() <<
"] " << flush;
76 for (
unsigned int i = 0;
i < lut->
maxSize();
i++)
80 cout <<
" " << std::setw(24) <<
name <<
"[0]" << endl;
l1t::LUT * idxSelMemEtaLUT()
double ovlPosSingleMatchQualLUTMaxDR() const
double fONegMatchQualLUTMaxDR() const
std::string idxSelMemEtaLUTPath() const
l1t::LUT * oPhiExtrapolationLUT()
unsigned int maxSize() const
l1t::LUT * ovlNegSingleMatchQualLUT()
l1t::LUT * bONegMatchQualLUT()
unsigned sortRankLUTPtFactor() const
double fwdPosSingleMatchQualLUTMaxDR() const
std::string idxSelMemPhiLUTPath() const
void printLUT(std::vector< T > lut, std::string module="", std::string name="")
double fOPosMatchQualLUTMaxDR() const
std::string fEtaExtrapolationLUTPath() const
double ovlNegSingleMatchQualLUTMaxDR() const
l1t::LUT * bOPosMatchQualLUT()
std::string hash(void *buf, size_t len) const
double bONegMatchQualLUTMaxDR() const
std::string fwdPosSingleMatchQualLUTPath() const
std::string bONegMatchQualLUTPath() const
double bOPosMatchQualLUTMaxDR() const
std::string bEtaExtrapolationLUTPath() const
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
double fwdNegSingleMatchQualLUTMaxDR() const
std::string absIsoCheckMemLUTPath() const
std::string oPhiExtrapolationLUTPath() const
l1t::LUT * fwdPosSingleMatchQualLUT()
l1t::LUT * fOPosMatchQualLUT()
std::string fONegMatchQualLUTPath() const
int data(unsigned int address) const
unsigned sortRankLUTQualFactor() const
l1t::LUT * fONegMatchQualLUT()
std::string fwdNegSingleMatchQualLUTPath() const
std::string sortRankLUTPath() const
void analyze(const edm::Event &, const edm::EventSetup &) override
std::string ovlPosSingleMatchQualLUTPath() const
l1t::LUT * bEtaExtrapolationLUT()
#define DEFINE_FWK_MODULE(type)
double bOPosMatchQualLUTMaxDREtaFine() const
bool getData(T &iHolder) const
l1t::LUT * ovlPosSingleMatchQualLUT()
l1t::LUT * relIsoCheckMemLUT()
std::string bPhiExtrapolationLUTPath() const
void printLUT(l1t::LUT *lut, const char *name) const
l1t::LUT * fEtaExtrapolationLUT()
std::string bOPosMatchQualLUTPath() const
l1t::LUT * fPhiExtrapolationLUT()
edm::ESGetToken< L1TMuonGlobalParams, L1TMuonGlobalParamsRcd > token_
l1t::LUT * bPhiExtrapolationLUT()
l1t::LUT * fwdNegSingleMatchQualLUT()
l1t::LUT * absIsoCheckMemLUT()
std::string fPhiExtrapolationLUTPath() const
std::string ovlNegSingleMatchQualLUTPath() const
L1TMuonGlobalParamsViewer(const edm::ParameterSet &pset)
l1t::LUT * oEtaExtrapolationLUT()
double bONegMatchQualLUTMaxDREtaFine() const
std::string relIsoCheckMemLUTPath() const
std::string fOPosMatchQualLUTPath() const
std::string oEtaExtrapolationLUTPath() const
l1t::LUT * idxSelMemPhiLUT()