130 measurement_regionAcc(
"measurement_region");
131 const static bool hitDetailsAvailable = measurement_regionAcc.
isAvailable(trkprt);
133 if (!hitDetailsAvailable) {
135 ATH_MSG_WARNING(
"The hit res plots dont see any data (note:only 10 warnings issued)");
139 const std::vector<int>& result_det = measurement_detAcc(trkprt);
141 if (!result_det.empty()) {
151 const std::vector<int>& result_measureType = measurement_typeAcc(trkprt);
152 const std::vector<int>& result_region = measurement_regionAcc(trkprt);
153 const std::vector<float>& result_residualLocX = hitResiduals_residualLocXAcc(trkprt);
154 const std::vector<float>& result_pullLocX = hitResiduals_pullLocXAcc(trkprt);
155 const std::vector<float>& result_residualLocY = hitResiduals_residualLocYAcc(trkprt);
156 const std::vector<float>& result_pullLocY = hitResiduals_pullLocYAcc(trkprt);
157 const std::vector<int>& result_phiWidth = hitResiduals_phiWidthAcc(trkprt);
158 const std::vector<int>& result_etaWidth = hitResiduals_etaWidthAcc(trkprt);
160 const float eta = trkprt.
eta();
163 if (result_det.size() != result_residualLocX.size()) {
166 const auto resultSize = result_region.size();
167 for (
unsigned int idx = 0; idx < resultSize; ++idx) {
168 const int measureType = result_measureType[idx];
169 if (measureType != 4) {
172 const int det = result_det[idx];
173 const int region = result_region[idx];
174 const int width = result_phiWidth[idx];
175 const int etaWidth = result_etaWidth[idx];
176 const float residualLocX = result_residualLocX[idx];
177 const float pullLocX = result_pullLocX[idx];
178 const float residualLocY = result_residualLocY[idx];
179 const float pullLocY = result_pullLocY[idx];
200 const bool hasYCoordinate = (det !=
SCT)and(det !=
TRT);
206 if (hasYCoordinate) {
219 if (hasYCoordinate) {
224 if (hasYCoordinate) {
void book(Htype *&pHisto, const std::string &histoIdentifier, const std::string &nameOverride="", const std::string &folder="default")
Helper method to book histograms using an identifier string.
virtual double eta() const override final
The pseudorapidity ( ) of the particle.