FEDRA emulsion software from the OPERA Collaboration
|
#include <SKalman.hh>
Public Member Functions | |
— Constructors — | |
SKalman () | |
SKalman (const Track &t, const SVertex< NTR > &v) | |
— Track methods — | |
float | x () const |
refitted Track $x$ position (= vertex $x$ position) More... | |
float | y () const |
refitted Track $y$ position (= vertex $y$ position) More... | |
float | x (float z) const |
refitted Track $x$ position at $z$ More... | |
float | y (float z) const |
refitted Track $y$ position at $z$ More... | |
float | z () const |
refitted Track $z$ position (= vertex $z$ position) More... | |
float | tx () const |
refitted track slope $t_x$ More... | |
float | ty () const |
refitted track slope $t_y$ More... | |
float | p () const |
refitted momentum More... | |
float | pt () const |
refitted transverse Track momentum $p_t$ More... | |
float | pz () const |
momentum along More... | |
float | chi2 () const |
Kalman $\chi^2$. Use only if you know what it is! More... | |
float | phi () const |
refitted azimuthal angle $\phi$ [deg] More... | |
float | theta () const |
refitted polar angle $\theta = \cos^{-1}(e_z)$ [deg] More... | |
float | eta () const |
refitted rapidity $\eta = -\log\tan(\theta/2.)$ More... | |
int | charge () const |
particle charge: -1 for neg. +1 for pos. & neutrals More... | |
float | energy (double mass=0.) const |
$E = \sqrt{m^2 + p^2}$ More... | |
float | xf (double mass=0.) const |
float | rap (double mass=0.) const |
Rapidity $y = \frac{1}{2}\ln(\frac{E+p_z}{E-p_z})$. More... | |
SVector< double, 3 > | xvec () const |
vertex position More... | |
SVector< double, 3 > | tvec () const |
$\vec{v} = (t_x,t_y,1.)$ refitted slope vector More... | |
SVector< double, 3 > | evec () const |
$\vec{v} = (e_x,e_y,e_z)$ unit vector along refitted track More... | |
SVector< double, 3 > | pvec () const |
$\vec{v} = (p_x,p_y,p_z)$ refitted mom. vector More... | |
void | collect (vector< Track * > &c) const |
collect pointers More... | |
— Dummy Track functions — | |
bool | isValid () const |
returns always true More... | |
void | valid () |
does nothing More... | |
void | invalid () |
does nothing More... | |
const SMatrix< double, 5 > & | COV () const |
returns a 0 matrix More... | |
const SMatrix< double, 5 > & | CINV () const |
returns a 0 matrix More... | |
bool | propagate (const double z) |
dummy function: do nothing More... | |
unsigned short int | ndf () const |
returns always 0 More... | |
float | cov_x (double dz=0.) const |
returns 0 More... | |
float | cov_y (double dz=0.) const |
returns 0 More... | |
float | cov_tx () const |
returns 0 More... | |
float | cov_ty () const |
returns 0 More... | |
float | cov_p () const |
returns 0 More... | |
— Operators — | |
bool | operator== (const Track &rhs) const |
compare Track pointers More... | |
— Access methods — | |
const SMatrix< double, 3 > & | KCOV () const |
const SMatrix< double, 3 > & | KCINV () const |
const SVector< double, 3 > & | xv () const |
const SMatrix< double, 3 > & | F () const |
const SMatrix< double, 3 > & | ES () const |
const SMatrix< double, 3 > & | DS () const |
![]() | |
void | addGrain (Grain gr) |
bool | evaluateEstimators () |
unsigned int | getAreaSum () const |
double | getBottomZ () const |
unsigned short | getCount () const |
double | getErrX () const |
double | getErrY () const |
double | getErrZ () const |
std::vector< Grain > | getGrains () const |
double | getSigma () const |
double | getSX () const |
double | getSY () const |
double | getSZ () const |
double | getTopZ () const |
double | getX () const |
double | getY () const |
double | getZ () const |
void | setAreaSum (unsigned int areaSum) |
void | setBottomZ (double z) |
void | setCount (unsigned short count) |
void | setErrX (double errx) |
void | setErrY (double erry) |
void | setErrZ (double errz) |
void | setSigma (double sigma) |
void | setSX (double sx) |
void | setSY (double sy) |
void | setSZ (double sz) |
void | setTopZ (double z) |
void | setX (double x) |
void | setY (double y) |
void | setZ (double z) |
Track () | |
~Track () | |
— Expert methods — | |
const Track * | track_ |
const SVertex< NTR > * | vtx_ |
double | k_tx |
double | k_ty |
double | k_chi2 |
SVector< double, 3 > | k_qvs |
SVector< double, 3 > | k_xv |
SVector< double, 3 > | k_qv |
SMatrix< double, 3 > | k_C |
SMatrix< double, 3 > | k_CINV |
SVector< double, 5 > | k_pc |
SMatrix< double, 3, 5 > | k_WBG |
SMatrix< double, 3 > | k_W |
SMatrix< double, 3 > | k_F |
SMatrix< double, 3 > | k_ES |
SMatrix< double, 3 > | k_DS |
bool | filter (const unsigned int I) |
filter step More... | |
bool | smooth () |
smoother step More... | |
bool | smoothC () |
cov. matrices of smoothed parameters More... | |
std::ostream & | print (std::ostream &) const |
used by operator<<() More... | |
Additional Inherited Members | |
![]() | |
double | dz |
int | Field |
float | FirstZ |
TVector | Intercept |
TVector | InterceptErrors |
float | LastZ |
double | meanDeltaTheta3D |
double | meanDeltaThetaXZ |
double | meanDeltaThetaYZ |
double | meanDistanceClustersTo3DLine |
double | meanGapClusterToCluster |
double | mx |
double | mxSigma |
double | my |
double | mySigma |
BYTE * | pCorrection |
char * | pCorrection |
unsigned | PointsN |
TVector * | pPoints |
double | qx |
double | qy |
double | rx |
double | ry |
float | Sigma |
double | sigmaDeltaTheta3D |
double | sigmaDeltaThetaXZ |
double | sigmaDeltaThetaYZ |
TVector | Slope |
TVector | SlopeErrors |
boolean | Valid |
bool | Valid |
double | xChi2 |
double | yChi2 |
Fixed size Kalman filter class.
int SKalman< NTR >::charge | ( | ) | const |
particle charge: -1 for neg. +1 for pos. & neutrals
float SKalman< NTR >::chi2 | ( | ) | const |
Kalman $\chi^2$. Use only if you know what it is!
returns a 0 matrix
collect pointers
returns a 0 matrix
float SKalman< NTR >::cov_p | ( | ) | const |
returns 0
float SKalman< NTR >::cov_tx | ( | ) | const |
returns 0
float SKalman< NTR >::cov_ty | ( | ) | const |
returns 0
float SKalman< NTR >::cov_x | ( | double | dz = 0. | ) | const |
returns 0
float SKalman< NTR >::cov_y | ( | double | dz = 0. | ) | const |
returns 0
float SKalman< NTR >::energy | ( | double | mass = 0. | ) | const |
$E = \sqrt{m^2 + p^2}$
float SKalman< NTR >::eta | ( | ) | const |
refitted rapidity $\eta = -\log\tan(\theta/2.)$
$\vec{v} = (e_x,e_y,e_z)$ unit vector along refitted track
bool SKalman< NTR >::filter | ( | const unsigned int | I | ) |
filter step
bool SKalman< NTR >::isValid | ( | ) | const |
returns always true
unsigned short int SKalman< NTR >::ndf | ( | ) | const |
returns always 0
compare Track pointers
float SKalman< NTR >::p | ( | ) | const |
refitted momentum
float SKalman< NTR >::phi | ( | ) | const |
refitted azimuthal angle $\phi$ [deg]
std::ostream & SKalman< NTR >::print | ( | std::ostream & | ) | const |
used by operator<<()
bool SKalman< NTR >::propagate | ( | const double | z | ) |
dummy function: do nothing
float SKalman< NTR >::pt | ( | ) | const |
refitted transverse Track momentum $p_t$
$\vec{v} = (p_x,p_y,p_z)$ refitted mom. vector
float SKalman< NTR >::pz | ( | ) | const |
momentum along
$z$: $p / \sqrt{t_x^2+t_y^2+1}$
float SKalman< NTR >::rap | ( | double | mass = 0. | ) | const |
Rapidity $y = \frac{1}{2}\ln(\frac{E+p_z}{E-p_z})$.
bool SKalman< NTR >::smooth | ( | ) |
smoother step
bool SKalman< NTR >::smoothC | ( | ) |
cov. matrices of smoothed parameters
float SKalman< NTR >::theta | ( | ) | const |
refitted polar angle $\theta = \cos^{-1}(e_z)$ [deg]
$\vec{v} = (t_x,t_y,1.)$ refitted slope vector
float SKalman< NTR >::tx | ( | ) | const |
refitted track slope $t_x$
float SKalman< NTR >::ty | ( | ) | const |
refitted track slope $t_y$
float SKalman< NTR >::x | ( | ) | const |
refitted Track $x$ position (= vertex $x$ position)
float SKalman< NTR >::x | ( | float | z | ) | const |
refitted Track $x$ position at $z$
float SKalman< NTR >::xf | ( | double | mass = 0. | ) | const |
$x_f = (p_z - E(m)\cdot\sqrt{1 - \frac{2m_p}{920 GeV/c + m_p}})/m_p$, $m_p$ = Proton mass, $m$ = Particle mass
float SKalman< NTR >::y | ( | ) | const |
refitted Track $y$ position (= vertex $y$ position)
float SKalman< NTR >::y | ( | float | z | ) | const |
refitted Track $y$ position at $z$
float SKalman< NTR >::z | ( | ) | const |
refitted Track $z$ position (= vertex $z$ position)
|
private |
|
private |
|
private |