1 #ifndef GUARD_surveypxbdicer_h
2 #define GUARD_surveypxbdicer_h
10 #include "Math/SMatrix.h"
11 #include "Math/SVector.h"
12 #include <CLHEP/Random/RandGauss.h>
13 #include <CLHEP/Random/Random.h>
34 SurveyPxbDicer(std::vector<edm::ParameterSet> pars,
unsigned int seed);
59 value_t getParByName(
const std::string &
name,
const std::string &par,
const std::vector<edm::ParameterSet>& pars);
70 struct findParByName:
public std::binary_function< std::string, edm::ParameterSet, bool >
73 const {
return (parset.
getParameter<std::string>(
"name") == name);}
Function object for searching for a parameter in the VPSet.
T getParameter(std::string const &) const
bool operator()(const std::string &name, const edm::ParameterSet &parset) const
SurveyPxbImage::id_t id_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::string doDice(const fidpoint_t &fidpointvec, const idPair_t &id, const bool rotate=false)
value_t ranGauss(value_t mean, value_t sigma)
std::vector< coord_t > fidpoint_t
SurveyPxbImage::coord_t coord_t
value_t getParByName(const std::string &name, const std::string &par, const std::vector< edm::ParameterSet > &pars)
std::pair< id_t, id_t > idPair_t