41 std::vector<double> pars;
43 std::vector<std::pair<int,SurfaceDeformation*> >
result;
45 pars = result[0].second->parameters();
72 std::vector<double> pars;
92 std::vector<double> pars;
108 for( align::Alignables::const_iterator it=alivec.begin();
109 it!=alivec.end(); it++ )
112 if (iret==0) icount++;
114 LogDebug(
"WriteAbsPos") <<
"all,written: " << alivec.size() <<
","<< icount;
129 for( align::Alignables::const_iterator it=alivec.begin();
130 it!=alivec.end(); it++ )
133 if (ierr2==0) retvec.push_back(ad);
136 LogDebug(
"ReadAbsPos") <<
"all,written: " << alivec.size() <<
"," << retvec.size();
149 for( align::Alignables::const_iterator it=alivec.begin();
150 it!=alivec.end(); it++ )
153 if (iret==0) icount++;
156 LogDebug(
"WriteOrgPos") <<
"all,written: " << alivec.size() <<
"," << icount;
170 for( align::Alignables::const_iterator it=alivec.begin();
171 it!=alivec.end(); it++ )
174 if (ierr2==0) retvec.push_back(ad);
177 LogDebug(
"ReadOrgPos") <<
"all,read: " << alivec.size() <<
", "<< retvec.size();
190 for( align::Alignables::const_iterator it=alivec.begin();
191 it!=alivec.end(); it++ ) {
193 if (iret==0) icount++;
195 LogDebug(
"WriteRelPos") <<
"all,written: " << alivec.size() <<
", "<< icount;
209 for( align::Alignables::const_iterator it=alivec.begin();
210 it!=alivec.end(); it++ )
213 if (ierr2==0) retvec.push_back(ad);
215 LogDebug(
"ReadRelPos") <<
"all,read: " << alivec.size() <<
", "<< retvec.size();
align::ID id() const
Return the ID of Alignable, i.e. DetId of 'first' component GeomDet(Unit).
virtual int writeAbsRaw(const AlignableAbsData &ad)=0
Write absolute positions.
AlignableAbsData readAbsPos(Alignable *ali, int &ierr)
Read absolute positions of one Alignable.
AlignableAbsData readOrgPos(Alignable *ali, int &ierr)
Read original positions of one Alignable.
int writeAbsPos(Alignable *ali, bool validCheck)
Write absolute positions of one Alignable.
const GlobalVector & displacement() const
Return change of the global position since the creation of the object.
const RotationType & globalRotation() const
Return the global orientation of the object.
AlignableData< align::GlobalVector > AlignableRelData
relative position/rotation
AlignmentParameters * alignmentParameters() const
Get the AlignmentParameters.
std::vector< AlignableRelData > AlignableShifts
const RotationType & rotation() const
Return change of orientation since the creation of the object.
virtual AlignableAbsData readAbsRaw(Alignable *ali, int &ierr)=0
Read absolute positions.
virtual int surfaceDeformationIdPairs(std::vector< std::pair< int, SurfaceDeformation * > > &) const =0
virtual StructureType alignableObjectId() const =0
Return the alignable type identifier.
int writeOrgPos(Alignable *ali, bool validCheck)
Write original positions of one Alignable.
int writeRelPos(Alignable *ali, bool validCheck)
Write relative positions of one Alignable.
virtual AlignableRelData readRelRaw(Alignable *ali, int &ierr)=0
Read relative positions.
const AlignableSurface & surface() const
Return the Surface (global position and orientation) of the object.
AlignableRelData readRelPos(Alignable *ali, int &ierr)
Read relative positions of one Alignable.
AlignableData< align::GlobalPoint > AlignableAbsData
Absolute position/rotation.
std::vector< Alignable * > Alignables
bool isValid(void) const
Get validity flag.
TkRotation transposed() const
virtual int writeRelRaw(const AlignableRelData &ad)=0
Write relative positions.
const RotationType & rotation() const
std::vector< AlignableAbsData > AlignablePositions
const PositionType & globalPosition() const
Return the global position of the object.
const PositionType & position() const