ATLAS Offline Software
AFP_ProtonRecoAnalytical.cxx
Go to the documentation of this file.
1 /*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 AFP_ProtonRecoAnalytical::AFP_ProtonRecoAnalytical (const std::string &type, const std::string &name, const IInterface *parent)
10 {
11  ATH_MSG_DEBUG("in AFP_ProtonRecoAnalytical constructor");
12 }
13 
14 
16 {
17  ATH_MSG_INFO("----- AFP_ProtonRecoAnalytical -----");
18 
19  ATH_MSG_INFO("\tNear AFP position [m]: " << m_detectorPositionNear );
20  ATH_MSG_INFO("\tFar AFP position [m]: " << m_detectorPositionFar );
21  ATH_MSG_INFO("\tSingle station reconstruction: " << m_allowSingleStationReco );
22  ATH_MSG_INFO("\tCuts:\n");
23  ATH_MSG_INFO("\t\ttrackDistance [mm]: " << m_trackDistance );
24 
25  ATH_MSG_INFO("\tparametrizationFileName = " << m_parametrizationFileName);
26  ATH_MSG_INFO("\tparametrizationPosition = " << m_parametrizationPosition);
27  ATH_MSG_INFO("\tparametrizationEnergy = " << m_parametrizationEnergy);
28 
29  return StatusCode::SUCCESS;
30 }
31 
32 
34 {
35 
36  CHECK( m_trackContainerKey.initialize() );
37 
38  if(m_detectorPositions.empty())
39  {
40  if(m_side==0)
41  {
42  m_detectorPositionNear=205.217;
43  m_detectorPositionFar=217.302;
44  }
45  else if(m_side==1)
46  {
47  m_detectorPositionNear=205.824;
48  m_detectorPositionFar=217.909;
49  }
50  else
51  {
52  ATH_MSG_ERROR("unknown side id "<<m_side<<", allowed values are 0 (for A) and 1 (for C)");
53  return StatusCode::FAILURE;
54  }
55  }
56  else if(m_detectorPositions.size()==2)
57  {
59  {
62  }
63  else
64  {
67  }
68  }
69  else
70  {
71  ATH_MSG_ERROR("there are "<<m_detectorPositions.size()<<" entries for m_detectorPositions, we have only 2 detectors on each side");
72  return StatusCode::FAILURE;
73  }
74 
75 
77  {
78  m_parametrizationFileName = (m_side) ? "param_mad_b1_def.txt" : "param_mad_b2_def.txt";
79  }
80 
82 
83  m_parametrization = std::make_unique<AFP::Parameterization>(parametrization);
84  m_parametrizationPosition = m_parametrization->parametrizationPosition();
87 
88  return StatusCode::SUCCESS;
89 }
90 
91 
92 double AFP_ProtonRecoAnalytical::bisection (double (AFP_ProtonRecoAnalytical::*fun)(double, const Measurement&, std::vector<double>&, std::vector<double>&) const, const Measurement& my_measAFP, std::vector<double>& my_slopeCalculated, std::vector<double>& my_positionCalculated) const {
93 
94  // Alias to minimized function
95  auto fn = [this, fun, my_slopeCalculated, my_positionCalculated](double x, const Measurement& m, std::vector<double>& s, std::vector<double>& p) { return (this->*fun)(x,m,s,p); };
96 
97  constexpr double tol = 1e-3; // 1 MeV
98  double eMin = m_parametrizationEnergy - 2000.; // ~30% xi
99  double eMax = m_parametrizationEnergy;
100 
101  if (fn(eMax, my_measAFP, my_slopeCalculated, my_positionCalculated) * fn(eMin, my_measAFP, my_slopeCalculated, my_positionCalculated) >= 0) { // Cannot use bisection method
102 
103  ATH_MSG_DEBUG("Cannot use bisection method");
104 
105  // Return value closest to zero
106  return (fn(eMin, my_measAFP, my_slopeCalculated, my_positionCalculated) < 0) ? std::max(fn(eMin, my_measAFP, my_slopeCalculated, my_positionCalculated), fn(eMax, my_measAFP, my_slopeCalculated, my_positionCalculated)) : std::min(fn(eMin, my_measAFP, my_slopeCalculated, my_positionCalculated), fn(eMax, my_measAFP, my_slopeCalculated, my_positionCalculated));
107  }
108 
109  ATH_MSG_VERBOSE("==== eMin\teMax\te\tfun(eMin)\tfun(eMax)\tfun(E) ====");
110 
111  double e = eMin;
112 
113  // Bisection method
114  while (eMax - eMin > tol) {
115  e = (eMin + eMax)/2.0;
116  ATH_MSG_VERBOSE("* " << eMin << "\t" << eMax << "\t" << e << "\t" << fn(e, my_measAFP, my_slopeCalculated, my_positionCalculated) << "\t" << fn(eMin, my_measAFP, my_slopeCalculated, my_positionCalculated) << "\t" << fn(eMax, my_measAFP, my_slopeCalculated, my_positionCalculated));
117  if (fn(eMax, my_measAFP, my_slopeCalculated, my_positionCalculated) * fn(e, my_measAFP, my_slopeCalculated, my_positionCalculated) < 0)
118  eMin = e;
119  else if (fn(eMin, my_measAFP, my_slopeCalculated, my_positionCalculated) * fn(e, my_measAFP, my_slopeCalculated, my_positionCalculated) < 0)
120  eMax = e;
121  else {
122  eMin = e;
123  eMax = e;
124  }
125  }
126 
127  ATH_MSG_DEBUG("Bisection energy: " << e);
128 
129  return e;
130 }
131 
132 
133 xAOD::AFPProton * AFP_ProtonRecoAnalytical::reco (const xAOD::AFPTrack* trackNear, const xAOD::AFPTrack* trackFar, std::unique_ptr<xAOD::AFPProtonContainer>& outputContainer) const {
134 
136  const Measurement my_measAFP = Measurement(trackNear->xLocal(), trackNear->yLocal(), trackFar->xLocal(), trackFar->yLocal());
137 
138  std::vector<double> my_slopeCalculated = {0, 0};
139  std::vector<double> my_positionCalculated = {0, 0};
140 
141  my_slopeCalculated.at(0) = (my_measAFP.xF - my_measAFP.xN)/m_distanceBetweenStations;
142  my_slopeCalculated.at(1) = (my_measAFP.yF - my_measAFP.yN)/m_distanceBetweenStations;
143  my_positionCalculated.at(0) = my_measAFP.xN + my_slopeCalculated.at(0)*(m_parametrizationPosition - m_detectorPositionNear);
144  my_positionCalculated.at(1) = my_measAFP.yN + my_slopeCalculated.at(1)*(m_parametrizationPosition - m_detectorPositionNear);
145 
146  ATH_MSG_DEBUG("Reconstructing proton with bisection method...");
147  ATH_MSG_DEBUG("Tracks (xNear, yNear; xFar, yFar): " << my_measAFP.xN << ", " << my_measAFP.yN << "; "
148  << my_measAFP.xF << ", " << my_measAFP.yF);
149 
150  const double energy = bisection(&AFP_ProtonRecoAnalytical::bothStations, my_measAFP, my_slopeCalculated, my_positionCalculated);
151  const double slopeX = calculateXslope(energy,my_slopeCalculated);
152  const double slopeY = calculateYslope(energy,my_slopeCalculated);
153 
154  const double px = energy * slopeX;
155  const double py = energy * slopeY;
156  const double pz = energy * sqrt(1. - slopeX*slopeX - slopeY*slopeY);
157 
158  return createProton({px, py, pz}, my_measAFP, xAOD::AFPProtonRecoAlgID::analytical, outputContainer);
159 }
160 
161 
162 xAOD::AFPProton * AFP_ProtonRecoAnalytical::reco (const xAOD::AFPTrack* trackFar, std::unique_ptr<xAOD::AFPProtonContainer>& outputContainer) const {
163 
164  const Measurement my_measAFP = Measurement(0., 0., trackFar->xLocal(), trackFar->yLocal());
165 
166  ATH_MSG_DEBUG("Reconstructing proton with bisection method (single station)...");
167  ATH_MSG_DEBUG("Tracks (xFar, yFar): " << my_measAFP.xF << ", " << my_measAFP.yF);
168 
169  std::vector<double> my_slopeCalculated = {0, 0};
170  std::vector<double> my_positionCalculated = {0, 0};
171 
172  const double energy = bisection(&AFP_ProtonRecoAnalytical::singleStation, my_measAFP, my_slopeCalculated, my_positionCalculated);
173 
174  return createProton({0., 0., energy}, my_measAFP, xAOD::AFPProtonRecoAlgID::analytical, outputContainer);
175 }
176 
177 
178 double AFP_ProtonRecoAnalytical::bothStations (double energy, const Measurement& /*my_measAFP*/, std::vector<double>& my_slopeCalculated, std::vector<double>& my_positionCalculated) const {
179 
180  const double xi = 1.0 - energy / m_parametrizationEnergy;
181 
182  return
183  (my_positionCalculated.at(0)
184  - m_parametrization->getEquation(0)->getPolynomial(0)->Eval(xi)
185  - m_vertexIP.at(0)*m_parametrization->getEquation(0)->getPolynomial(1)->Eval(xi)
186  - m_vertexIP.at(2)*m_parametrization->getEquation(0)->getPolynomial(3)->Eval(xi)
187  )
188  *(
189  m_parametrization->getEquation(2)->getPolynomial(4)->Eval(xi)
190  + m_vertexIP.at(2)*m_parametrization->getEquation(2)->getPolynomial(6)->Eval(xi)
191  )
192  - (
193  my_slopeCalculated.at(0)
194  - m_parametrization->getEquation(2)->getPolynomial(0)->Eval(xi)
195  - m_vertexIP.at(0)*m_parametrization->getEquation(2)->getPolynomial(1)->Eval(xi)
196  - m_vertexIP.at(2)*m_parametrization->getEquation(2)->getPolynomial(3)->Eval(xi)
197  )
198  *(
199  m_parametrization->getEquation(0)->getPolynomial(4)->Eval(xi)
200  + m_vertexIP.at(2)*m_parametrization->getEquation(0)->getPolynomial(6)->Eval(xi)
201  );
202 }
203 
204 
205 double AFP_ProtonRecoAnalytical::singleStation (double energy, const Measurement& my_measAFP, std::vector<double>& /*my_slopeCalculated*/, std::vector<double>& /*my_positionCalculated*/) const {
206 
207  const double xi = 1.0 - energy / m_parametrizationEnergy;
208  const double xNear = my_measAFP.xF - m_distanceBetweenStations * m_parametrization->sx(m_vertexIP.at(0), m_vertexIP.at(1), m_vertexIP.at(2), 0, 0, energy);
209 
210  const double Ax = m_parametrization->getEquation(0)->getPolynomial(0)->Eval(xi);
211  const double Bx = m_parametrization->getEquation(0)->getPolynomial(1)->Eval(xi);
212  const double Dx = m_parametrization->getEquation(0)->getPolynomial(3)->Eval(xi);
213 
214  return xNear - Ax - m_vertexIP.at(0)*Bx - m_vertexIP.at(2)*Dx;
215 }
216 
217 
218 double AFP_ProtonRecoAnalytical::calculateSlope (double energy, int XorY, std::vector<double>& my_slopeCalculated) const { // 0 - X, 1 - Y
219 
220  const double xi = 1.0 - energy / m_parametrizationEnergy;
221 
222  const double Ax = m_parametrization->getEquation(2 + XorY)->getPolynomial(0)->Eval(xi);
223  const double Bx = m_parametrization->getEquation(2 + XorY)->getPolynomial(4 + XorY)->Eval(xi);
224  const double Cx = m_parametrization->getEquation(2 + XorY)->getPolynomial(1 + XorY)->Eval(xi);
225  const double Dx = m_parametrization->getEquation(2 + XorY)->getPolynomial(6 + XorY)->Eval(xi);
226  const double Ex = m_parametrization->getEquation(2 + XorY)->getPolynomial(3)->Eval(xi);
227 
228  const double Fx = my_slopeCalculated.at(0 + XorY) - Ax - Cx*m_vertexIP.at(0 + XorY) - Ex*m_vertexIP.at(2);
229  const double Gx = Bx + m_vertexIP.at(2)*Dx;
230  const double slp = (Gx == 0) ? 0. : Fx/Gx;
231 
232  return slp;
233 }
234 
235 
236 double AFP_ProtonRecoAnalytical::calculateXslope (double energy, std::vector<double>& my_slopeCalculated) const {
237 
238  return calculateSlope(energy, 0, my_slopeCalculated);
239 }
240 
241 
242 double AFP_ProtonRecoAnalytical::calculateYslope (double energy, std::vector<double>& my_slopeCalculated) const {
243 
244  return calculateSlope(energy, 1, my_slopeCalculated);
245 }
246 
247 
248 double AFP_ProtonRecoAnalytical::chi2 (double px, double py, double pz, const Measurement& my_measAFP) const {
249 
250  const double energy = sqrt(px*px + py*py + pz*pz);
251  const double sx = px/energy;
252  const double sy = py/energy;
253 
254  const double xNear = m_parametrization->x(m_vertexIP.at(0), m_vertexIP.at(1), m_vertexIP.at(2), sx, sy, energy);
255  const double yNear = m_parametrization->y(m_vertexIP.at(0), m_vertexIP.at(1), m_vertexIP.at(2), sx, sy, energy);
256  const double xFar = xNear + m_distanceBetweenStations * m_parametrization->sx(m_vertexIP.at(0), m_vertexIP.at(1), m_vertexIP.at(2), sx, sy, energy);
257  const double yFar = yNear + m_distanceBetweenStations * m_parametrization->sy(m_vertexIP.at(0), m_vertexIP.at(1), m_vertexIP.at(2), sx, sy, energy);
258 
259  if (m_allowSingleStationReco and my_measAFP.xN == 0 and my_measAFP.yN == 0) {
260  const double dx2 = my_measAFP.xF - xFar;
261  const double dy2 = my_measAFP.yF - yFar;
262 
263  const double chi2x2 = dx2 * dx2 / (m_xSigma * m_xSigma);
264  const double chi2y2 = (m_parametrization->yIsUsed()) ? dy2 * dy2 / (m_ySigma * m_ySigma) : 0.;
265 
266  return chi2x2 + chi2y2;
267  }
268 
269  const double dx1 = my_measAFP.xN - xNear;
270  const double dx2 = my_measAFP.xF - xFar;
271  const double dy1 = my_measAFP.yN - yNear;
272  const double dy2 = my_measAFP.yF - yFar;
273 
274  const double chi2x1 = dx1 * dx1 / (m_xSigma * m_xSigma);
275  const double chi2x2 = dx2 * dx2 / (m_xSigma * m_xSigma);
276  const double chi2y1 = (m_parametrization->yIsUsed()) ? dy1 * dy1 / (m_ySigma * m_ySigma) : 0.;
277  const double chi2y2 = (m_parametrization->yIsUsed()) ? dy2 * dy2 / (m_ySigma * m_ySigma) : 0.;
278 
279  return chi2x1 + chi2y1 + chi2x2 + chi2y2;
280 }
281 
282 
AFP_ProtonRecoAnalytical::m_parametrization
std::unique_ptr< AFP::Parameterization > m_parametrization
Pointer to parameterization.
Definition: AFP_ProtonRecoAnalytical.h:89
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
AFP_ProtonRecoAnalytical::calculateYslope
double calculateYslope(double energy, std::vector< double > &my_slopeCalculated) const
Calculates initial vertical slope Calls calculateSlope(energy, 1)
Definition: AFP_ProtonRecoAnalytical.cxx:242
AFP_ProtonRecoAnalytical::m_parametrizationPosition
double m_parametrizationPosition
Position for which parameterization was performed.
Definition: AFP_ProtonRecoAnalytical.h:98
generateReferenceFile.fun
fun
Definition: generateReferenceFile.py:18
AFP_ProtonRecoBase::Measurement::xN
double xN
Definition: AFP_ProtonRecoBase.h:60
xAOD::AFPTrack_v2
Class representing a track reconstructed in AFP.
Definition: AFPTrack_v2.h:37
fitman.sy
sy
Definition: fitman.py:524
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
PathResolver::RecursiveSearch
@ RecursiveSearch
Definition: PathResolver.h:28
AFP_ProtonRecoAnalytical::calculateXslope
double calculateXslope(double energy, std::vector< double > &my_slopeCalculated) const
Calculates initial horizontal slope Calls calculateSlope(energy, 0)
Definition: AFP_ProtonRecoAnalytical.cxx:236
AFP_ProtonRecoAnalytical::bisection
double bisection(double(AFP_ProtonRecoAnalytical::*fun)(double, const Measurement &, std::vector< double > &, std::vector< double > &) const, const Measurement &my_measAFP, std::vector< double > &my_slopeCalculated, std::vector< double > &my_positionCalculated) const
Calculates root of given function.
Definition: AFP_ProtonRecoAnalytical.cxx:92
test_pyathena.px
px
Definition: test_pyathena.py:18
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
max
#define max(a, b)
Definition: cfImp.cxx:41
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
PathResolver::find_file
static std::string find_file(const std::string &logical_file_name, const std::string &search_path, SearchType search_type=LocalSearch)
Definition: PathResolver.cxx:251
AFP_ProtonRecoAnalytical::chi2
virtual double chi2(double energy, double sx, double sy, const Measurement &my_measAFP) const override
Calculates chi2 for reconstructed proton.
Definition: AFP_ProtonRecoAnalytical.cxx:248
OfflineHitType::Measurement
@ Measurement
python.compressB64.sx
string sx
Definition: compressB64.py:96
AFP_ProtonRecoAnalytical
Tool for proton reconstruction by directly using transport parameterisation.
Definition: AFP_ProtonRecoAnalytical.h:31
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
AFP_ProtonRecoBase::m_trackDistance
Gaudi::Property< double > m_trackDistance
Definition: AFP_ProtonRecoBase.h:74
AFP_ProtonRecoAnalytical::bothStations
double bothStations(double energy, const Measurement &my_measAFP, std::vector< double > &my_slopeCalculated, std::vector< double > &my_positionCalculated) const
Function obtained from parameterization equation.
Definition: AFP_ProtonRecoAnalytical.cxx:178
x
#define x
LArGeo::Fx
GeoGenfun::FunctionNoop Fx(double r, GeoGenfun::GENFUNCTION G, const double Cenx[], const double Ceny[])
Definition: BarrelAuxFunctions.cxx:16
AFP_ProtonRecoBase::Measurement
Local class for storing tracks positions.
Definition: AFP_ProtonRecoBase.h:49
AFP_ProtonRecoBase::m_trackContainerKey
SG::ReadHandleKey< xAOD::AFPTrackContainer > m_trackContainerKey
Definition: AFP_ProtonRecoBase.h:78
AFP_ProtonRecoAnalytical::m_parametrizationFileName
Gaudi::Property< std::string > m_parametrizationFileName
Name of the file containing parameterization.
Definition: AFP_ProtonRecoAnalytical.h:95
AFP_ProtonRecoBase
Base class for all proton reconstruction tools.
Definition: AFP_ProtonRecoBase.h:34
xAOD::AFPProtonRecoAlgID::analytical
static constexpr int analytical
analytical algorithm id=0
Definition: AFPProtonRecoAlgID.h:47
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
python.getCurrentFolderTag.fn
fn
Definition: getCurrentFolderTag.py:65
AFP_ProtonRecoAnalytical::reco
virtual xAOD::AFPProton * reco(const xAOD::AFPTrack *trkNear, const xAOD::AFPTrack *trkFar, std::unique_ptr< xAOD::AFPProtonContainer > &outputContainer) const override
Reconstructs single proton from pair of tracks.
Definition: AFP_ProtonRecoAnalytical.cxx:133
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
AFP_ProtonRecoBase::Measurement::xF
double xF
Definition: AFP_ProtonRecoBase.h:65
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
AFP_ProtonRecoBase::createProton
xAOD::AFPProton * createProton(const Momentum &momentum, const Measurement &my_measAFP, const int algID, std::unique_ptr< xAOD::AFPProtonContainer > &outputContainer) const
Creates and sets up a proton.
Definition: AFP_ProtonRecoBase.cxx:94
AFP_ProtonRecoBase::m_detectorPositionNear
double m_detectorPositionNear
Default position of AFP near station.
Definition: AFP_ProtonRecoBase.h:92
Amg::pz
@ pz
Definition: GeoPrimitives.h:40
test_pyathena.parent
parent
Definition: test_pyathena.py:15
AFP_ProtonRecoAnalytical::calculateSlope
double calculateSlope(double energy, int XorY, std::vector< double > &my_slopeCalculated) const
Calculates ininial slope based on measurements and reconstructed energy.
Definition: AFP_ProtonRecoAnalytical.cxx:218
AFP_ProtonRecoAnalytical.h
AFP_ProtonRecoAnalytical::m_distanceBetweenStations
double m_distanceBetweenStations
Distance between near and far station.
Definition: AFP_ProtonRecoAnalytical.h:92
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
AFP_ProtonRecoBase::m_allowSingleStationReco
Gaudi::Property< bool > m_allowSingleStationReco
Definition: AFP_ProtonRecoBase.h:76
xAOD::AFPTrack_v2::yLocal
float yLocal() const
Track position along Y axis in station local coordinate system.
AFP_ProtonRecoBase::m_detectorPositions
Gaudi::Property< std::vector< double > > m_detectorPositions
Definition: AFP_ProtonRecoBase.h:70
AFP_ProtonRecoBase::Measurement::yN
double yN
Definition: AFP_ProtonRecoBase.h:60
AFP_ProtonRecoAnalytical::m_parametrizationEnergy
double m_parametrizationEnergy
Parameterization energy.
Definition: AFP_ProtonRecoAnalytical.h:101
min
#define min(a, b)
Definition: cfImp.cxx:40
AFP_ProtonRecoBase::m_xSigma
static constexpr double m_xSigma
x-Sigma value
Definition: AFP_ProtonRecoBase.h:98
Amg::py
@ py
Definition: GeoPrimitives.h:39
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
AFP_ProtonRecoBase::m_side
Gaudi::Property< int > m_side
Definition: AFP_ProtonRecoBase.h:72
AFP_ProtonRecoBase::m_ySigma
static constexpr double m_ySigma
y-Sigma value
Definition: AFP_ProtonRecoBase.h:101
AFP_ProtonRecoAnalytical::configInfo
StatusCode configInfo() const
Definition: AFP_ProtonRecoAnalytical.cxx:15
AFP_ProtonRecoAnalytical::singleStation
double singleStation(double energy, const Measurement &my_measAFP, std::vector< double > &my_slopeCalculated, std::vector< double > &my_positionCalculated) const
Function obtained from parameterization equation.
Definition: AFP_ProtonRecoAnalytical.cxx:205
AFP_ProtonRecoAnalytical::AFP_ProtonRecoAnalytical
AFP_ProtonRecoAnalytical(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
Definition: AFP_ProtonRecoAnalytical.cxx:8
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AFP_ProtonRecoBase::m_vertexIP
const std::vector< double > m_vertexIP
Vertex position.
Definition: AFP_ProtonRecoBase.h:105
xAOD::AFPTrack_v2::xLocal
float xLocal() const
Track position along X axis in station local coordinate system.
xAOD::AFPProton_v1
Class representing a proton reconstructed in AFP.
Definition: AFPProton_v1.h:36
LArG4GenerateShowerLib.parametrization
parametrization
Definition: LArG4GenerateShowerLib.py:19
AFP_ProtonRecoBase::Measurement::yF
double yF
Definition: AFP_ProtonRecoBase.h:65
AFP_ProtonRecoBase::m_detectorPositionFar
double m_detectorPositionFar
Default position of AFP far station.
Definition: AFP_ProtonRecoBase.h:95
AFP_ProtonRecoAnalytical::initialize
StatusCode initialize() override
Loads parameterization.
Definition: AFP_ProtonRecoAnalytical.cxx:33