21 Tk_HM_L = std::make_unique<TkHistoMap>(tkDetMap,
"SiStrip/Histo_Map",
"LowThresh_TkMap", 0.);
23 Tk_HM_H = std::make_unique<TkHistoMap>(tkDetMap,
"SiStrip/Histo_Map",
"HighThresh_TkMap", 0.);
51 for (std::vector<uint32_t>::const_iterator detIter_ = selectedDetIds.begin(); detIter_ != selectedDetIds.end();
62 ModMEs selModME_ = _selModME_;
63 std::vector<uint32_t> DetIds;
71 for (
int istrip = 0; istrip < nStrip; ++istrip) {
91 for (std::vector<uint32_t>::const_iterator detIter_ = selectedDetIds.begin(); detIter_ != selectedDetIds.end();
103 int subdetectorId_ = ((selDetId_ >> 25) & 0x7);
105 if (subdetectorId_ < 3 || subdetectorId_ > 6) {
106 edm::LogError(
"SiStripThresholdDQM") <<
"[SiStripThresholdDQM::fillMEsForLayer] WRONG INPUT : no such " 107 "subdetector type : " 108 << subdetectorId_ <<
" no folder set!" << std::endl;
116 selME_ = selMEsMapIter_->second;
137 for (
int istrip = 0; istrip < nStrip; ++istrip) {
164 float meanLowThreshold = 0;
165 float meanHighThreshold = 0;
167 for (
int istrip = 0; istrip < nStrip; ++istrip) {
172 meanLowThreshold = meanLowThreshold / nStrip;
173 meanHighThreshold = meanHighThreshold / nStrip;
180 unsigned int iBin = 0;
181 for (
unsigned int i = 0;
i < sameLayerDetIds_.size();
i++) {
182 if (sameLayerDetIds_[
i] == selDetId_) {
190 Tk_HM_L->fill(selDetId_, meanLowThreshold);
195 Tk_HM_H->fill(selDetId_, meanHighThreshold);
std::unique_ptr< TkHistoMap > Tk_HM_L
T getParameter(std::string const &) const
void getConditionObject(const edm::EventSetup &eSetup) override
const std::pair< unsigned short, double > getNumberOfApvsAndStripLength(uint32_t detId) const
std::unique_ptr< TkHistoMap > Tk_HM_H
void getSummaryMEs(ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
edm::ESHandle< SiStripThreshold > thresholdHandle_
void fillTkMap(const uint32_t &detid, const float &value)
U second(std::pair< T, U > const &p)
std::map< uint32_t, ModMEs > SummaryMEsMap_
SiStripDetInfoFileReader * reader
void fillSummaryMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es) override
void getActiveDetIds(const edm::EventSetup &eSetup) override
std::vector< uint32_t > GetSameLayerDetId(const std::vector< uint32_t > &activeDetIds, uint32_t selDetId, const TrackerTopology *tTopo)
~SiStripThresholdDQM() override
std::string CondObj_fillId_
SiStripThreshold::Data getData(const uint16_t &strip, const Range &range) const
MonitorElement * ProfileDistr
MonitorElement * SummaryOfProfileDistr
void fillModMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es) override
std::pair< ContainerIterator, ContainerIterator > Range
void getModMEs(ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
void getDetIds(std::vector< uint32_t > &DetIds_) const
std::pair< std::string, uint32_t > getLayerNameAndId(const uint32_t &detId_, const TrackerTopology *tTopo)
MonitorElement * SummaryDistr
std::vector< uint32_t > activeDetIds
void fillMEsForLayer(uint32_t selDetId_, const TrackerTopology *tTopo) override
std::string WhichThreshold
SiStripThresholdDQM(const edm::EventSetup &eSetup, edm::RunNumber_t iRun, edm::ParameterSet const &hPSet, edm::ParameterSet const &fPSet)
std::string createHistoLayer(std::string description, std::string id_type, std::string path, std::string flag)
const Range getRange(const uint32_t &detID) const
T const * product() const
void fillMEsForDet(const ModMEs &selModME_, uint32_t selDetId_, const TrackerTopology *tTopo) override
SiStripHistoId hidmanager