CMS 3D CMS Logo

List of all members | Public Member Functions
SiStripBackPlaneCorrectionDQM Class Reference

#include <SiStripBackPlaneCorrectionDQM.h>

Inheritance diagram for SiStripBackPlaneCorrectionDQM:
SiStripBaseCondObjDQMGet< SiStripBackPlaneCorrection, SiStripBackPlaneCorrectionRcd > SiStripBaseCondObjDQM

Public Member Functions

void fillMEsForDet (const ModMEs &selModME_, uint32_t selDetId_) override
 
void fillMEsForLayer (uint32_t selDetId_) override
 
void fillModMEs (const std::vector< uint32_t > &selectedDetIds) override
 
void fillSummaryMEs (const std::vector< uint32_t > &selectedDetIds) override
 
void getActiveDetIds (const edm::EventSetup &eSetup) override
 
 SiStripBackPlaneCorrectionDQM (edm::ESGetToken< SiStripBackPlaneCorrection, SiStripBackPlaneCorrectionRcd > token, edm::RunNumber_t iRun, edm::ParameterSet const &hPSet, edm::ParameterSet const &fPSet, const TrackerTopology *tTopo, const TkDetMap *tkDetMap)
 
 ~SiStripBackPlaneCorrectionDQM () override
 
- Public Member Functions inherited from SiStripBaseCondObjDQMGet< SiStripBackPlaneCorrection, SiStripBackPlaneCorrectionRcd >
bool checkChanged (const edm::EventSetup &eSetup) override
 
void getConditionObject (const edm::EventSetup &eSetup) override
 
 SiStripBaseCondObjDQMGet (tokentype token, edm::RunNumber_t iRun, edm::ParameterSet const &hPSet, edm::ParameterSet const &fPSet, const TrackerTopology *tTopo)
 
 ~SiStripBaseCondObjDQMGet () override
 
- Public Member Functions inherited from SiStripBaseCondObjDQM
void analysis (const edm::EventSetup &eSetup_)
 
void analysisOnDemand (const edm::EventSetup &eSetup_, uint32_t detIdOnDemand)
 
void analysisOnDemand (const edm::EventSetup &eSetup_, const std::vector< uint32_t > &detIdsOnDemand)
 
void analysisOnDemand (const edm::EventSetup &eSetup_, std::string requestedSubDetector, uint32_t requestedSide, uint32_t requestedLayer)
 
virtual void end ()
 
void selectModules (std::vector< uint32_t > &detIds_)
 
 SiStripBaseCondObjDQM (edm::RunNumber_t iRun, edm::ParameterSet const &hPSet, edm::ParameterSet const &fPSet, const TrackerTopology *tTopo)
 
virtual ~SiStripBaseCondObjDQM ()
 

Additional Inherited Members

- Public Types inherited from SiStripBaseCondObjDQMGet< SiStripBackPlaneCorrection, SiStripBackPlaneCorrectionRcd >
using tokentype = typename edm::ESGetToken< SiStripBackPlaneCorrection, SiStripBackPlaneCorrectionRcd >
 
- Public Types inherited from SiStripBaseCondObjDQM
typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 
- Protected Member Functions inherited from SiStripBaseCondObjDQM
void fillTkMap (const uint32_t &detid, const float &value)
 
std::pair< std::string, uint32_t > getLayerNameAndId (const uint32_t &detId_)
 
void getModMEs (ModMEs &CondObj_ME, const uint32_t &detId_)
 
std::vector< uint32_t > GetSameLayerDetId (const std::vector< uint32_t > &activeDetIds, uint32_t selDetId)
 
std::pair< std::string, uint32_t > getStringNameAndId (const uint32_t &detId_)
 
void getSummaryMEs (ModMEs &CondObj_ME, const uint32_t &detId_)
 
- Protected Attributes inherited from SiStripBaseCondObjDQMGet< SiStripBackPlaneCorrection, SiStripBackPlaneCorrectionRcd >
const SiStripBackPlaneCorrectioncondObj_
 
- Protected Attributes inherited from SiStripBaseCondObjDQM
std::vector< uint32_t > activeDetIds
 
std::vector< uint32_t > all_DetIds
 
