|
Jpp 20.0.0-rc.9-29-gccc23c492-D
the software that should make you happy
|
Linear fit of straight line parallel to z-axis to set of hits (objects with position and time). More...
#include <JLine1ZEstimator.hh>
Public Types | |
| typedef double JLine1Z::* | parameter_type |
Public Member Functions | |
| JEstimator () | |
| Default constructor. | |
| template<class T > | |
| JEstimator (T __begin, T __end) | |
| Constructor. | |
| template<class T > | |
| const JEstimator< JLine1Z > & | operator() (T __begin, T __end) |
| Fit. | |
| template<class T > | |
| void | update (T __begin, T __end, const JMatrixNZ &A) |
| Update track parameters using updated co-variance matrix (e.g. matrix with one hit switched off). | |
| void | move (const double step, const double velocity) |
| Move vertex along this line with given velocity. | |
| void | setZ (const double z, const double velocity) |
| Set z-position of vertex. | |
| double | getDistanceSquared (const JVector3D &pos) const |
| Get distance squared. | |
| double | getDistance (const JVector3D &pos) const |
| Get distance. | |
| double | getT (const JVector3D &pos) const |
| Get arrival time of Cherenkov light at given position. | |
| double | getZ (const JPosition3D &pos) const |
| Get point of emission of Cherenkov light along muon path. | |
| JVersor3D | getDirection (const JVector3D &pos) const |
| Get photon direction of Cherenkov light on PMT. | |
| double | getDot (const JAxis3D &axis) const |
| Get cosine angle of impact of Cherenkov light on PMT. | |
Static Public Member Functions | |
| static parameter_type | pX () |
| static parameter_type | pY () |
| static parameter_type | pT () |
Public Attributes | |
| JMATH::JMatrix3S | V |
| co-variance matrix of fit parameters | |
| JMATH::JSVD3D | svd |
Static Public Attributes | |
| static const int | NUMBER_OF_PARAMETERS = 3 |
| number of parameters of fit | |
| static double | MINIMAL_SVD_WEIGHT = 1.0e-4 |
| minimal SVD weight. | |
Linear fit of straight line parallel to z-axis to set of hits (objects with position and time).
![\begin{center}\setlength{\unitlength}{0.7cm}\begin{picture}(8,12)
\put( 1.0, 0.5){\vector(0,1){9}}
\put( 1.0,10.0){\makebox(0,0){$z$}}
\put( 1.0, 0.0){\makebox(0,0){muon}}
\put( 1.0, 8.0){\line(1,0){6}}
\put( 4.0, 8.5){\makebox(0,0)[c]{$R$}}
\multiput( 1.0, 2.0)(0.5, 0.5){12}{\qbezier(0.0,0.0)(-0.1,0.35)(0.25,0.25)\qbezier(0.25,0.25)(0.6,0.15)(0.5,0.5)}
\put( 4.5, 4.5){\makebox(0,0)[l]{photon}}
\put( 1.0, 2.0){\circle*{0.2}}
\put( 0.5, 2.0){\makebox(0,0)[r]{$(x_{0},y_{0},z_{0},t_{0})$}}
\put( 1.0, 8.0){\circle*{0.2}}
\put( 0.5, 8.0){\makebox(0,0)[r]{$(x_{0},y_{0},z_{j})$}}
\put( 7.0, 8.0){\circle*{0.2}}
\put( 7.0, 9.0){\makebox(0,0)[c]{PMT}}
\put( 7.5, 8.0){\makebox(0,0)[l]{$(x_{j},y_{j},z_{j},t_{j})$}}
\put( 1.1, 2.1){
\put(0.0,1.00){\vector(-1,0){0.1}}
\qbezier(0.0,1.0)(0.25,1.0)(0.5,0.75)
\put(0.5,0.75){\vector(1,-1){0.1}}
\put(0.4,1.5){\makebox(0,0){$\theta_{c}$}}
}
\end{picture}
\end{center}](form_1.png)
![\[
ct_j = ct_0 + (z_j - z_0) + \tan(\theta_{c}) \sqrt((x_j - x_0)^2 + (y_j - y_0)^2)
\]](form_2.png)
where:

Defining:

![\[
\Rightarrow (t_j' - t_0')^2 = (x_j - x_0)^2 + (y_j - y_0)^2
\]](form_5.png)
The parameters 



Definition at line 89 of file JLine1ZEstimator.hh.
|
inherited |
Definition at line 178 of file JLine1Z.hh.
|
inline |
Default constructor.
Definition at line 96 of file JLine1ZEstimator.hh.
|
inline |
Constructor.
| __begin | begin of data |
| __end | end of data |
Definition at line 108 of file JLine1ZEstimator.hh.
|
inline |
Fit.
The template argument T refers to an iterator of a data structure which should have the following member methods:
| __begin | begin of data |
| __end | end of data |
Definition at line 129 of file JLine1ZEstimator.hh.
|
inline |
Update track parameters using updated co-variance matrix (e.g. matrix with one hit switched off).
In this, it is assumed that the changes in x and y positions are small compared to the actual distances between the track and the hits.
The template argument T refers to an iterator of a data structure which should have the following member methods:
| __begin | begin of data |
| __end | end of data |
| A | co-variance matrix of hits |
Definition at line 257 of file JLine1ZEstimator.hh.
|
inlineinherited |
Move vertex along this line with given velocity.
| step | step |
| velocity | velocity |
Definition at line 62 of file JLine1Z.hh.
|
inlineinherited |
Set z-position of vertex.
| z | z-position |
| velocity | velocity |
Definition at line 75 of file JLine1Z.hh.
|
inlineinherited |
Get distance squared.
| pos | position |
Definition at line 87 of file JLine1Z.hh.
|
inlineinherited |
Get distance.
| pos | position |
Definition at line 102 of file JLine1Z.hh.
|
inlineinherited |
Get arrival time of Cherenkov light at given position.
| pos | position [m] |
Definition at line 114 of file JLine1Z.hh.
|
inlineinherited |
Get point of emission of Cherenkov light along muon path.
| pos | position |
Definition at line 134 of file JLine1Z.hh.
|
inlineinherited |
Get photon direction of Cherenkov light on PMT.
| pos | PMT position |
Definition at line 148 of file JLine1Z.hh.
|
inlineinherited |
Get cosine angle of impact of Cherenkov light on PMT.
| axis | PMT axis |
Definition at line 172 of file JLine1Z.hh.
|
inlinestaticinherited |
Definition at line 180 of file JLine1Z.hh.
|
inlinestaticinherited |
Definition at line 181 of file JLine1Z.hh.
|
inlinestaticinherited |
Definition at line 182 of file JLine1Z.hh.
|
static |
number of parameters of fit
Definition at line 352 of file JLine1ZEstimator.hh.
| JMATH::JMatrix3S JFIT::JEstimator< JLine1Z >::V |
co-variance matrix of fit parameters
Definition at line 353 of file JLine1ZEstimator.hh.
| JMATH::JSVD3D JFIT::JEstimator< JLine1Z >::svd |
Definition at line 354 of file JLine1ZEstimator.hh.
|
static |
minimal SVD weight.
Set default minimal SVD weight.
Definition at line 355 of file JLine1ZEstimator.hh.