#include <AlignmentIORoot.h>
Public Member Functions | |
AlignablePositions | readAlignableAbsolutePositions (const align::Alignables &alivec, const char *filename, int iter, int &ierr) override |
read Alignable current absolute positions More... | |
AlignablePositions | readAlignableOriginalPositions (const align::Alignables &alivec, const char *filename, int iter, int &ierr) override |
read Alignable original (before misalignment) absolute positions More... | |
AlignableShifts | readAlignableRelativePositions (const align::Alignables &alivec, const char *filename, int iter, int &ierr) override |
read Alignable relative positions (shift,rotation) More... | |
align::Parameters | readAlignmentParameters (const align::Alignables &alivec, const char *filename, int iter, int &ierr) override |
read AlignmentParameters More... | |
align::Correlations | readCorrelations (const align::Alignables &alivec, const char *filename, int iter, int &ierr) override |
read Correlations More... | |
void | writeAlignableAbsolutePositions (const align::Alignables &alivec, const char *filename, int iter, bool validCheck, int &ierr) override |
write Alignable current absolute positions More... | |
void | writeAlignableOriginalPositions (const align::Alignables &alivec, const char *filename, int iter, bool validCheck, int &ierr) override |
write Alignable original (before misalignment) absolute positions More... | |
void | writeAlignableRelativePositions (const align::Alignables &alivec, const char *filename, int iter, bool validCheck, int &ierr) override |
write Alignable relative positions (shift,rotation) More... | |
void | writeAlignmentParameters (const align::Alignables &alivec, const char *filename, int iter, bool validCheck, int &ierr) override |
write AlignmentParameters More... | |
void | writeCorrelations (const align::Correlations &cormap, const char *filename, int iter, bool validCheck, int &ierr) override |
write Correlations More... | |
void | writeOrigRigidBodyAlignmentParameters (const align::Alignables &alivec, const char *filename, int iter, bool validCheck, int &ierr) override |
write RigidBodyAlignmentParameters as applied on top of original positions More... | |
~AlignmentIORoot () override=default | |
Public Member Functions inherited from AlignmentIO | |
virtual | ~AlignmentIO ()=default |
concrete class for ROOT-based I/O of Alignment parameters, correlations and Alignable positions. Derived from AlignmentIO
(last update by
)
Definition at line 15 of file AlignmentIORoot.h.
|
overridedefault |
|
overridevirtual |
read Alignable current absolute positions
Implements AlignmentIO.
Definition at line 170 of file AlignmentIORoot.cc.
References AlignableDataIO::Abs, AlignableDataIORoot::close(), corrVsCorr::filename, AlignableDataIORoot::open(), AlignableDataIO::readAbsPos(), and mps_fire::result.
Referenced by HIPAlignmentAlgorithm::startNewLoop().
|
overridevirtual |
read Alignable original (before misalignment) absolute positions
Implements AlignmentIO.
Definition at line 226 of file AlignmentIORoot.cc.
References AlignableDataIORoot::close(), corrVsCorr::filename, AlignableDataIORoot::open(), AlignableDataIO::Org, AlignableDataIO::readOrgPos(), and mps_fire::result.
|
overridevirtual |
read Alignable relative positions (shift,rotation)
Implements AlignmentIO.
Definition at line 282 of file AlignmentIORoot.cc.
References AlignableDataIORoot::close(), corrVsCorr::filename, AlignableDataIORoot::open(), AlignableDataIO::readRelPos(), AlignableDataIO::Rel, and mps_fire::result.
|
overridevirtual |
read AlignmentParameters
Implements AlignmentIO.
Definition at line 35 of file AlignmentIORoot.cc.
References AlignmentParametersIORoot::close(), corrVsCorr::filename, AlignmentParametersIORoot::open(), AlignmentParametersIO::read(), and mps_fire::result.
|
overridevirtual |
read Correlations
Implements AlignmentIO.
Definition at line 114 of file AlignmentIORoot.cc.
References AlignmentCorrelationsIORoot::close(), corrVsCorr::filename, AlignmentCorrelationsIORoot::open(), AlignmentCorrelationsIORoot::read(), and mps_fire::result.
|
overridevirtual |
write Alignable current absolute positions
Implements AlignmentIO.
Definition at line 145 of file AlignmentIORoot.cc.
References AlignableDataIO::Abs, AlignableDataIORoot::close(), corrVsCorr::filename, AlignableDataIORoot::open(), and AlignableDataIO::writeAbsPos().
Referenced by MillePedeAlignmentAlgorithm::doIO(), and HIPAlignmentAlgorithm::terminate().
|
overridevirtual |
write Alignable original (before misalignment) absolute positions
Implements AlignmentIO.
Definition at line 201 of file AlignmentIORoot.cc.
References AlignableDataIORoot::close(), corrVsCorr::filename, AlignableDataIORoot::open(), AlignableDataIO::Org, and AlignableDataIO::writeOrgPos().
Referenced by MillePedeAlignmentAlgorithm::doIO().
|
overridevirtual |
write Alignable relative positions (shift,rotation)
Implements AlignmentIO.
Definition at line 257 of file AlignmentIORoot.cc.
References AlignableDataIORoot::close(), corrVsCorr::filename, AlignableDataIORoot::open(), AlignableDataIO::Rel, and AlignableDataIO::writeRelPos().
|
overridevirtual |
write AlignmentParameters
Implements AlignmentIO.
Definition at line 11 of file AlignmentIORoot.cc.
References AlignmentParametersIORoot::close(), corrVsCorr::filename, AlignmentParametersIORoot::open(), and AlignmentParametersIO::write().
|
overridevirtual |
write Correlations
Implements AlignmentIO.
Definition at line 89 of file AlignmentIORoot.cc.
References AlignmentCorrelationsIORoot::close(), corrVsCorr::filename, AlignmentCorrelationsIORoot::open(), and AlignmentCorrelationsIORoot::write().
|
overridevirtual |
write RigidBodyAlignmentParameters as applied on top of original positions
Implements AlignmentIO.
Definition at line 65 of file AlignmentIORoot.cc.
References AlignmentParametersIORoot::close(), corrVsCorr::filename, AlignmentParametersIORoot::open(), and AlignmentParametersIO::writeOrigRigidBody().
Referenced by MillePedeAlignmentAlgorithm::doIO().