89 : detidsels_(), tkhisto_(nullptr), tkmap_(), tkDetMapToken_(
esConsumes()), geomDetToken_(
esConsumes()) {
92 std::vector<edm::ParameterSet> selconfigs = iConfig.
getParameter<std::vector<edm::ParameterSet> >(
"selections");
94 for (std::vector<edm::ParameterSet>::const_iterator selconfig = selconfigs.begin(); selconfig != selconfigs.end();
124 for (std::vector<uint32_t>::const_iterator detid = detids.begin(); detid != detids.end(); ++detid) {
127 for (std::vector<DetIdSelector>::const_iterator detidsel =
detidsels_.begin(); detidsel !=
detidsels_.end();
129 if (detidsel->isSelected(*detid)) {
131 unsigned int det = *detid;
141 edm::FileInPath fp(
"CalibTracker/SiPixelESProducers/data/PixelSkimmedGeometry.txt");
144 const std::vector<uint32_t>& detids = pxlreader.
getAllDetIds();
146 for (std::vector<uint32_t>::const_iterator detid = detids.begin(); detid != detids.end(); ++detid) {
149 for (std::vector<DetIdSelector>::const_iterator detidsel =
detidsels_.begin(); detidsel !=
detidsels_.end();
151 if (detidsel->isSelected(*detid)) {
153 unsigned int det = *detid;
196 std::string rootmapname =
"TKMap_Selectortest.root";