17 textFileName( cfg.getParameter<std::
string>(
"textFileName") ),
18 theParameterSet( cfg )
55 unsigned int nComp = comp.size();
58 SurveyInputTextReader::MapType::const_iterator it
67 double* errorData = error.Array();
68 for (
unsigned int i = 0; i < 21; ++
i){errorData[
i] = parameters[i+6];}
81 error = ROOT::Math::SMatrixIdentity();
91 std::vector<AlignTransform>::const_iterator it;
95 if (
id == (*it).rawId())
98 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)
TrackerGeometry * build(const GeometricDet *gd, const edm::ParameterSet &pSet)
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.
T const * product() const
std::vector< Alignable * > Alignables
math::Error< 6 >::type ErrorMatrix
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")