1 #ifndef Geometry_VeryForwardGeometry_CTPPSPixelTopology_h 2 #define Geometry_VeryForwardGeometry_CTPPSPixelTopology_h 39 static bool isPixelHit(
float xLocalCoordinate,
float yLocalCoordinate,
bool is3x2 =
true) {
41 double xModuleSize = 2 * ((no_of_pixels_simX_ / 2. + 1) * pitch_simX_ + dead_edge_width_);
42 if (xLocalCoordinate < -xModuleSize / 2. || xLocalCoordinate > xModuleSize / 2.)
45 double yModuleSize = (no_of_pixels_simY_ + 4.) * pitch_simY_ + 2. *
dead_edge_width_;
47 if (is3x2 && (yLocalCoordinate < -yModuleSize / 2. || yLocalCoordinate > yModuleSize / 2.))
50 if (!is3x2 && (yLocalCoordinate < -yModuleSize / 2. || yLocalCoordinate > y2x2top))
static double pitch_simY_
unsigned short detPixelSimXNo() const
double detThickness() const
double detPitchSimY() const
static double phys_active_edge_dist_
static unsigned short no_of_pixels_simY_
double detPitchSimX() const
static bool isPixelHit(float xLocalCoordinate, float yLocalCoordinate, bool is3x2=true)
static double active_edge_sigma_
double physActiveEdgeDist() const
CTPPSPixelTopology()=default
Geometrical and topological information on RPix silicon detector. Uses coordinate a frame with origin...
static double dead_edge_width_
static double simX_width_
~CTPPSPixelTopology()=default
unsigned short detPixelSimYNo() const
static unsigned short no_of_pixels_
double detDeadEdgeWidth() const
static double simY_width_
unsigned short detPixelNo() const
CTPPSPixelIndices indices_
double activeEdgeSigma() const
static unsigned short no_of_pixels_simX_
static double pitch_simX_