3 #include <boost/cstdint.hpp>
7 #include "CLHEP/Random/RandFlat.h"
8 #include "CLHEP/Random/RandGauss.h"
13 edm::LogInfo(
"SiStripLatencyGenerator") <<
"[SiStripLatencyGenerator::SiStripLatencyGenerator]";
18 edm::LogInfo(
"SiStripLatencyGenerator") <<
"[SiStripLatencyGenerator::~SiStripLatencyGenerator]";
28 const std::map<uint32_t, SiStripDetInfoFileReader::DetInfo > detInfos =
reader.getAllData();
30 if( !detInfos.empty() ) {
32 edm::LogInfo(
"SiStripLatencyGenerator") <<
"detId = " << detInfos.rbegin()->first <<
" apv = " << 6
41 edm::LogError(
"SiStripLatencyGenerator") <<
"Error: detInfo map is empty. Cannot get the last detId." << std::endl;
T getParameter(std::string const &) const
bool put(const uint32_t detId, const uint16_t apv, const uint16_t latency, const uint16_t mode)
~SiStripLatencyGenerator()
SiStripLatencyGenerator(const edm::ParameterSet &, const edm::ActivityRegistry &)
std::string fullPath() const
SiStripLatency * createObject()