12 double phys_active_edge_dist = params.
getParameter<
double>(
"RPActiveEdgePosition");
26 double hit_pos_in_strips = hit_pos /
pitch_;
29 int lowest_strip_no = (int)floor(hit_pos_in_strips - range_of_interest_in_strips + 0.5);
30 int highest_strip_no = (int)
ceil(hit_pos_in_strips + range_of_interest_in_strips - 0.5);
33 std::cout <<
"lowest_strip_no:" << lowest_strip_no <<
" highest_strip_no:" << highest_strip_no << std::endl;
35 if (lowest_strip_no < 0)
40 for (
int i = lowest_strip_no;
i <= highest_strip_no; ++
i) {
41 double low_strip_range = ((double)
i - 0.5) *
pitch_;
42 double high_strip_range = low_strip_range +
pitch_;
constexpr int32_t ceil(float num)
double BottomEdgeFactor(double x, double y)
static const double phys_edge_lenght_
std::vector< strip_info > theRelevantStrips_
double active_edge_sigma_
static const unsigned short no_of_strips_
static const double y_width_
static const double x_width_
double ActiveEdgeFactor(double x, double y)
RPSimTopology(const edm::ParameterSet ¶ms)
uint16_t const *__restrict__ x
double no_of_sigms_to_include_
static const double last_strip_to_border_dist_
double TopEdgeFactor(double x, double y)
T getParameter(std::string const &) const
std::vector< strip_info > GetStripsInvolved(double x, double y, double sigma, double &hit_pos)
static const double pitch_
static const double sqrt_2