25 textFileName(
cfg.getParameter<
std::
string>(
"textFileName")) {}
54 unsigned int nComp =
comp.size();
55 for (
unsigned int i = 0;
i < nComp; ++
i)
66 double* errorData =
error.Array();
67 for (
unsigned int i = 0;
i < 21; ++
i) {
80 error = ROOT::Math::SMatrixIdentity();
88 std::vector<AlignTransform>::const_iterator
it;
91 if (
id == (*it).rawId()) {
93 CLHEP::HepRotation
rot((*it).rotation());
void readFile(const std::string &textFileName)
Read given text file.
const AlignableSurface & surface() const
Return the Surface (global position and orientation) of the object.
TrackerGeometry * build(const GeometricDet *gd, const PTrackerParameters &ptp, const TrackerTopology *tTopo)
std::vector< AlignTransform > m_align
U second(std::pair< T, U > const &p)
std::vector< Scalar > Scalars
virtual StructureType alignableObjectId() const =0
Return the alignable type identifier.
#define DEFINE_FWK_MODULE(type)
virtual const Alignables & components() const =0
Return vector of all direct components.
Log< level::Info, false > LogInfo
align::ID id() const
Return the ID of Alignable, i.e. DetId of 'first' component GeomDet(Unit).
void setSurvey(const SurveyDet *)
Set survey info.
std::vector< Alignable * > Alignables
static int position[264][3]
math::Error< 6 >::type ErrorMatrix
const MapType & UniqueIdMap() const