std::string CondObj_fillId_
 
std::string CondObj_name_
 
SiStripDetInfo detInfo_
 
edm::ParameterSet fPSet_
 
bool GrandSummary_On_
 
bool HistoMaps_On_
 
edm::ParameterSet hPSet_
 
double maxValue
 
double minValue
 
bool Mod_On_
 
std::map< uint32_t, ModMEsModMEsMap_
 
std::map< uint32_t, ModMEsSummaryMEsMap_
 
bool SummaryOnLayerLevel_On_
 
bool SummaryOnStringLevel_On_
 
std::unique_ptr< TkHistoMapTk_HM_
 
std::unique_ptr< TkHistoMapTk_HM_H
 
std::unique_ptr< TkHistoMapTk_HM_L
 
TrackerMaptkMap
 
std::vector< int > tkMapScaler
 
const TrackerTopologytTopo_
 

Detailed Description

Definition at line 9 of file SiStripBackPlaneCorrectionDQM.h.

Constructor & Destructor Documentation

◆ SiStripBackPlaneCorrectionDQM()

SiStripBackPlaneCorrectionDQM::SiStripBackPlaneCorrectionDQM ( edm::ESGetToken< SiStripBackPlaneCorrection, SiStripBackPlaneCorrectionRcd token,
edm::RunNumber_t  iRun,
edm::ParameterSet const &  hPSet,
edm::ParameterSet const &  fPSet,
const TrackerTopology tTopo,
const TkDetMap tkDetMap 
)

Definition at line 6 of file SiStripBackPlaneCorrectionDQM.cc.

References unpackBuffers-CaloStage2::token.

14  token, iRun, hPSet, fPSet, tTopo} {
15  if (HistoMaps_On_) {
16  Tk_HM_ = std::make_unique<TkHistoMap>(tkDetMap, "SiStrip/Histo_Map", "BP_TkMap", 0.);
17  }
18 }
std::unique_ptr< TkHistoMap > Tk_HM_

◆ ~SiStripBackPlaneCorrectionDQM()

SiStripBackPlaneCorrectionDQM::~SiStripBackPlaneCorrectionDQM ( )
override

Definition at line 22 of file SiStripBackPlaneCorrectionDQM.cc.

22 {}

Member Function Documentation

◆ fillMEsForDet()

void SiStripBackPlaneCorrectionDQM::fillMEsForDet ( const ModMEs selModME_,
uint32_t  selDetId_ 
)
inlineoverridevirtual

Implements SiStripBaseCondObjDQM.

Definition at line 24 of file SiStripBackPlaneCorrectionDQM.h.

24 {};

◆ fillMEsForLayer()

void SiStripBackPlaneCorrectionDQM::fillMEsForLayer ( uint32_t  selDetId_)
overridevirtual

Implements SiStripBaseCondObjDQM.

Definition at line 118 of file SiStripBackPlaneCorrectionDQM.cc.

References SiStripBaseCondObjDQM::activeDetIds, SiStripBaseCondObjDQMGet< SiStripBackPlaneCorrection, SiStripBackPlaneCorrectionRcd >::condObj_, gather_cfg::cout, SiStripHistoId::createHistoLayer(), dqm::impl::MonitorElement::Fill(), SiStripBaseCondObjDQM::fillTkMap(), dqmdumpme::first, SiStripBaseCondObjDQM::fPSet_, SiStripBackPlaneCorrection::getBackPlaneCorrection(), SiStripBaseCondObjDQM::getLayerNameAndId(), edm::ParameterSet::getParameter(), SiStripBaseCondObjDQM::GetSameLayerDetId(), SiStripBaseCondObjDQM::getStringNameAndId(), SiStripBaseCondObjDQM::getSummaryMEs(), SiStripSubStructure::getTECDetectors(), SiStripSubStructure::getTIBDetectors(), SiStripSubStructure::getTIDDetectors(), SiStripSubStructure::getTOBDetectors(), SiStripBaseCondObjDQM::hidmanager, SiStripBaseCondObjDQM::HistoMaps_On_, SiStripBaseCondObjDQM::hPSet_, mps_fire::i, edm::second(), AlCaHLTBitMon_QueryRunRegistry::string, SiStripBaseCondObjDQM::SummaryMEsMap_, SiStripBaseCondObjDQM::ModMEs::SummaryOfCumulDistr, SiStripBaseCondObjDQM::ModMEs::SummaryOfProfileDistr, SiStripBaseCondObjDQM::SummaryOnStringLevel_On_, TrackerTopology::tibIsExternalString(), TrackerTopology::tibIsInternalString(), TrackerTopology::tibLayer(), TrackerTopology::tibString(), SiStripBaseCondObjDQM::Tk_HM_, TrackerTopology::tobLayer(), TrackerTopology::tobRod(), and SiStripBaseCondObjDQM::tTopo_.

