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