13 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;
40 for(
int i=lowest_strip_no;
i<=highest_strip_no; ++
i)
42 double low_strip_range = ((double)
i-0.5)*
pitch_;
43 double high_strip_range = low_strip_range+
pitch_;
T getParameter(std::string const &) const
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_
T x() const
Cartesian x coordinate.
static const double y_width_
static const double x_width_
double ActiveEdgeFactor(double x, double y)
RPSimTopology(const edm::ParameterSet ¶ms)
double no_of_sigms_to_include_
static const double last_strip_to_border_dist_
double TopEdgeFactor(double x, double y)
std::vector< strip_info > GetStripsInvolved(double x, double y, double sigma, double &hit_pos)
static const double pitch_
static const double sqrt_2