28 textFileName(
cfg.getParameter<
std::
string>(
"textFileName")) {}
59 throw cms::Exception(
"NotAvailable") <<
"PoolDBOutputService not available";
63 *myAlignmentErrorsExtended, poolDbService->
beginOfTime(),
"TrackerAlignmentErrorExtendedRcd");
71 unsigned int nComp =
comp.size();
73 for (
unsigned int i = 0;
i < nComp; ++
i)
94 double* errorData =
error.Array();
95 for (
unsigned int i = 0;
i < 21; ++
i) {
101 error = ROOT::Math::SMatrixIdentity();
align::GlobalPoints toGlobal(const align::LocalPoints &) const
Return in global coord given a set of local points.
virtual void rotateInLocalFrame(const RotationType &rotation)
Rotation intepreted in the local reference frame.
void readFile(const std::string &textFileName)
Read given text file.
virtual AlignmentErrorsExtended * alignmentErrors() const =0
Return vector of alignment errors.
const AlignableSurface & surface() const
Return the Surface (global position and orientation) of the object.
#define DEFINE_FWK_MODULE(type)
TrackerGeometry * build(const GeometricDet *gd, const PTrackerAdditionalParametersPerDet *ptitp, const PTrackerParameters &ptp, const TrackerTopology *tTopo)
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
cond::Time_t beginOfTime() const
virtual void move(const GlobalVector &displacement)=0
Movement with respect to the global reference frame.
U second(std::pair< T, U > const &p)
std::vector< Scalar > Scalars
virtual StructureType alignableObjectId() const =0
Return the alignable type identifier.
Hash writeOneIOV(const T &payload, Time_t time, const std::string &recordName)
virtual const Alignables & components() const =0
Return vector of all direct components.
align::ID id() const
Return the ID of Alignable, i.e. DetId of 'first' component GeomDet(Unit).
void setSurvey(const SurveyDet *)
Set survey info.
std::vector< Alignable * > Alignables
math::Error< 6 >::type ErrorMatrix
const MapType & UniqueIdMap() const
virtual Alignments * alignments() const =0
Return vector of alignment data.