#include <AlignmentIORoot.h>
Public Member Functions | |
AlignablePositions | readAlignableAbsolutePositions (const align::Alignables &alivec, const char *filename, int iter, int &ierr) |
read Alignable current absolute positions More... | |
AlignablePositions | readAlignableOriginalPositions (const align::Alignables &alivec, const char *filename, int iter, int &ierr) |
read Alignable original (before misalignment) absolute positions More... | |
AlignableShifts | readAlignableRelativePositions (const align::Alignables &alivec, const char *filename, int iter, int &ierr) |
read Alignable relative positions (shift,rotation) More... | |
align::Parameters | readAlignmentParameters (const align::Alignables &alivec, const char *filename, int iter, int &ierr) |
read AlignmentParameters More... | |
align::Correlations | readCorrelations (const align::Alignables &alivec, const char *filename, int iter, int &ierr) |
read Correlations More... | |
void | writeAlignableAbsolutePositions (const align::Alignables &alivec, const char *filename, int iter, bool validCheck, int &ierr) |
write Alignable current absolute positions More... | |
void | writeAlignableOriginalPositions (const align::Alignables &alivec, const char *filename, int iter, bool validCheck, int &ierr) |
write Alignable original (before misalignment) absolute positions More... | |
void | writeAlignableRelativePositions (const align::Alignables &alivec, const char *filename, int iter, bool validCheck, int &ierr) |
write Alignable relative positions (shift,rotation) More... | |
void | writeAlignmentParameters (const align::Alignables &alivec, const char *filename, int iter, bool validCheck, int &ierr) |
write AlignmentParameters More... | |
void | writeCorrelations (const align::Correlations &cormap, const char *filename, int iter, bool validCheck, int &ierr) |
write Correlations More... | |
void | writeOrigRigidBodyAlignmentParameters (const align::Alignables &alivec, const char *filename, int iter, bool validCheck, int &ierr) |
write RigidBodyAlignmentParameters as applied on top of original positions More... | |
concrete class for ROOT-based I/O of Alignment parameters, correlations and Alignable positions. Derived from AlignmentIO
(last update by
)
Definition at line 16 of file AlignmentIORoot.h.
|
virtual |
read Alignable current absolute positions
Implements AlignmentIO.
Definition at line 128 of file AlignmentIORoot.cc.
References AlignableDataIO::Abs, AlignableDataIORoot::close(), AlignableDataIORoot::open(), AlignableDataIO::readAbsPos(), and mps_fire::result.
Referenced by HIPAlignmentAlgorithm::startNewLoop().
|
virtual |
read Alignable original (before misalignment) absolute positions
Implements AlignmentIO.
Definition at line 168 of file AlignmentIORoot.cc.
References AlignableDataIORoot::close(), AlignableDataIORoot::open(), AlignableDataIO::Org, AlignableDataIO::readOrgPos(), and mps_fire::result.
|
virtual |
read Alignable relative positions (shift,rotation)
Implements AlignmentIO.
Definition at line 208 of file AlignmentIORoot.cc.
References AlignableDataIORoot::close(), AlignableDataIORoot::open(), AlignableDataIO::readRelPos(), AlignableDataIO::Rel, and mps_fire::result.
|
virtual |
read AlignmentParameters
Implements AlignmentIO.
Definition at line 30 of file AlignmentIORoot.cc.
References AlignmentParametersIORoot::close(), AlignmentParametersIORoot::open(), AlignmentParametersIO::read(), and mps_fire::result.
|
virtual |
read Correlations
Implements AlignmentIO.
Definition at line 87 of file AlignmentIORoot.cc.
References AlignmentCorrelationsIORoot::close(), AlignmentCorrelationsIORoot::open(), AlignmentCorrelationsIORoot::read(), and mps_fire::result.
|
virtual |
write Alignable current absolute positions
Implements AlignmentIO.
Definition at line 109 of file AlignmentIORoot.cc.
References AlignableDataIO::Abs, AlignableDataIORoot::close(), AlignableDataIORoot::open(), and AlignableDataIO::writeAbsPos().
Referenced by MillePedeAlignmentAlgorithm::doIO(), HIPAlignmentAlgorithm::startNewLoop(), and HIPAlignmentAlgorithm::terminate().
|
virtual |
write Alignable original (before misalignment) absolute positions
Implements AlignmentIO.
Definition at line 149 of file AlignmentIORoot.cc.
References AlignableDataIORoot::close(), AlignableDataIORoot::open(), AlignableDataIO::Org, and AlignableDataIO::writeOrgPos().
Referenced by MillePedeAlignmentAlgorithm::doIO(), and HIPAlignmentAlgorithm::startNewLoop().
|
virtual |
write Alignable relative positions (shift,rotation)
Implements AlignmentIO.
Definition at line 189 of file AlignmentIORoot.cc.
References AlignableDataIORoot::close(), AlignableDataIORoot::open(), AlignableDataIO::Rel, and AlignableDataIO::writeRelPos().
|
virtual |
write AlignmentParameters
Implements AlignmentIO.
Definition at line 12 of file AlignmentIORoot.cc.
References AlignmentParametersIORoot::close(), AlignmentParametersIORoot::open(), and AlignmentParametersIO::write().
Referenced by HIPAlignmentAlgorithm::terminate().
|
virtual |
write Correlations
Implements AlignmentIO.
Definition at line 69 of file AlignmentIORoot.cc.
References AlignmentCorrelationsIORoot::close(), AlignmentCorrelationsIORoot::open(), and AlignmentCorrelationsIORoot::write().
|
virtual |
write RigidBodyAlignmentParameters as applied on top of original positions
Implements AlignmentIO.
Definition at line 52 of file AlignmentIORoot.cc.
References AlignmentParametersIORoot::close(), AlignmentParametersIORoot::open(), and AlignmentParametersIO::writeOrigRigidBody().
Referenced by MillePedeAlignmentAlgorithm::doIO().