21 : textFileName( cfg.getParameter<std::
string>(
"textFileName") ),
22 theParameterSet( cfg )
58 throw cms::Exception(
"NotAvailable") <<
"PoolDBOutputService not available";
70 unsigned int nComp = comp.size();
76 SurveyInputTextReader::MapType::const_iterator it
94 double* errorData = error.Array();
95 for (
unsigned int i = 0; i < 21; ++
i){errorData[
i] = parameters[i+6];}
100 error = ROOT::Math::SMatrixIdentity();
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.
void readFile(const std::string &textFileName)
Read given text file.
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
#define DEFINE_FWK_MODULE(type)
TrackerGeometry * build(const GeometricDet *gd, const edm::ParameterSet &pSet)
virtual void move(const GlobalVector &displacement)=0
Movement with respect to the global reference frame.
virtual Alignables components() const =0
Return vector of all direct components.
U second(std::pair< T, U > const &p)
std::vector< Scalar > Scalars
cond::Time_t beginOfTime() const
virtual StructureType alignableObjectId() const =0
Return the alignable type identifier.
void writeOne(T *payload, Time_t time, const std::string &recordName, bool withlogging=false)
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
align::GlobalPoints toGlobal(const align::LocalPoints &) const
Return in global coord given a set of local points.
math::Error< 6 >::type ErrorMatrix
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
virtual Alignments * alignments() const =0
Return vector of alignment data.
virtual AlignmentErrors * alignmentErrors() const =0
Return vector of alignment errors.