Referenced by fillSummaryMEs().

119  {
121 
122  std::string hSummaryOfProfile_description;
123  hSummaryOfProfile_description = hPSet_.getParameter<std::string>("SummaryOfProfile_description");
124 
125  std::string hSummary_name;
126 
127  int subDetId_ = ((selDetId_ >> 25) & 0x7);
128 
129  if (subDetId_ < 3 || subDetId_ > 6) {
130  edm::LogError("SiStripBackPlaneCorrectionDQM")
131  << "[SiStripBackPlaneCorrectionDQM::fillMEsForLayer] WRONG INPUT : no "
132  "such subdetector type : "
133  << subDetId_ << " no folder set!" << std::endl;
134  return;
135  }
136 
137  uint32_t selSubDetId_ = ((selDetId_ >> 25) & 0x7);
138 
139  std::vector<uint32_t> sameLayerDetIds_;
140  sameLayerDetIds_.clear();
141 
142  if (SummaryOnStringLevel_On_) { // FILLING FOR STRING LEVEL
143 
144  hSummary_name =
145  hidmanager.createHistoLayer(hSummaryOfProfile_description, "layer", getStringNameAndId(selDetId_).first, "");
146  std::map<uint32_t, ModMEs>::iterator selMEsMapIter_ = SummaryMEsMap_.find(getStringNameAndId(selDetId_).second);
147 
148  ModMEs selME_;
149  if (selMEsMapIter_ != SummaryMEsMap_.end())
150  selME_ = selMEsMapIter_->second;
151 
152  getSummaryMEs(selME_, selDetId_);
153 
154  // -----
155  sameLayerDetIds_.clear();
156 
157  if (selSubDetId_ == 3) { // TIB
158  if (tTopo_->tibIsInternalString(selDetId_)) {
160  activeDetIds, sameLayerDetIds_, tTopo_, tTopo_->tibLayer(selDetId_), 0, 1, tTopo_->tibString(selDetId_));
161  }
162  if (tTopo_->tibIsExternalString(selDetId_)) {
164  activeDetIds, sameLayerDetIds_, tTopo_, tTopo_->tibLayer(selDetId_), 0, 2, tTopo_->tibString(selDetId_));
165  }
166  } else if (selSubDetId_ == 4) { // TID
167  SiStripSubStructure::getTIDDetectors(activeDetIds, sameLayerDetIds_, tTopo_, 0, 0, 0, 0);
168  } else if (selSubDetId_ == 5) { // TOB
170  activeDetIds, sameLayerDetIds_, tTopo_, tTopo_->tobLayer(selDetId_), 0, tTopo_->tobRod(selDetId_));
171  } else if (selSubDetId_ == 6) { // TEC
172  SiStripSubStructure::getTECDetectors(activeDetIds, sameLayerDetIds_, tTopo_, 0, 0, 0, 0, 0, 0);
173  }
174 
175  // -----
176 
177  for (unsigned int i = 0; i < sameLayerDetIds_.size(); i++) {
178  selME_.SummaryOfProfileDistr->Fill(i + 1, condObj_->getBackPlaneCorrection(sameLayerDetIds_[i]));
179 
180  // Fill the Histo_TkMap+TkMap with the BP:
181  if (HistoMaps_On_)
182  Tk_HM_->fill(sameLayerDetIds_[i], condObj_->getBackPlaneCorrection(sameLayerDetIds_[i]));
183 
184  std::cout << sameLayerDetIds_[i] << "\t" << condObj_->getBackPlaneCorrection(sameLayerDetIds_[i]) << std::endl;
185 
186  if (fPSet_.getParameter<bool>("TkMap_On") || hPSet_.getParameter<bool>("TkMap_On")) {
187  fillTkMap(sameLayerDetIds_[i], condObj_->getBackPlaneCorrection(sameLayerDetIds_[i]));
188  }
189  }
190 
191  std::string hSummaryOfCumul_description;
192  hSummaryOfCumul_description = hPSet_.getParameter<std::string>("SummaryOfCumul_description");
193 
194  std::string hSummaryOfCumul_name;
195 
196  if (subDetId_ < 3 || subDetId_ > 6) {
197  edm::LogError("SiStripBackPlaneCorrectionDQM")
198  << "[SiStripBackPlaneCorrectionDQM::fillMEsForLayer] WRONG INPUT : "
199  "no such subdetector type : "
200  << subDetId_ << " no folder set!" << std::endl;
201  return;
202  }
203 
204  hSummaryOfCumul_name =
205  hidmanager.createHistoLayer(hSummaryOfCumul_description, "layer", getStringNameAndId(selDetId_).first, "");
206 
207  for (unsigned int i = 0; i < sameLayerDetIds_.size(); i++) {
208  selME_.SummaryOfCumulDistr->Fill(condObj_->getBackPlaneCorrection(sameLayerDetIds_[i]));
209  }
210  } // FILLING FOR STRING LEVEL
211 
212  else { // FILLING FOR LAYER LEVEL
213 
214  std::map<uint32_t, ModMEs>::iterator selMEsMapIter_ = SummaryMEsMap_.find(getLayerNameAndId(selDetId_).second);
215 
216  ModMEs selME_;
217  if (selMEsMapIter_ != SummaryMEsMap_.end())
218  selME_ = selMEsMapIter_->second;
219 
220  getSummaryMEs(selME_, selDetId_);
221 
222  if (hPSet_.getParameter<bool>("FillSummaryProfileAtLayerLevel")) {
223  hSummary_name =
224  hidmanager.createHistoLayer(hSummaryOfProfile_description, "layer", getLayerNameAndId(selDetId_).first, "");
225 
226  // -----
227  sameLayerDetIds_.clear();
228 
229  sameLayerDetIds_ = GetSameLayerDetId(activeDetIds, selDetId_);
230 
231  for (unsigned int i = 0; i < sameLayerDetIds_.size(); i++) {
232  selME_.SummaryOfProfileDistr->Fill(i + 1, condObj_->getBackPlaneCorrection(sameLayerDetIds_[i]));
233 
234  // Fill the Histo_TkMap with BP:
235  if (HistoMaps_On_)
236  Tk_HM_->fill(sameLayerDetIds_[i], condObj_->getBackPlaneCorrection(sameLayerDetIds_[i]));
237 
238  if (fPSet_.getParameter<bool>("TkMap_On") || hPSet_.getParameter<bool>("TkMap_On")) {
239  fillTkMap(sameLayerDetIds_[i], condObj_->getBackPlaneCorrection(sameLayerDetIds_[i]));
240  }
241  }
242  } // if Fill ...
243 
244  if (hPSet_.getParameter<bool>("FillCumulativeSummaryAtLayerLevel")) {
245  std::string hSummaryOfCumul_description;
246  hSummaryOfCumul_description = hPSet_.getParameter<std::string>("SummaryOfCumul_description");
247 
248  std::string hSummaryOfCumul_name;
249 
250  if (subDetId_ < 3 || subDetId_ > 6) {
251  edm::LogError("SiStripBackPlaneCorrectionDQM")
252  << "[SiStripBackPlaneCorrectionDQM::fillMEsForLayer] WRONG INPUT : "
253  "no such subdetector type : "
254  << subDetId_ << " no folder set!" << std::endl;
255  return;
256  }
257 
258  hSummaryOfCumul_name =
259  hidmanager.createHistoLayer(hSummaryOfCumul_description, "layer", getLayerNameAndId(selDetId_).first, "");
260 
261  for (unsigned int i = 0; i < sameLayerDetIds_.size(); i++) {
262  selME_.SummaryOfCumulDistr->Fill(condObj_->getBackPlaneCorrection(sameLayerDetIds_[i]));
263  }
264  } // if Fill ...
265  } // FILLING FOR LAYER LEVEL
266 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
unsigned int tobLayer(const DetId &id) const
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)
const TrackerTopology * tTopo_
bool tibIsExternalString(const DetId &id) const
unsigned int tibString(const DetId &id) const
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)
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)
Log< level::Error, false > LogError
void fillTkMap(const uint32_t &detid, const float &value)
U second(std::pair< T, U > const &p)
std::map< uint32_t, ModMEs > SummaryMEsMap_
float getBackPlaneCorrection(const uint32_t &) const
std::pair< std::string, uint32_t > getStringNameAndId(const uint32_t &detId_)
bool tibIsInternalString(const DetId &id) const
unsigned int tobRod(const DetId &id) const
std::pair< std::string, uint32_t > getLayerNameAndId(const uint32_t &detId_)
std::vector< uint32_t > GetSameLayerDetId(const std::vector< uint32_t > &activeDetIds, uint32_t selDetId)
std::vector< uint32_t > activeDetIds
unsigned int tibLayer(const DetId &id) const
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)
void getSummaryMEs(ModMEs &CondObj_ME, const uint32_t &detId_)
std::unique_ptr< TkHistoMap > Tk_HM_

