51 for(std::vector<uint32_t>::const_iterator detIter_ = selectedDetIds.begin();
52 detIter_!= selectedDetIds.end();detIter_++){
68 ModMEs selModME_ = _selModME_;
69 std::vector<uint32_t> DetIds;
81 for(
int istrip=0;istrip<nStrip;++istrip){
107 for(std::vector<uint32_t>::const_iterator detIter_ = selectedDetIds.begin();
108 detIter_!= selectedDetIds.end();detIter_++){
122 int subdetectorId_ = ((selDetId_>>25)&0x7);
124 if( subdetectorId_<3 || subdetectorId_>6 ){
126 <<
"[SiStripThresholdDQM::fillMEsForLayer] WRONG INPUT : no such subdetector type : " 127 << subdetectorId_ <<
" no folder set!" 136 selME_ =selMEsMapIter_->second;
160 for(
int istrip=0;istrip<nStrip;++istrip){
194 float meanLowThreshold=0;
195 float meanHighThreshold=0;
197 for(
int istrip=0;istrip<nStrip;++istrip){
204 meanLowThreshold = meanLowThreshold/nStrip;
205 meanHighThreshold = meanHighThreshold/nStrip;
214 for(
unsigned int i=0;
i<sameLayerDetIds_.size();
i++){
215 if(sameLayerDetIds_[
i]==selDetId_){iBin=
i+1;}
T getParameter(std::string const &) const
SiStripThresholdDQM(const edm::EventSetup &eSetup, edm::ParameterSet const &hPSet, edm::ParameterSet const &fPSet)
void getConditionObject(const edm::EventSetup &eSetup) override
const std::pair< unsigned short, double > getNumberOfApvsAndStripLength(uint32_t detId) const
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 fill(uint32_t &detid, float value)
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
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