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";
virtual AlignmentParameters * readOne(Alignable *ali, int &ierr)=0
read AlignmentParameters of one Alignable
int write(const align::Alignables &alivec, bool validCheck)
write AlignmentParameters of many Alignables
virtual int writeOneOrigRigidBody(Alignable *ali)
write original RigidBodyAlignmentParameters (i.e. 3 shifts and 3 rotation)
AlignmentParameters * alignmentParameters() const
Get the AlignmentParameters.
const AlgebraicVector & parameters(void) const
Get alignment parameters.
void setAlignmentParameters(AlignmentParameters *dap)
Set the AlignmentParameters.
int writeOrigRigidBody(const align::Alignables &alivec, bool validCheck)
write original RigidBodyAlignmentParameters of many Alignables
virtual AlignmentParameters * clone(const AlgebraicVector &par, const AlgebraicSymMatrix &cov) const =0
Enforce clone methods in derived classes.
align::Parameters read(const align::Alignables &alivec, int &ierr)
read AlignmentParameters of many Alignables
std::vector< Alignable * > Alignables
std::vector< AlignmentParameters * > Parameters
const AlgebraicSymMatrix & covariance(void) const
Get parameter covariance matrix.
virtual int writeOne(Alignable *ali)=0
write AlignmentParameters of one Alignable