ATLAS Offline Software
T2TrackBSLLPoly.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 #ifndef TRIGT2BEAMSPOT_T2TRACKBSLLPOLY_H
7 #define TRIGT2BEAMSPOT_T2TRACKBSLLPOLY_H
8 
9 #include <vector>
10 
11 namespace PESA {
12 
59 public:
60 
61  explicit T2TrackBSLLPoly(double beam_size) : m_beam_size(beam_size) {}
62 
67  static unsigned nbins();
68 
74  static int idx(unsigned power_Bx, unsigned power_By,
75  unsigned power_tx, unsigned power_ty,
76  unsigned power_omegax, unsigned power_omegay);
77 
84  void update(double z0, double d0, double phi0, double d0_var, std::vector<double>& coeff);
85 
86 private:
87 
88  double m_beam_size;
89 };
90 
91 } // end namespace
92 
93 #endif // TRIGT2BEAMSPOT_T2TRACKBSLLPOLY_H
PESA::T2TrackBSLLPoly
Class that knows details of LogLikelihood approximation with a polynomial.
Definition: T2TrackBSLLPoly.h:58
InDetAccessor::phi0
@ phi0
Definition: InDetAccessor.h:33
PESA::T2TrackBSLLPoly::update
void update(double z0, double d0, double phi0, double d0_var, std::vector< double > &coeff)
Update polynomial coefficients with track data.
Definition: T2TrackBSLLPoly.cxx:115
PESA
Local tools.
Definition: T2BeamSpot.cxx:13
PESA::T2TrackBSLLPoly::idx
static int idx(unsigned power_Bx, unsigned power_By, unsigned power_tx, unsigned power_ty, unsigned power_omegax, unsigned power_omegay)
Return bin number (0-based) for a monomial coefficient given the powers of the variables in a monomia...
Definition: T2TrackBSLLPoly.cxx:93
TRT::Track::d0
@ d0
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:62
TRT::Track::z0
@ z0
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:63
PESA::T2TrackBSLLPoly::nbins
static unsigned nbins()
Return number of bins in the histogram for all plynomial coefficients (and few other numbers).
Definition: T2TrackBSLLPoly.cxx:80
MuonCalib::Legendre::coeff
constexpr double coeff(unsigned int l, unsigned int k)
Calculates the n-th coefficient of the legendre polynomial series.
Definition: LegendrePoly.h:73
PESA::T2TrackBSLLPoly::T2TrackBSLLPoly
T2TrackBSLLPoly(double beam_size)
Definition: T2TrackBSLLPoly.h:61
PESA::T2TrackBSLLPoly::m_beam_size
double m_beam_size
Definition: T2TrackBSLLPoly.h:88