26 textFileName(
cfg.getParameter<
std::
string>(
"textFileName")) {}
56 unsigned int nComp =
comp.size();
57 for (
unsigned int i = 0;
i < nComp; ++
i)
68 double* errorData =
error.Array();
69 for (
unsigned int i = 0;
i < 21; ++
i) {
82 error = ROOT::Math::SMatrixIdentity();
90 std::vector<AlignTransform>::const_iterator it;
93 if (
id == (*it).rawId()) {
95 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 PTrackerAdditionalParametersPerDet *ptitp, 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