33 for(align::Alignables::const_iterator it=alivec.begin();
34 it!=alivec.end(); it++) {
35 if ((*it)->alignmentParameters()->isValid() || !(validCheck)) {
38 if (iret!=0)
return iret;
41 edm::LogInfo(
"Alignment") <<
"@SUB=AlignmentParametersIO::write"
42 <<
"Wrote " << icount <<
" out of " << alivec.size() <<
" parameters";
53 for(align::Alignables::const_iterator it = alivec.begin(); it != alivec.end(); ++it) {
54 if (!validCheck || (*it)->alignmentParameters()->isValid()) {
57 if (iret != 0)
return iret;
60 edm::LogInfo(
"Alignment") <<
"@SUB=AlignmentParametersIO::writeOrigRigidBody"
61 <<
"Wrote " << icount <<
" out of " << alivec.size()
62 <<
" original parameters.";
75 for(align::Alignables::const_iterator it=alivec.begin();
76 it!=alivec.end(); it++) {
78 if (ad!=0 && ierr2==0) { retvec.push_back(ad); icount++; }
80 edm::LogInfo(
"Alignment") <<
"@SUB-AlignmentParametersIO::write"
81 <<
"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
align::Parameters read(const align::Alignables &alivec, int &ierr)
read AlignmentParameters of many Alignables
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
const AlgebraicSymMatrix & covariance(void) const
Get parameter covariance matrix.
virtual int writeOne(Alignable *ali)=0
write AlignmentParameters of one Alignable