81 std::string axis_title = axis->GetTitle();
82 if (axis_title ==
"#eta" || axis_title ==
"eta") {
85 return axis->FindBin(perigee->
eta());
87 }
else if (axis_title ==
"|#eta|" || axis_title ==
"abseta") {
90 return axis->FindBin(std::abs(perigee->
eta()));
92 }
else if (axis_title ==
"#phi" || axis_title ==
"phi") {
95 return axis->FindBin(perigee->parameters()[2]);
97 }
else if (axis_title ==
"|#phi|" || axis_title ==
"absphi") {
100 return axis->FindBin(std::abs(perigee->parameters()[2]));
102 }
else if (axis_title ==
"#theta" || axis_title ==
"theta") {
105 return axis->FindBin(perigee->parameters()[3]);
107 }
else if (axis_title ==
"|#theta|" || axis_title ==
"abstheta") {
110 return axis->FindBin(std::abs(perigee->parameters()[3]));
112 }
else if (axis_title ==
"p_{T}" || axis_title ==
"pT") {
115 return axis->FindBin(perigee->
pT());
117 }
else if (axis_title ==
"p_{T} [GeV]" || axis_title ==
"pTinGeV") {
120 return axis->FindBin(perigee->
pT() * MeVtoGeV);
122 }
else if (axis_title ==
"#rho @ ID-exit") {
129 }
else if (axis_title ==
"R @ ID-exit") {
136 }
else if (axis_title ==
"z @ ID-exit") {
143 }
else if (axis_title ==
"#rho @ Calo-entrance") {
150 }
else if (axis_title ==
"R @ Calo-entrance") {
157 }
else if (axis_title ==
"z @ Calo-entrance") {
164 }
else if (axis_title ==
"#rho @ Calo-centre") {
172 return axis->FindBin(calo_centre.perp());
174 }
else if (axis_title ==
"R @ Calo-centre") {
182 return axis->FindBin(calo_centre.mag());
184 }
else if (axis_title ==
"z @ Calo-centre") {
192 return axis->FindBin(calo_centre[2]);
194 }
else if (axis_title ==
"#rho @ MS-entrance") {
201 }
else if (axis_title ==
"R @ MS-entrance") {
208 }
else if (axis_title ==
"z @ MS-entrance") {
223 id_exit = calo_entrance = calo_exit = ms_entrance =
nullptr;
225 ATH_MSG_DEBUG(
"No track has been given. Where is my track?!");
229 if (!trk_srf->trackParameters()) {
continue; }
230 if (
m_indetVolume->inside(trk_srf->trackParameters()->position())) {
238 if (trk_srf->materialEffectsOnTrack()->thicknessInX0() < 10) {
continue; }
239 if (!calo_entrance) {
240 calo_entrance = trk_srf;
247 else if (trk_srf->measurementOnTrack()) {
248 ms_entrance = trk_srf;