16 Tk_HM_ = std::make_unique<TkHistoMap>(tkDetMapHandle.
product(),
"SiStrip/Histo_Map",
"MeanPed_TkMap",0.);
48 for(std::vector<uint32_t>::const_iterator detIter_ = selectedDetIds.begin();
49 detIter_!= selectedDetIds.end();detIter_++){
62 ModMEs selModME_ = _selModME_;
68 for(
int istrip=0;istrip<nStrip;++istrip){
87 for(std::vector<uint32_t>::const_iterator detIter_ = selectedDetIds.begin();
88 detIter_!= selectedDetIds.end();detIter_++){
105 c1.Print(name.c_str());
114 c1.Print(name.c_str());
129 int subdetectorId_ = ((selDetId_>>25)&0x7);
131 if( subdetectorId_<3 || subdetectorId_>6 ){
133 <<
"[SiStripPedestalsDQM::fillMEsForLayer] WRONG INPUT : no such subdetector type : " 134 << subdetectorId_ <<
" no folder set!" 145 selME_ =selMEsMapIter_->second;
164 hSummaryOfProfile_name = hidmanager.
createHistoLayer(hSummaryOfProfile_description,
169 for(
int istrip=0;istrip<nStrip;++istrip){
195 float meanPedestal=0;
197 for(
int istrip=0;istrip<nStrip;++istrip){
203 meanPedestal = meanPedestal/nStrip;
209 std::vector<uint32_t> sameLayerDetIds_;
211 sameLayerDetIds_.clear();
217 for(
unsigned int i=0;
i<sameLayerDetIds_.size();
i++){
218 if(sameLayerDetIds_[
i]==selDetId_){iBin=
i+1;}
TProfile * getTProfile() const
T getParameter(std::string const &) const
edm::ESHandle< SiStripPedestals > pedestalHandle_
const std::pair< unsigned short, double > getNumberOfApvsAndStripLength(uint32_t detId) const
void fillMEsForLayer(uint32_t selDetId_, const TrackerTopology *tTopo) override
std::pair< ContainerIterator, ContainerIterator > Range
void fillSummaryMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es) override
void getSummaryMEs(ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
void fillTkMap(const uint32_t &detid, const float &value)
float getPed(const uint16_t &strip, const Range &range) const
U second(std::pair< T, U > const &p)
~SiStripPedestalsDQM() override
std::map< uint32_t, ModMEs > SummaryMEsMap_
SiStripDetInfoFileReader * reader
SiStripPedestalsDQM(const edm::EventSetup &eSetup, edm::RunNumber_t iRun, edm::ParameterSet const &hPSet, edm::ParameterSet const &fPSet)
std::vector< uint32_t > GetSameLayerDetId(const std::vector< uint32_t > &activeDetIds, uint32_t selDetId, const TrackerTopology *tTopo)
void fillMEsForDet(const ModMEs &selModME_, uint32_t selDetId_, const TrackerTopology *tTopo) override
std::string CondObj_fillId_
void getConditionObject(const edm::EventSetup &eSetup) override
MonitorElement * ProfileDistr
MonitorElement * SummaryOfProfileDistr
void fillModMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es) override
void getDetIds(std::vector< uint32_t > &DetIds_) const
void getModMEs(ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
std::pair< std::string, uint32_t > getLayerNameAndId(const uint32_t &detId_, const TrackerTopology *tTopo)
MonitorElement * SummaryDistr
void getActiveDetIds(const edm::EventSetup &eSetup) override
std::vector< uint32_t > activeDetIds
const Range getRange(const uint32_t &detID) const
std::string createHistoLayer(std::string description, std::string id_type, std::string path, std::string flag)
T const * product() const
SiStripHistoId hidmanager
std::unique_ptr< TkHistoMap > Tk_HM_