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)
virtual Alignables components() const =0
Return vector of all direct components.
U second(std::pair< T, U > const &p)
std::vector< Scalar > Scalars
virtual StructureType alignableObjectId() const =0
Return the alignable type identifier.
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.
T const * product() const
std::vector< Alignable * > Alignables
TrackerGeometry * build(const GeometricDet *gd, const PTrackerParameters &ptp)
static int position[264][3]
math::Error< 6 >::type ErrorMatrix
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")