|
|
Go to the documentation of this file.
16 Tk_HM_ = std::make_unique<TkHistoMap>(tkDetMapHandle.
product(),
"SiStrip/Histo_Map",
"MeanPed_TkMap", 0.);
41 for (std::vector<uint32_t>::const_iterator detIter_ = selectedDetIds.begin(); detIter_ != selectedDetIds.end();
50 ModMEs selModME_ = _selModME_;
56 for (
int istrip = 0; istrip < nStrip; ++istrip) {
71 for (std::vector<uint32_t>::const_iterator detIter_ = selectedDetIds.begin(); detIter_ != selectedDetIds.end();
107 int subdetectorId_ = ((selDetId_ >> 25) & 0x7);
109 if (subdetectorId_ < 3 || subdetectorId_ > 6) {
110 edm::LogError(
"SiStripPedestalsDQM") <<
"[SiStripPedestalsDQM::fillMEsForLayer] WRONG INPUT : no such "
111 "subdetector type : "
112 << subdetectorId_ <<
" no folder set!" << std::endl;
123 selME_ = selMEsMapIter_->second;
143 for (
int istrip = 0; istrip < nStrip; ++istrip) {
165 float meanPedestal = 0;
167 for (
int istrip = 0; istrip < nStrip; ++istrip) {
172 meanPedestal = meanPedestal / nStrip;
177 std::vector<uint32_t> sameLayerDetIds_;
179 sameLayerDetIds_.clear();
183 unsigned int iBin = 0;
184 for (
unsigned int i = 0;
i < sameLayerDetIds_.size();
i++) {
185 if (sameLayerDetIds_[
i] == selDetId_) {
194 Tk_HM_->fill(selDetId_, meanPedestal);
std::string createHistoLayer(std::string description, std::string id_type, std::string path, std::string flag)
T const * product() const
SiStripHistoId hidmanager
MonitorElement * ProfileDistr
~SiStripPedestalsDQM() override
std::pair< ContainerIterator, ContainerIterator > Range
void getDetIds(std::vector< uint32_t > &DetIds_) const
void getActiveDetIds(const edm::EventSetup &eSetup) override
std::vector< uint32_t > activeDetIds
void getConditionObject(const edm::EventSetup &eSetup) override
U second(std::pair< T, U > const &p)
MonitorElement * SummaryOfProfileDistr
std::map< uint32_t, ModMEs > SummaryMEsMap_
SiStripDetInfoFileReader * reader
MonitorElement * SummaryDistr
void fillTkMap(const uint32_t &detid, const float &value)
std::pair< std::string, uint32_t > getLayerNameAndId(const uint32_t &detId_, const TrackerTopology *tTopo)
std::unique_ptr< TkHistoMap > Tk_HM_
void fillModMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es) override
virtual TProfile * getTProfile() const
virtual TH1 * getTH1() const
const Range getRange(const uint32_t &detID) const
std::string CondObj_fillId_
SiStripPedestalsDQM(const edm::EventSetup &eSetup, edm::RunNumber_t iRun, edm::ParameterSet const &hPSet, edm::ParameterSet const &fPSet)
Log< level::Error, false > LogError
void getModMEs(ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
const std::pair< unsigned short, double > getNumberOfApvsAndStripLength(uint32_t detId) const
edm::ESHandle< SiStripPedestals > pedestalHandle_
T getParameter(std::string const &) const
void getSummaryMEs(ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
float getPed(const uint16_t &strip, const Range &range) const
void fillSummaryMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es) override
std::vector< uint32_t > GetSameLayerDetId(const std::vector< uint32_t > &activeDetIds, uint32_t selDetId, const TrackerTopology *tTopo)
void fillMEsForLayer(uint32_t selDetId_, const TrackerTopology *tTopo) override
void fillMEsForDet(const ModMEs &selModME_, uint32_t selDetId_, const TrackerTopology *tTopo) override