19 if(
WhichThreshold==
"Low")
Tk_HM_L = std::make_unique<TkHistoMap>(tkDetMap,
"SiStrip/Histo_Map",
"LowThresh_TkMap",0.);
20 if(
WhichThreshold==
"High")
Tk_HM_H = std::make_unique<TkHistoMap>(tkDetMap,
"SiStrip/Histo_Map",
"HighThresh_TkMap",0.);
55 for(std::vector<uint32_t>::const_iterator detIter_ = selectedDetIds.begin();
56 detIter_!= selectedDetIds.end();detIter_++){
72 ModMEs selModME_ = _selModME_;
73 std::vector<uint32_t> DetIds;
85 for(
int istrip=0;istrip<nStrip;++istrip){
111 for(std::vector<uint32_t>::const_iterator detIter_ = selectedDetIds.begin();
112 detIter_!= selectedDetIds.end();detIter_++){
126 int subdetectorId_ = ((selDetId_>>25)&0x7);
128 if( subdetectorId_<3 || subdetectorId_>6 ){
130 <<
"[SiStripThresholdDQM::fillMEsForLayer] WRONG INPUT : no such subdetector type : " 131 << subdetectorId_ <<
" no folder set!" 140 selME_ =selMEsMapIter_->second;
164 for(
int istrip=0;istrip<nStrip;++istrip){
198 float meanLowThreshold=0;
199 float meanHighThreshold=0;
201 for(
int istrip=0;istrip<nStrip;++istrip){
208 meanLowThreshold = meanLowThreshold/nStrip;
209 meanHighThreshold = meanHighThreshold/nStrip;
218 for(
unsigned int i=0;
i<sameLayerDetIds_.size();
i++){
219 if(sameLayerDetIds_[
i]==selDetId_){iBin=
i+1;}
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