|
|
Go to the documentation of this file.
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();
AlignableAbsData readOrgPos(Alignable *ali, int &ierr)
Read original positions of one Alignable.
virtual int surfaceDeformationIdPairs(std::vector< std::pair< int, SurfaceDeformation * > > &) const =0
virtual int writeRelRaw(const AlignableRelData &ad)=0
Write relative positions.
int writeOrgPos(Alignable *ali, bool validCheck)
Write original positions of one Alignable.
int writeAbsPos(Alignable *ali, bool validCheck)
Write absolute positions of one Alignable.
AlignableData< align::GlobalVector > AlignableRelData
relative position/rotation
std::vector< AlignableRelData > AlignableShifts
bool isValid(void) const
Get validity flag.
virtual int writeAbsRaw(const AlignableAbsData &ad)=0
Write absolute positions.
virtual AlignableAbsData readAbsRaw(Alignable *ali, int &ierr)=0
Read absolute positions.
virtual StructureType alignableObjectId() const =0
Return the alignable type identifier.
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.
const GlobalVector & displacement() const
Return change of the global position since the creation of the object.
AlignableAbsData readAbsPos(Alignable *ali, int &ierr)
Read absolute positions of one Alignable.
const RotationType & rotation() const
Return change of orientation since the creation of the object.
align::ID id() const
Return the ID of Alignable, i.e. DetId of 'first' component GeomDet(Unit).
int writeRelPos(Alignable *ali, bool validCheck)
Write relative positions of one Alignable.
AlignableData< align::GlobalPoint > AlignableAbsData
Absolute position/rotation.
const PositionType & position() const
std::vector< Alignable * > Alignables
TkRotation transposed() const
AlignableRelData readRelPos(Alignable *ali, int &ierr)
Read relative positions of one Alignable.
const RotationType & rotation() const
const PositionType & globalPosition() const
Return the global position of the object.
std::vector< AlignableAbsData > AlignablePositions
AlignmentParameters * alignmentParameters() const
Get the AlignmentParameters.
const RotationType & globalRotation() const
Return the global orientation of the object.