BmnRoot
26.10.0-233-gb9bbe585
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnATestDetector.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
BmnATestDetector class declaration
9
Set of detectors for alignment algorithm test
10
*/
11
12
/*
13
=== DEPRECATION NOTICE =========================================
14
Due to complex changes in BmnAligner, this class requires rework
15
================================================================
16
*/
17
18
#ifndef BMNATESTDETECTOR_H
19
#define BMNATESTDETECTOR_H
20
21
#include "
BmnATestDetectorPlane.h
"
22
#include "
BmnAlignDefines.h
"
23
#include "
BmnSimpleDM.h
"
24
25
class
BmnATestDetector
:
public
BmnSimpleDM
26
{
27
public
:
28
typedef
std::vector<BmnATestDetectorPlane>
DetectorSet
;
29
30
BmnATestDetector
(
Double_t
detectorStep,
const
char
* dumpPath =
nullptr
);
31
inline
BmnATestDetector
(
const
char
* jsonPath)
32
:
BmnSimpleDM
(BMN_TEST_MODULE_COUNT)
33
{
34
Load
(jsonPath);
35
}
36
37
const
BmnATestDetectorPlane
*
GetDetectors
()
const
{
return
fDetectors
; }
38
const
SVectGL
*
GetTestA
()
const
{
return
fMisalignments
; };
39
Double_t
GetMinZ
()
const
{
return
fNominalZ
[0]; }
40
Double_t
GetMaxZ
()
const
{
return
fNominalZ
[BMN_TEST_MODULE_COUNT - 1]; }
41
42
Bool_t
Save
(
const
char
* path)
const
;
43
Bool_t
Load
(
const
char
* path);
44
45
private
:
46
void
RebuildDetectors
();
47
48
Double_t
fNominalZ
[BMN_TEST_MODULE_COUNT];
// per-detector nominal Z positions
49
SVectGL
fMisalignments
[BMN_TEST_MODULE_COUNT];
// per-detector alignment shifts
50
BmnATestDetectorPlane
fDetectors
[BMN_TEST_MODULE_COUNT];
51
};
52
53
#endif
// BMNATESTDETECTOR_H
BmnATestDetectorPlane.h
BmnAlignDefines.h
SVectGL
RM::SVector< Double_t, BMN_GLOBAL_PARAMS_PD > SVectGL
Definition
BmnAlignDefines.h:61
BmnSimpleDM.h
Bool_t
bool Bool_t
Double_t
double Double_t
BmnATestDetectorPlane
Definition
BmnATestDetectorPlane.h:33
BmnATestDetector::fMisalignments
SVectGL fMisalignments[BMN_TEST_MODULE_COUNT]
Definition
BmnATestDetector.h:49
BmnATestDetector::fDetectors
BmnATestDetectorPlane fDetectors[BMN_TEST_MODULE_COUNT]
Definition
BmnATestDetector.h:50
BmnATestDetector::DetectorSet
std::vector< BmnATestDetectorPlane > DetectorSet
Definition
BmnATestDetector.h:28
BmnATestDetector::BmnATestDetector
BmnATestDetector(Double_t detectorStep, const char *dumpPath=nullptr)
Definition
BmnATestDetector.cxx:24
BmnATestDetector::BmnATestDetector
BmnATestDetector(const char *jsonPath)
Definition
BmnATestDetector.h:31
BmnATestDetector::Save
Bool_t Save(const char *path) const
Definition
BmnATestDetector.cxx:46
BmnATestDetector::GetMaxZ
Double_t GetMaxZ() const
Definition
BmnATestDetector.h:40
BmnATestDetector::RebuildDetectors
void RebuildDetectors()
Definition
BmnATestDetector.cxx:96
BmnATestDetector::GetTestA
const SVectGL * GetTestA() const
Definition
BmnATestDetector.h:38
BmnATestDetector::GetDetectors
const BmnATestDetectorPlane * GetDetectors() const
Definition
BmnATestDetector.h:37
BmnATestDetector::GetMinZ
Double_t GetMinZ() const
Definition
BmnATestDetector.h:39
BmnATestDetector::Load
Bool_t Load(const char *path)
Definition
BmnATestDetector.cxx:66
BmnATestDetector::fNominalZ
Double_t fNominalZ[BMN_TEST_MODULE_COUNT]
Definition
BmnATestDetector.h:48
BmnSimpleDM::BmnSimpleDM
BmnSimpleDM()=delete
align_new
deprecated
BmnATestDetector.h
Generated on
for BmnRoot by
1.17.0