27 for (align::Alignables::const_iterator
it = alivec.begin();
it != alivec.end(); ++
it) {
28 if ((*it)->alignmentParameters()->isValid() || !(validCheck)) {
35 edm::LogInfo(
"Alignment") <<
"@SUB=AlignmentParametersIO::write" 36 <<
"Wrote " << icount <<
" out of " << alivec.size() <<
" parameters";
44 for (align::Alignables::const_iterator
it = alivec.begin();
it != alivec.end(); ++
it) {
45 if (!validCheck || (*it)->alignmentParameters()->isValid()) {
52 edm::LogInfo(
"Alignment") <<
"@SUB=AlignmentParametersIO::writeOrigRigidBody" 53 <<
"Wrote " << icount <<
" out of " << alivec.size() <<
" original parameters.";
64 for (align::Alignables::const_iterator
it = alivec.begin();
it != alivec.end(); ++
it) {
66 if (ad !=
nullptr && ierr2 == 0) {
71 edm::LogInfo(
"Alignment") <<
"@SUB-AlignmentParametersIO::write" 72 <<
"Read " << icount <<
" out of " << alivec.size() <<
" parameters";
AlignmentParameters * alignmentParameters() const
Get the AlignmentParameters.
virtual AlignmentParameters * readOne(Alignable *ali, int &ierr)=0
read AlignmentParameters of one Alignable
const AlgebraicSymMatrix & covariance(void) const
Get parameter covariance matrix.
int write(const align::Alignables &alivec, bool validCheck)
write AlignmentParameters of many Alignables
const AlgebraicVector & parameters(void) const
Get alignment parameters.
virtual int writeOneOrigRigidBody(Alignable *ali)
write original RigidBodyAlignmentParameters (i.e. 3 shifts and 3 rotation)
void setAlignmentParameters(AlignmentParameters *dap)
Set the AlignmentParameters.
int writeOrigRigidBody(const align::Alignables &alivec, bool validCheck)
write original RigidBodyAlignmentParameters of many Alignables
align::Parameters read(const align::Alignables &alivec, int &ierr)
read AlignmentParameters of many Alignables
Log< level::Info, false > LogInfo
virtual AlignmentParameters * clone(const AlgebraicVector &par, const AlgebraicSymMatrix &cov) const =0
Enforce clone methods in derived classes.
std::vector< Alignable * > Alignables
std::vector< AlignmentParameters * > Parameters
virtual int writeOne(Alignable *ali)=0
write AlignmentParameters of one Alignable