26 std::vector<double> pars;
28 std::vector<std::pair<int, SurfaceDeformation*> >
result;
30 pars =
result[0].second->parameters();
49 std::vector<double> pars;
65 std::vector<double> pars;
76 for (align::Alignables::const_iterator it = alivec.begin(); it != alivec.end(); ++it) {
81 LogDebug(
"WriteAbsPos") <<
"all,written: " << alivec.size() <<
"," << icount;
91 for (align::Alignables::const_iterator it = alivec.begin(); it != alivec.end(); ++it) {
97 LogDebug(
"ReadAbsPos") <<
"all,written: " << alivec.size() <<
"," << retvec.size();
105 for (align::Alignables::const_iterator it = alivec.begin(); it != alivec.end(); ++it) {
111 LogDebug(
"WriteOrgPos") <<
"all,written: " << alivec.size() <<
"," << icount;
120 for (align::Alignables::const_iterator it = alivec.begin(); it != alivec.end(); ++it) {
123 retvec.push_back(ad);
126 LogDebug(
"ReadOrgPos") <<
"all,read: " << alivec.size() <<
", " << retvec.size();
134 for (align::Alignables::const_iterator it = alivec.begin(); it != alivec.end(); ++it) {
139 LogDebug(
"WriteRelPos") <<
"all,written: " << alivec.size() <<
", " << icount;
148 for (align::Alignables::const_iterator it = alivec.begin(); it != alivec.end(); ++it) {
151 retvec.push_back(ad);
153 LogDebug(
"ReadRelPos") <<
"all,read: " << alivec.size() <<
", " << retvec.size();
virtual int writeAbsRaw(const AlignableAbsData &ad)=0
Write absolute positions.
AlignmentParameters * alignmentParameters() const
Get the AlignmentParameters.
AlignableAbsData readAbsPos(Alignable *ali, int &ierr)
Read absolute positions of one Alignable.
AlignableAbsData readOrgPos(Alignable *ali, int &ierr)
Read original positions of one Alignable.
const AlignableSurface & surface() const
Return the Surface (global position and orientation) of the object.
int writeAbsPos(Alignable *ali, bool validCheck)
Write absolute positions of one Alignable.
AlignableData< align::GlobalVector > AlignableRelData
relative position/rotation
std::vector< AlignableRelData > AlignableShifts
TkRotation transposed() const
const PositionType & globalPosition() const
Return the global position of the object.
virtual AlignableAbsData readAbsRaw(Alignable *ali, int &ierr)=0
Read absolute positions.
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.
bool isValid(void) const
Get validity flag.
virtual AlignableRelData readRelRaw(Alignable *ali, int &ierr)=0
Read relative positions.
AlignableRelData readRelPos(Alignable *ali, int &ierr)
Read relative positions of one Alignable.
align::ID id() const
Return the ID of Alignable, i.e. DetId of 'first' component GeomDet(Unit).
const PositionType & position() const
const GlobalVector & displacement() const
Return change of the global position since the creation of the object.
AlignableData< align::GlobalPoint > AlignableAbsData
Absolute position/rotation.
std::vector< Alignable * > Alignables
virtual int surfaceDeformationIdPairs(std::vector< std::pair< int, SurfaceDeformation *> > &) const =0
virtual int writeRelRaw(const AlignableRelData &ad)=0
Write relative positions.
const RotationType & globalRotation() const
Return the global orientation of the object.
const RotationType & rotation() const
std::vector< AlignableAbsData > AlignablePositions
const RotationType & rotation() const
Return change of orientation since the creation of the object.