Go to the documentation of this file.
13 #include "Math/SMatrix.h"
14 #include "Math/SVector.h"
15 #include "CLHEP/Random/RandGauss.h"
16 #include "CLHEP/Random/Random.h"
22 CLHEP::HepRandom::setTheSeed(
seed);
50 std::ostringstream oss;
56 <<
" a0-a3: " <<
a0 <<
" " << a1 <<
" " <<
a2 <<
" " << a3 <<
" S: " <<
scale <<
" phi: " <<
phi
57 <<
" x0: " << fidpointvec[0].
x() <<
" " << fidpointvec[0].y() <<
" x1: " << fidpointvec[1].x() <<
" "
58 << fidpointvec[1].y() <<
" x2: " << fidpointvec[2].x() <<
" " << fidpointvec[2].y()
59 <<
" x3: " << fidpointvec[3].x() <<
" " << fidpointvec[3].y() << std::endl;
77 const std::vector<edm::ParameterSet> &pars) {
78 std::vector<edm::ParameterSet>::const_iterator it;
80 if (it == pars.end()) {
81 throw std::runtime_error(
"Parameter not found in SurveyPxbDicer::getParByName");
83 return (*it).getParameter<
value_t>(par);
U second(std::pair< T, U > const &p)
std::vector< coord_t > fidpoint_t
coord_t transform(const coord_t &x, const value_t &a0, const value_t &a1, const value_t &a2, const value_t &a3)
std::pair< id_t, id_t > idPair_t
def rotate(angle, cx=0, cy=0)
std::string doDice(const fidpoint_t &fidpointvec, const idPair_t &id, const bool rotate=false)
Sin< T >::type sin(const T &t)
Cos< T >::type cos(const T &t)
SurveyPxbImage::coord_t coord_t
value_t ranGauss(value_t mean, value_t sigma)
Function object for searching for a parameter in the VPSet.
static constexpr float a0
value_t getParByName(const std::string &name, const std::string &par, const std::vector< edm::ParameterSet > &pars)