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){
199 meanLowThreshold = meanLowThreshold +
thresholdHandle_->getData(istrip,ThresholdRange).getLth();
200 meanHighThreshold = meanHighThreshold +
thresholdHandle_->getData(istrip,ThresholdRange).getHth();
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)
const std::pair< unsigned short, double > getNumberOfApvsAndStripLength(uint32_t detId) const
void getSummaryMEs(ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
void fillMEsForDet(const ModMEs &selModME_, uint32_t selDetId_, 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)
void fill(uint32_t &detid, float value)
std::vector< uint32_t > GetSameLayerDetId(const std::vector< uint32_t > &activeDetIds, uint32_t selDetId, const TrackerTopology *tTopo)
std::string CondObj_fillId_
MonitorElement * ProfileDistr
MonitorElement * SummaryOfProfileDistr
void fillMEsForLayer(uint32_t selDetId_, const TrackerTopology *tTopo)
void getActiveDetIds(const edm::EventSetup &eSetup)
virtual ~SiStripThresholdDQM()
std::pair< ContainerIterator, ContainerIterator > Range
void getModMEs(ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
T const * product() const
std::pair< std::string, uint32_t > getLayerNameAndId(const uint32_t &detId_, const TrackerTopology *tTopo)
MonitorElement * SummaryDistr
void fillModMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es)
std::vector< uint32_t > activeDetIds
std::string WhichThreshold
std::string createHistoLayer(std::string description, std::string id_type, std::string path, std::string flag)
void getConditionObject(const edm::EventSetup &eSetup)
SiStripHistoId hidmanager