BmnRoot
26.10.0-233-gb9bbe585
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnMeasureModel.h
Go to the documentation of this file.
1
/*
2
BM@N alignment routine
3
BM@N experiment at NICA complex, JINR, 2025
4
5
Department: Math & Soft Group of HEP lab
6
Author: Igor Polev, polev@jinr.int
7
8
BmnMeasureModel abstract base class
9
Interface of a linearized measurement model
10
*/
11
12
#ifndef BMNMEASUREMODEL_H
13
#define BMNMEASUREMODEL_H
14
15
#include "
BmnAlignDefines.h
"
16
#include "FairHit.h"
17
18
/*
19
* Alignment parameters per detector:
20
* a = (dx, dy, dz, phi, theta, psi)^T -> SVectGL (size 6)
21
*
22
* Straight-track local parameters per track:
23
* alpha = (alpha_x, beta_x, alpha_y, beta_y)^T -> SVectLC (size 4)
24
*
25
* The derivatives of the measured position with respect to the local track
26
* parameters do not depend on the alignment model, so they are shared here.
27
*
28
* IMPORTANT: Alignment parameters are allways full 6D vectors. To use models
29
* with less DoFs one must add constraints to fix excluded coordinates.
30
*/
31
32
class
BmnMeasureModel
33
{
34
public
:
35
virtual
~BmnMeasureModel
() =
default
;
36
37
virtual
const
char
*
Description
() const noexcept = 0;
38
39
virtual
Double_t
X
(
Double_t
z0, const
SVectGL
& gl, const
SVectLC
& lc) const noexcept = 0;
40
virtual
Double_t
Y
(
Double_t
z0, const
SVectGL
& gl, const
SVectLC
& lc) const noexcept = 0;
41
virtual
SVectGL
dXdA
(
Double_t
z0, const
SVectLC
& lc) const noexcept = 0;
42
virtual
SVectGL
dYdA
(
Double_t
z0, const
SVectLC
& lc) const noexcept = 0;
43
44
virtual
Bool_t
AlignHit
(
FairHit
& hit, const
SVectGL
& a) const noexcept = 0;
45
virtual
void
AlignHitApproximately
(
SVect3
& hit, const
SVectGL
& a) const noexcept = 0;
46
47
// model-independent: track model is linear in the local parameters
48
inline
SVectLC
dXdAlpha
(
Double_t
z0) const noexcept {
return
SVectLC
(1.0, z0, 0.0, 0.0); }
49
inline
SVectLC
dYdAlpha
(
Double_t
z0)
const
noexcept
{
return
SVectLC
(0.0, 0.0, 1.0, z0); }
50
};
51
52
#endif
// BMNMEASUREMODEL_H
BmnAlignDefines.h
SVect3
RM::SVector< Double_t, 3 > SVect3
Definition
BmnAlignDefines.h:59
SVectLC
RM::SVector< Double_t, BMN_LOCAL_PARAMS_PT > SVectLC
Definition
BmnAlignDefines.h:60
SVectGL
RM::SVector< Double_t, BMN_GLOBAL_PARAMS_PD > SVectGL
Definition
BmnAlignDefines.h:61
Bool_t
bool Bool_t
Double_t
double Double_t
BmnMeasureModel
Definition
BmnMeasureModel.h:33
BmnMeasureModel::Description
virtual const char * Description() const noexcept=0
BmnMeasureModel::dXdAlpha
SVectLC dXdAlpha(Double_t z0) const noexcept
Definition
BmnMeasureModel.h:48
BmnMeasureModel::Y
virtual Double_t Y(Double_t z0, const SVectGL &gl, const SVectLC &lc) const noexcept=0
BmnMeasureModel::AlignHit
virtual Bool_t AlignHit(FairHit &hit, const SVectGL &a) const noexcept=0
BmnMeasureModel::dYdAlpha
SVectLC dYdAlpha(Double_t z0) const noexcept
Definition
BmnMeasureModel.h:49
BmnMeasureModel::AlignHitApproximately
virtual void AlignHitApproximately(SVect3 &hit, const SVectGL &a) const noexcept=0
BmnMeasureModel::X
virtual Double_t X(Double_t z0, const SVectGL &gl, const SVectLC &lc) const noexcept=0
BmnMeasureModel::dXdA
virtual SVectGL dXdA(Double_t z0, const SVectLC &lc) const noexcept=0
BmnMeasureModel::dYdA
virtual SVectGL dYdA(Double_t z0, const SVectLC &lc) const noexcept=0
BmnMeasureModel::~BmnMeasureModel
virtual ~BmnMeasureModel()=default
FairHit
align_new
models
BmnMeasureModel.h
Generated on
for BmnRoot by
1.17.0