49 const bool hitDetailsAvailable = measurement_regionAcc.
isAvailable(trkprt);
50 if (!hitDetailsAvailable) {
52 ATH_MSG_WARNING(
"The HitEff plots dont see any data (note: only 10 warnings issued)");
56 const std::vector<int>& result_det = measurement_detAcc(trkprt);
57 if (!result_det.empty()) {
59 const std::vector<int>& result_measureType = measurement_typeAcc(trkprt);
60 const std::vector<int>& result_region = measurement_regionAcc(trkprt);
63 for (
unsigned int idx = 0; idx < result_region.size(); ++idx) {
64 const int measureType = result_measureType[idx];
65 const bool isHit((measureType == 0)or(measureType == 4));
66 const int det = result_det[idx];
67 const int region = result_region[idx];
68 float eta = std::fabs(trkprt.
eta());
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.