Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Geometry/HGCalCommonData/test/HGCalCellUVTester.cc
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,8 @@ void HGCalCellUVTester::beginRun(edm::Run const &iRun, edm::EventSetup const &iS
edm::LogVerbatim("HGCalGeom") << "\nHGCalCellUVTester:: nCells " << nCells << " and placement index between "
<< indexMin << " and " << indexMax << "\n\n";
auto start_t = std::chrono::high_resolution_clock::now();
unsigned int kk(0);
std::unordered_map<int32_t, HGCalParameters::waferInfo>::const_iterator itr = hgpar_->waferInfoMap_.begin();
for (; itr != hgpar_->waferInfoMap_.end(); ++itr, ++kk) {
for (; itr != hgpar_->waferInfoMap_.end(); ++itr) {
//for (auto itr = hgpar_->waferInfoMap_.begin(); itr != hgpar_->waferInfoMap_.end(); ++itr){
if ((itr->second).part != HGCalTypes::WaferFull) {
int indx = itr->first;
Expand Down
3 changes: 1 addition & 2 deletions Geometry/HGCalGeometry/test/HGCalGeometryCheck.cc
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ void HGCalGeometryCheck::beginRun(const edm::Run&, const edm::EventSetup& iSetup
sprintf(name, "RZ_%s", nameDetectors_[ih].c_str());
sprintf(title, "R vs Z for %s", nameDetectors_[ih].c_str());
h_RZ_.emplace_back(fs->make<TH2D>(name, title, nbinZ_, zmin_, zmax_, nbinR_, rmin_, rmax_));
unsigned int k(0);
for (int lay = layerF; lay <= layerL; ++lay, ++k) {
for (int lay = layerF; lay <= layerL; ++lay) {
sprintf(name, "Mod_%s_L%d", nameDetectors_[ih].c_str(), lay);
sprintf(title, "Modules in layer %d in %s", lay, nameDetectors_[ih].c_str());
h_Mod_.emplace_back(fs->make<TH1D>(name, title, 200, -50, 50));
Expand Down
3 changes: 1 addition & 2 deletions Geometry/HcalTowerAlgo/test/HcalGeometryDump.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ void HcalGeometryDump::analyze(const edm::Event& /*iEvent*/, const edm::EventSet
}
edm::LogVerbatim("HCalGeom") << detIds.size() << " valid Ids for subdetector " << subdet;
std::sort(detIds.begin(), detIds.end());
int counter = 0;
for (std::vector<unsigned int>::const_iterator i = detIds.begin(); i != detIds.end(); ++i, ++counter) {
for (std::vector<unsigned int>::const_iterator i = detIds.begin(); i != detIds.end(); ++i) {
HcalDetId hid = HcalDetId(*i);
auto cell = caloGeom->getGeometry(*i);
edm::LogVerbatim("HCalGeom") << hid << "\tCaloCellGeometry " << cell->getPosition() << "\tHcalGeometry "
Expand Down