17 Tk_HM_ = std::make_unique<TkHistoMap>(tkDetMapHandle.
product(),
"SiStrip/Histo_Map",
"BP_TkMap", 0.);
30 std::map<uint32_t, float>::const_iterator BPMapIter_;
33 for (BPMapIter_ = BPMap_.begin(); BPMapIter_ != BPMap_.end(); BPMapIter_++) {
52 for (
unsigned int i = 0;
i < selectedDetIds.size();
i++) {
53 int subDetId_ = ((selectedDetIds[
i] >> 25) & 0x7);
54 if (subDetId_ < 3 || subDetId_ > 6) {
56 <<
"[SiStripBackPlaneCorrection::fillSummaryMEs] WRONG INPUT : no " 57 "such subdetector type : " 58 << subDetId_ <<
" and detId " << selectedDetIds[
i] <<
" therefore no filling!" << std::endl;
90 c1.Print(name.c_str());
98 c2.Print(name2.c_str());
108 c1.Print(name.c_str());
117 c1.Print(name.c_str());
134 int subDetId_ = ((selDetId_ >> 25) & 0x7);
136 if (subDetId_ < 3 || subDetId_ > 6) {
138 <<
"[SiStripBackPlaneCorrectionDQM::fillMEsForLayer] WRONG INPUT : no " 139 "such subdetector type : " 140 << subDetId_ <<
" no folder set!" << std::endl;
144 uint32_t selSubDetId_ = ((selDetId_ >> 25) & 0x7);
146 std::vector<uint32_t> sameLayerDetIds_;
147 sameLayerDetIds_.clear();
153 std::map<uint32_t, ModMEs>::iterator selMEsMapIter_ =
158 selME_ = selMEsMapIter_->second;
163 sameLayerDetIds_.clear();
165 if (selSubDetId_ == 3) {
174 }
else if (selSubDetId_ == 4) {
176 }
else if (selSubDetId_ == 5) {
179 }
else if (selSubDetId_ == 6) {
185 for (
unsigned int i = 0;
i < sameLayerDetIds_.size();
i++) {
205 if (subDetId_ < 3 || subDetId_ > 6) {
207 <<
"[SiStripBackPlaneCorrectionDQM::fillMEsForLayer] WRONG INPUT : " 208 "no such subdetector type : " 209 << subDetId_ <<
" no folder set!" << std::endl;
214 hSummaryOfCumul_description,
"layer",
getStringNameAndId(selDetId_, tTopo).first,
"");
216 for (
unsigned int i = 0;
i < sameLayerDetIds_.size();
i++) {
223 std::map<uint32_t, ModMEs>::iterator selMEsMapIter_ =
228 selME_ = selMEsMapIter_->second;
237 sameLayerDetIds_.clear();
241 for (
unsigned int i = 0;
i < sameLayerDetIds_.size();
i++) {
260 if (subDetId_ < 3 || subDetId_ > 6) {
262 <<
"[SiStripBackPlaneCorrectionDQM::fillMEsForLayer] WRONG INPUT : " 263 "no such subdetector type : " 264 << subDetId_ <<
" no folder set!" << std::endl;
271 for (
unsigned int i = 0;
i < sameLayerDetIds_.size();
i++) {
SiStripBackPlaneCorrectionDQM(const edm::EventSetup &eSetup, edm::RunNumber_t iRun, edm::ParameterSet const &hPSet, edm::ParameterSet const &fPSet)
TProfile * getTProfile() const
T getParameter(std::string const &) const
edm::ESHandle< SiStripBackPlaneCorrection > bpcorrectionHandle_
void getTIBDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tibDetRawIds, const TrackerTopology *trackerTopology, uint32_t layer=0, uint32_t bkw_frw=0, uint32_t int_ext=0, uint32_t string=0)
void fillSummaryMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es) override
unsigned int tibLayer(const DetId &id) const
unsigned int tibString(const DetId &id) const
bool SummaryOnLayerLevel_On_
void getTIDDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tidDetRawIds, const TrackerTopology *trackerTopology, uint32_t side=0, uint32_t wheel=0, uint32_t ring=0, uint32_t ster=0)
bool SummaryOnStringLevel_On_
void getActiveDetIds(const edm::EventSetup &eSetup) override
void getTECDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tecDetRawIds, const TrackerTopology *trackerTopology, uint32_t side=0, uint32_t wheel=0, uint32_t petal_bkw_frw=0, uint32_t petal=0, uint32_t ring=0, uint32_t ster=0)
void getSummaryMEs(ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
void fillMEsForLayer(uint32_t selDetId_, const TrackerTopology *tTopo) override
void fillTkMap(const uint32_t &detid, const float &value)
U second(std::pair< T, U > const &p)
const std::map< unsigned int, float > & getBackPlaneCorrections() const
std::map< uint32_t, ModMEs > SummaryMEsMap_
void getConditionObject(const edm::EventSetup &eSetup) override
bool tibIsExternalString(const DetId &id) const
std::vector< uint32_t > GetSameLayerDetId(const std::vector< uint32_t > &activeDetIds, uint32_t selDetId, const TrackerTopology *tTopo)
float getBackPlaneCorrection(const uint32_t &) const
std::pair< std::string, uint32_t > getStringNameAndId(const uint32_t &detId_, const TrackerTopology *tTopo)
MonitorElement * SummaryOfProfileDistr
~SiStripBackPlaneCorrectionDQM() override
std::pair< std::string, uint32_t > getLayerNameAndId(const uint32_t &detId_, const TrackerTopology *tTopo)
std::vector< uint32_t > activeDetIds
void getTOBDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tobDetRawIds, const TrackerTopology *trackerTopology, uint32_t layer=0, uint32_t bkw_frw=0, uint32_t rod=0)
std::string createHistoLayer(std::string description, std::string id_type, std::string path, std::string flag)
unsigned int tobRod(const DetId &id) const
MonitorElement * SummaryOfCumulDistr
bool tibIsInternalString(const DetId &id) const
T const * product() const
SiStripHistoId hidmanager
std::unique_ptr< TkHistoMap > Tk_HM_
unsigned int tobLayer(const DetId &id) const