20 textFileName( cfg.getParameter<
std::
string>(
"textFileName") )
60 unsigned int nComp = comp.size();
63 SurveyInputTextReader::MapType::const_iterator it
72 double* errorData = error.Array();
73 for (
unsigned int i = 0; i < 21; ++
i){errorData[
i] = parameters[i+6];}
86 error = ROOT::Math::SMatrixIdentity();
96 std::vector<AlignTransform>::const_iterator it;
100 if (
id == (*it).rawId())
103 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.
#define DEFINE_FWK_MODULE(type)
def setup(process, global_tag, zero_tesla=False)
TrackerGeometry * build(const GeometricDet *gd, const PTrackerParameters &ptp, const TrackerTopology *tTopo)
std::vector< AlignTransform > m_align
U second(std::pair< T, U > const &p)
virtual StructureType alignableObjectId() const =0
Return the alignable type identifier.
virtual Alignables components() const =0
Return vector of all direct components.
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