Go to the documentation of this file.
7 : fp_(iConfig.getUntrackedParameter<
edm::FileInPath>(
"file",
9 printdebug_(iConfig.getUntrackedParameter<uint32_t>(
"printDebug", 1)) {}
14 edm::LogInfo(
"SiStripNoisesBuilder") <<
"... creating dummy SiStripNoises Data for Run " <<
run <<
"\n " << std::endl;
26 float noise = CLHEP::RandGauss::shoot(MeanNoise, RmsNoise);
31 obj->setData(
noise, theSiStripVector);
34 <<
"detid " << it.first <<
" \t"
35 <<
" strip " <<
strip <<
" \t" <<
noise <<
" \t" << theSiStripVector.back() / 10 <<
" \t" << std::endl;
38 if (!
obj->put(it.first, theSiStripVector))
39 edm::LogError(
"SiStripNoisesBuilder") <<
"[SiStripNoisesBuilder::analyze] detid already exists" << std::endl;
54 edm::LogError(
"SiStripNoisesBuilder") <<
"Service is unavailable" << std::endl;
cond::Time_t beginOfTime() const
void appendSinceTime(const T *payloadObj, cond::Time_t sinceTime, const std::string &recordName)
Log< level::Info, false > LogInfo
SiStripDetInfo read(std::string filePath)
void analyze(const edm::Event &, const edm::EventSetup &) override
void createNewIOV(const T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t, const std::string &recordName)
Log< level::Error, false > LogError
cond::Time_t endOfTime() const
constexpr static char const *const kDefaultFile
SiStripNoisesBuilder(const edm::ParameterSet &iConfig)
bool isNewTagRequest(const std::string &recordName)
std::vector< uint16_t > InputVector
cond::Time_t currentTime() const
std::string fullPath() const