◆ fillModMEs()

void SiStripBackPlaneCorrectionDQM::fillModMEs ( const std::vector< uint32_t > &  selectedDetIds)
inlineoverridevirtual

Reimplemented from SiStripBaseCondObjDQM.

Definition at line 23 of file SiStripBackPlaneCorrectionDQM.h.

23 {};

◆ fillSummaryMEs()

void SiStripBackPlaneCorrectionDQM::fillSummaryMEs ( const std::vector< uint32_t > &  selectedDetIds)
overridevirtual

Reimplemented from SiStripBaseCondObjDQM.

Definition at line 39 of file SiStripBackPlaneCorrectionDQM.cc.

References alignmentValidation::c1, fillMEsForLayer(), SiStripBaseCondObjDQM::fPSet_, SiStripBaseCondObjDQM::getLayerNameAndId(), edm::ParameterSet::getParameter(), SiStripBaseCondObjDQM::getStringNameAndId(), dqm::legacy::MonitorElement::getTH1(), dqm::impl::MonitorElement::getTitle(), dqm::legacy::MonitorElement::getTProfile(), SiStripBaseCondObjDQM::hPSet_, mps_fire::i, Skims_PA_cff::name, hfnoseParametersInitialization_cfi::name2, AlCaHLTBitMon_QueryRunRegistry::string, SiStripBaseCondObjDQM::SummaryMEsMap_, SiStripBaseCondObjDQM::ModMEs::SummaryOfCumulDistr, SiStripBaseCondObjDQM::ModMEs::SummaryOfProfileDistr, SiStripBaseCondObjDQM::SummaryOnLayerLevel_On_, and SiStripBaseCondObjDQM::SummaryOnStringLevel_On_.

