50 for(std::vector<uint32_t>::const_iterator detIter_ = selectedDetIds.begin();
51 detIter_!= selectedDetIds.end();detIter_++){
67 ModMEs selModME_ = _selModME_;
68 std::vector<uint32_t> DetIds;
80 for(
int istrip=0;istrip<nStrip;++istrip){
106 for(std::vector<uint32_t>::const_iterator detIter_ = selectedDetIds.begin();
107 detIter_!= selectedDetIds.end();detIter_++){
121 int subdetectorId_ = ((selDetId_>>25)&0x7);
123 if( subdetectorId_<3 || subdetectorId_>6 ){
125 <<
"[SiStripThresholdDQM::fillMEsForLayer] WRONG INPUT : no such subdetector type : "
126 << subdetectorId_ <<
" no folder set!"
135 selME_ =selMEsMapIter_->second;
159 for(
int istrip=0;istrip<nStrip;++istrip){
193 float meanLowThreshold=0;
194 float meanHighThreshold=0;
196 for(
int istrip=0;istrip<nStrip;++istrip){
198 meanLowThreshold = meanLowThreshold +
thresholdHandle_->getData(istrip,ThresholdRange).getLth();
199 meanHighThreshold = meanHighThreshold +
thresholdHandle_->getData(istrip,ThresholdRange).getHth();
203 meanLowThreshold = meanLowThreshold/nStrip;
204 meanHighThreshold = meanHighThreshold/nStrip;
213 for(
unsigned int i=0;
i<sameLayerDetIds_.size();
i++){
214 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