17 textFileName( cfg.getParameter<std::string>(
"textFileName") )
49 unsigned int nComp = comp.size();
52 SurveyInputTextReader::MapType::const_iterator it
61 double* errorData = error.Array();
62 for (
unsigned int i = 0; i < 21; ++
i){errorData[
i] = parameters[i+6];}
75 error = ROOT::Math::SMatrixIdentity();
85 std::vector<AlignTransform>::const_iterator it;
89 if (
id == (*it).rawId())
92 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.
static int position[TOTALCHAMBERS][3]
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.
TrackerGeometry * build(const GeometricDet *gd)
std::vector< Alignable * > Alignables
math::Error< 6 >::type ErrorMatrix
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")