39  {
40  // -----
41  // BP on layer-level : fill at once all detIds belonging to same layer when
42  // encountering first detID in the layer
43 
44  bool fillNext = true;
45  for (unsigned int i = 0; i < selectedDetIds.size(); i++) {
46  int subDetId_ = ((selectedDetIds[i] >> 25) & 0x7);
47  if (subDetId_ < 3 || subDetId_ > 6) {
48  edm::LogError("SiStripBackPlaneCorrection")
49  << "[SiStripBackPlaneCorrection::fillSummaryMEs] WRONG INPUT : no "
50  "such subdetector type : "
51  << subDetId_ << " and detId " << selectedDetIds[i] << " therefore no filling!" << std::endl;
52  } else if (SummaryOnLayerLevel_On_) {
53  if (fillNext) {
54  fillMEsForLayer(/*SummaryMEsMap_,*/ selectedDetIds[i]);
55  }
56  if (getLayerNameAndId(selectedDetIds[i + 1]) == getLayerNameAndId(selectedDetIds[i])) {
57  fillNext = false;
58  } else {
59  fillNext = true;
60  }
61  } else if (SummaryOnStringLevel_On_) {
62  if (fillNext) {
63  fillMEsForLayer(/*SummaryMEsMap_,*/ selectedDetIds[i]);
64  }
65  if (getStringNameAndId(selectedDetIds[i + 1]) == getStringNameAndId(selectedDetIds[i])) {
66  fillNext = false;
67  } else {
68  fillNext = true;
69  }
70  }
71  }
72 
73  for (std::map<uint32_t, ModMEs>::iterator iter = SummaryMEsMap_.begin(); iter != SummaryMEsMap_.end(); iter++) {
74  ModMEs selME;
75  selME = iter->second;
76 
78  if (fPSet_.getParameter<bool>("OutputSummaryProfileAtLayerLevelAsImage")) {
79  TCanvas c1("c1");
80  selME.SummaryOfProfileDistr->getTProfile()->Draw();
81  std::string name(selME.SummaryOfProfileDistr->getTProfile()->GetTitle());
82  name += ".png";
83  c1.Print(name.c_str());
84  }
85 
86  if (fPSet_.getParameter<bool>("OutputCumulativeSummaryAtLayerLevelAsImage")) {
87  TCanvas c2("c2");
88  selME.SummaryOfCumulDistr->getTH1()->Draw();
89  std::string name2(selME.SummaryOfCumulDistr->getTitle());
90  name2 += ".png";
91  c2.Print(name2.c_str());
92  }
93 
94  } else {
95  if (hPSet_.getParameter<bool>("FillSummaryProfileAtLayerLevel") &&
96  fPSet_.getParameter<bool>("OutputSummaryProfileAtLayerLevelAsImage")) {
97  TCanvas c1("c1");
98  selME.SummaryOfProfileDistr->getTProfile()->Draw();
99  std::string name(selME.SummaryOfProfileDistr->getTProfile()->GetTitle());
100  name += ".png";
101  c1.Print(name.c_str());
102  }
103 
104  if (hPSet_.getParameter<bool>("FillCumulativeSummaryAtLayerLevel") &&
105  fPSet_.getParameter<bool>("OutputCumulativeSummaryAtLayerLevelAsImage")) {
106  TCanvas c1("c1");
107  selME.SummaryOfCumulDistr->getTH1()->Draw();
108  std::string name(selME.SummaryOfCumulDistr->getTitle());
109  name += ".png";
110  c1.Print(name.c_str());
111  }
112  }
113  }
114 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
Log< level::Error, false > LogError
std::map< uint32_t, ModMEs > SummaryMEsMap_
void fillMEsForLayer(uint32_t selDetId_) override
std::pair< std::string, uint32_t > getStringNameAndId(const uint32_t &detId_)
std::pair< std::string, uint32_t > getLayerNameAndId(const uint32_t &detId_)

◆ getActiveDetIds()

void SiStripBackPlaneCorrectionDQM::getActiveDetIds ( const edm::EventSetup eSetup)
overridevirtual

Implements SiStripBaseCondObjDQM.

Definition at line 26 of file SiStripBackPlaneCorrectionDQM.cc.

References SiStripBaseCondObjDQM::activeDetIds, SiStripBaseCondObjDQMGet< SiStripBackPlaneCorrection, SiStripBackPlaneCorrectionRcd >::condObj_, SiStripBackPlaneCorrection::getBackPlaneCorrections(), and SiStripBaseCondObjDQMGet< SiStripBackPlaneCorrection, SiStripBackPlaneCorrectionRcd >::getConditionObject().

26  {
27  getConditionObject(eSetup);
28 
29  std::map<uint32_t, float>::const_iterator BPMapIter_;
30  std::map<uint32_t, float> BPMap_ = condObj_->getBackPlaneCorrections();
31 
32  for (BPMapIter_ = BPMap_.begin(); BPMapIter_ != BPMap_.end(); BPMapIter_++) {
33  activeDetIds.push_back((*BPMapIter_).first);
34  }
35 }
const std::map< unsigned int, float > & getBackPlaneCorrections() const
std::vector< uint32_t > activeDetIds