1 #ifndef CalibTracker_SiStripESProducers_SiStripNoisesGenerator_H
2 #define CalibTracker_SiStripESProducers_SiStripNoisesGenerator_H
36 inline void printLog(
const uint32_t detId,
const unsigned short strip,
const double & noise)
const
38 edm::LogInfo(
"SiStripNoisesDummyCalculator") <<
"detid: " << detId <<
" strip: " << strip <<
" noise: " << noise <<
" \t" << std::endl;
void fillParameters(std::map< int, std::vector< double > > &mapToFill, const std::string ¶meterName) const
Fills the parameters read from cfg and matching the name in the given map.
std::vector< LayerSetAndLayers > layers(const SeedingLayerSetsHits &sets)
std::pair< int, int > subDetAndLayer(const uint32_t detit) const
Given the map and the detid it returns the corresponding layer/ring.
SiStripNoisesGenerator(const edm::ParameterSet &, const edm::ActivityRegistry &)
SiStripNoises * createObject()
void fillSubDetParameter(std::map< int, std::vector< double > > &mapToFill, const std::vector< double > &v, const int subDet, const unsigned short layers) const
void getObj(SiStripNoises *&obj)
void printLog(const uint32_t detId, const unsigned short strip, const double &noise) const
~SiStripNoisesGenerator()