|
@@ -134,23 +134,23 @@ void run(bool silent){
|
|
|
for (int layer=1; layer<=4; layer++) {
|
|
|
hist_params = (hit == 1) ? THParams::lookup("dRz_v_Et") : THParams::lookup("dRz_v_Et_outer_hits");
|
|
|
set_name("dRz", "BPIX", layer, hit, tm_type);
|
|
|
- BPIX_residuals_dRz[{layer, hit, tm_type}] = tds.register_container<ContainerTH2<float>>(name.str(), hist_params);
|
|
|
+ BPIX_residuals_dRz[make_tuple(layer, hit, tm_type)] = tds.register_container<ContainerTH2<float>>(name.str(), hist_params);
|
|
|
set_name("dRz", "FPIX", layer, hit, tm_type);
|
|
|
- FPIX_residuals_dRz[{layer, hit, tm_type}] = tds.register_container<ContainerTH2<float>>(name.str(), hist_params);
|
|
|
+ FPIX_residuals_dRz[make_tuple(layer, hit, tm_type)] = tds.register_container<ContainerTH2<float>>(name.str(), hist_params);
|
|
|
|
|
|
hist_params = (hit == 1) ? THParams::lookup("dPhi_v_Et") : THParams::lookup("dPhi_v_Et_outer_hits");
|
|
|
set_name("dPhi", "BPIX", layer, hit, tm_type);
|
|
|
- BPIX_residuals_dPhi[{layer, hit, tm_type}] = tds.register_container<ContainerTH2<float>>(name.str(), hist_params);
|
|
|
+ BPIX_residuals_dPhi[make_tuple(layer, hit, tm_type)] = tds.register_container<ContainerTH2<float>>(name.str(), hist_params);
|
|
|
set_name("dPhi", "FPIX", layer, hit, tm_type);
|
|
|
- FPIX_residuals_dPhi[{layer, hit, tm_type}] = tds.register_container<ContainerTH2<float>>(name.str(), hist_params);
|
|
|
+ FPIX_residuals_dPhi[make_tuple(layer, hit, tm_type)] = tds.register_container<ContainerTH2<float>>(name.str(), hist_params);
|
|
|
}
|
|
|
hist_params = (hit == 1) ? THParams::lookup("dRz_v_Et") : THParams::lookup("dRz_v_Et_outer_hits");
|
|
|
set_name("dRz", "ALL", 0, hit, tm_type);
|
|
|
- residuals_dRz[{hit, tm_type}] = tds.register_container<ContainerTH2<float>>(name.str(), hist_params);
|
|
|
+ residuals_dRz[std::make_tuple(hit, tm_type)] = tds.register_container<ContainerTH2<float>>(name.str(), hist_params);
|
|
|
|
|
|
hist_params = (hit == 1) ? THParams::lookup("dPhi_v_Et") : THParams::lookup("dPhi_v_Et_outer_hits");
|
|
|
set_name("dPhi", "ALL", 0, hit, tm_type);
|
|
|
- residuals_dPhi[{hit, tm_type}] = tds.register_container<ContainerTH2<float>>(name.str(), hist_params);
|
|
|
+ residuals_dPhi[make_tuple(hit, tm_type)] = tds.register_container<ContainerTH2<float>>(name.str(), hist_params);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -422,12 +422,12 @@ void run(bool silent){
|
|
|
dRz_residuals_v_eta[hit_idx + 1]->fill(dRz, abs(seed.eta()));
|
|
|
dPhi_residuals_v_eta[hit_idx + 1]->fill(dPhi, abs(seed.eta()));
|
|
|
|
|
|
- dRz_residuals_v_region[{hit_idx + 1, eta_region}]->fill(dRz, seed.Et());
|
|
|
- dPhi_residuals_v_region[{hit_idx + 1, eta_region}]->fill(dPhi, seed.Et());
|
|
|
+ dRz_residuals_v_region[make_pair(hit_idx + 1, eta_region)]->fill(dRz, seed.Et());
|
|
|
+ dPhi_residuals_v_region[make_pair(hit_idx + 1, eta_region)]->fill(dPhi, seed.Et());
|
|
|
}
|
|
|
|
|
|
- residuals_dRz[{hit_idx + 1, tm_type}]->fill(dRz, seed.Et());
|
|
|
- residuals_dPhi[{hit_idx + 1, tm_type}]->fill(dPhi, seed.Et());
|
|
|
+ residuals_dRz[make_tuple(hit_idx + 1, tm_type)]->fill(dRz, seed.Et());
|
|
|
+ residuals_dPhi[make_tuple(hit_idx + 1, tm_type)]->fill(dPhi, seed.Et());
|
|
|
if (layerOrDiskNr == -1) continue;
|
|
|
|
|
|
if (isBarrel)
|
|
@@ -436,11 +436,11 @@ void run(bool silent){
|
|
|
hit_vs_layer_forward.fill(layerOrDiskNr, static_cast<const int &>(hit_idx + 1));
|
|
|
|
|
|
if (isBarrel) {
|
|
|
- BPIX_residuals_dRz[{layerOrDiskNr, hit_idx + 1, tm_type}]->fill(dRz, seed.Et());
|
|
|
- BPIX_residuals_dPhi[{layerOrDiskNr, hit_idx + 1, tm_type}]->fill(dPhi, seed.Et());
|
|
|
+ BPIX_residuals_dRz[make_tuple(layerOrDiskNr, hit_idx + 1, tm_type)]->fill(dRz, seed.Et());
|
|
|
+ BPIX_residuals_dPhi[make_tuple(layerOrDiskNr, hit_idx + 1, tm_type)]->fill(dPhi, seed.Et());
|
|
|
} else {
|
|
|
- FPIX_residuals_dRz[{layerOrDiskNr, hit_idx + 1, tm_type}]->fill(dRz, seed.Et());
|
|
|
- FPIX_residuals_dPhi[{layerOrDiskNr, hit_idx + 1, tm_type}]->fill(dPhi, seed.Et());
|
|
|
+ FPIX_residuals_dRz[make_tuple(layerOrDiskNr, hit_idx + 1, tm_type)]->fill(dRz, seed.Et());
|
|
|
+ FPIX_residuals_dPhi[make_tuple(layerOrDiskNr, hit_idx + 1, tm_type)]->fill(dPhi, seed.Et());
|
|
|
}
|
|
|
}
|
|
|
}
|