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