CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes
CTPPSPixelTopology Class Reference

Geometrical and topological information on RPix silicon detector. Uses coordinate a frame with origin in the center of the wafer. More...

#include <CTPPSPixelTopology.h>

Inheritance diagram for CTPPSPixelTopology:
CTPPSPixelSimTopology

Public Member Functions

double activeEdgeSigma () const
 
 CTPPSPixelTopology ()=default
 
double detDeadEdgeWidth () const
 
double detPitchSimX () const
 
double detPitchSimY () const
 
unsigned short detPixelNo () const
 
unsigned short detPixelSimXNo () const
 
unsigned short detPixelSimYNo () const
 
double detThickness () const
 
double detXWidth () const
 
double detYWidth () const
 
double physActiveEdgeDist () const
 
 ~CTPPSPixelTopology ()=default
 

Static Public Member Functions

static bool isPixelHit (float xLocalCoordinate, float yLocalCoordinate, bool is3x2=true)
 

Public Attributes

CTPPSPixelIndices indices_
 

Static Public Attributes

static constexpr double active_edge_sigma_ = 0.02
 
static constexpr double dead_edge_width_ = 200E-3
 
static constexpr unsigned short no_of_pixels_ = 160 * 156
 
static constexpr unsigned short no_of_pixels_simX_ = 160
 
static constexpr unsigned short no_of_pixels_simY_ = 156
 
static constexpr double phys_active_edge_dist_ = 0.150
 
static constexpr double pitch_simX_ = 100E-3
 
static constexpr double pitch_simY_ = 150E-3
 
static constexpr double simX_width_ = 16.6
 
static constexpr double simY_width_ = 24.4
 
static constexpr double thickness_ = 0.23
 

Detailed Description

Geometrical and topological information on RPix silicon detector. Uses coordinate a frame with origin in the center of the wafer.

Definition at line 10 of file CTPPSPixelTopology.h.

Constructor & Destructor Documentation

◆ CTPPSPixelTopology()

CTPPSPixelTopology::CTPPSPixelTopology ( )
default

◆ ~CTPPSPixelTopology()

CTPPSPixelTopology::~CTPPSPixelTopology ( )
default

Member Function Documentation

◆ activeEdgeSigma()

double CTPPSPixelTopology::activeEdgeSigma ( ) const
inline

Definition at line 36 of file CTPPSPixelTopology.h.

36 { return active_edge_sigma_; }

References active_edge_sigma_.

◆ detDeadEdgeWidth()

double CTPPSPixelTopology::detDeadEdgeWidth ( ) const
inline

Definition at line 35 of file CTPPSPixelTopology.h.

35 { return dead_edge_width_; }

References dead_edge_width_.

◆ detPitchSimX()

double CTPPSPixelTopology::detPitchSimX ( ) const
inline

Definition at line 27 of file CTPPSPixelTopology.h.

27 { return pitch_simX_; }

References pitch_simX_.

◆ detPitchSimY()

double CTPPSPixelTopology::detPitchSimY ( ) const
inline

Definition at line 28 of file CTPPSPixelTopology.h.

28 { return pitch_simY_; }

References pitch_simY_.

◆ detPixelNo()

unsigned short CTPPSPixelTopology::detPixelNo ( ) const
inline

◆ detPixelSimXNo()

unsigned short CTPPSPixelTopology::detPixelSimXNo ( ) const
inline

Definition at line 30 of file CTPPSPixelTopology.h.

30 { return no_of_pixels_simX_; }

References no_of_pixels_simX_.

◆ detPixelSimYNo()

unsigned short CTPPSPixelTopology::detPixelSimYNo ( ) const
inline

Definition at line 31 of file CTPPSPixelTopology.h.

31 { return no_of_pixels_simY_; }

References no_of_pixels_simY_.

◆ detThickness()

double CTPPSPixelTopology::detThickness ( ) const
inline

Definition at line 29 of file CTPPSPixelTopology.h.

29 { return thickness_; }

References thickness_.

Referenced by RPixLinearChargeCollectionDrifter::RPixLinearChargeCollectionDrifter().

◆ detXWidth()

double CTPPSPixelTopology::detXWidth ( ) const
inline

Definition at line 33 of file CTPPSPixelTopology.h.

33 { return simX_width_; }

References simX_width_.

◆ detYWidth()

double CTPPSPixelTopology::detYWidth ( ) const
inline

Definition at line 34 of file CTPPSPixelTopology.h.

34 { return simY_width_; }

References simY_width_.

◆ isPixelHit()

static bool CTPPSPixelTopology::isPixelHit ( float  xLocalCoordinate,
float  yLocalCoordinate,
bool  is3x2 = true 
)
inlinestatic

Definition at line 39 of file CTPPSPixelTopology.h.

39  {
40  // check hit fiducial boundaries
41  double xModuleSize = 2 * ((no_of_pixels_simX_ / 2. + 1) * pitch_simX_ + dead_edge_width_);
42  if (xLocalCoordinate < -xModuleSize / 2. || xLocalCoordinate > xModuleSize / 2.)
43  return false;
44 
45  double yModuleSize = (no_of_pixels_simY_ + 4.) * pitch_simY_ + 2. * dead_edge_width_;
46  double y2x2top = no_of_pixels_simY_ / 6. * pitch_simY_ + dead_edge_width_;
47  if (is3x2 && (yLocalCoordinate < -yModuleSize / 2. || yLocalCoordinate > yModuleSize / 2.))
48  return false;
49 
50  if (!is3x2 && (yLocalCoordinate < -yModuleSize / 2. || yLocalCoordinate > y2x2top))
51  return false;
52 
53  return true;
54  }

References dead_edge_width_, no_of_pixels_simX_, no_of_pixels_simY_, pitch_simX_, and pitch_simY_.

Referenced by CTPPSDirectProtonSimulation::processProton().

◆ physActiveEdgeDist()

double CTPPSPixelTopology::physActiveEdgeDist ( ) const
inline

Definition at line 37 of file CTPPSPixelTopology.h.

37 { return phys_active_edge_dist_; }

References phys_active_edge_dist_.

Member Data Documentation

◆ active_edge_sigma_

constexpr double CTPPSPixelTopology::active_edge_sigma_ = 0.02
staticconstexpr

◆ dead_edge_width_

constexpr double CTPPSPixelTopology::dead_edge_width_ = 200E-3
staticconstexpr

◆ indices_

CTPPSPixelIndices CTPPSPixelTopology::indices_

Definition at line 56 of file CTPPSPixelTopology.h.

◆ no_of_pixels_

constexpr unsigned short CTPPSPixelTopology::no_of_pixels_ = 160 * 156
staticconstexpr

Definition at line 20 of file CTPPSPixelTopology.h.

Referenced by detPixelNo().

◆ no_of_pixels_simX_

constexpr unsigned short CTPPSPixelTopology::no_of_pixels_simX_ = 160
staticconstexpr

◆ no_of_pixels_simY_

constexpr unsigned short CTPPSPixelTopology::no_of_pixels_simY_ = 156
staticconstexpr

Definition at line 19 of file CTPPSPixelTopology.h.

Referenced by detPixelSimYNo(), and isPixelHit().

◆ phys_active_edge_dist_

constexpr double CTPPSPixelTopology::phys_active_edge_dist_ = 0.150
staticconstexpr

◆ pitch_simX_

constexpr double CTPPSPixelTopology::pitch_simX_ = 100E-3
staticconstexpr

◆ pitch_simY_

constexpr double CTPPSPixelTopology::pitch_simY_ = 150E-3
staticconstexpr

◆ simX_width_

constexpr double CTPPSPixelTopology::simX_width_ = 16.6
staticconstexpr

◆ simY_width_

constexpr double CTPPSPixelTopology::simY_width_ = 24.4
staticconstexpr

◆ thickness_

constexpr double CTPPSPixelTopology::thickness_ = 0.23
staticconstexpr

Definition at line 17 of file CTPPSPixelTopology.h.

Referenced by detThickness().

CTPPSPixelTopology::simX_width_
static constexpr double simX_width_
Definition: CTPPSPixelTopology.h:21
CTPPSPixelTopology::pitch_simY_
static constexpr double pitch_simY_
Definition: CTPPSPixelTopology.h:15
CTPPSPixelTopology::simY_width_
static constexpr double simY_width_
Definition: CTPPSPixelTopology.h:22
CTPPSPixelTopology::pitch_simX_
static constexpr double pitch_simX_
Definition: CTPPSPixelTopology.h:16
CTPPSPixelTopology::no_of_pixels_simY_
static constexpr unsigned short no_of_pixels_simY_
Definition: CTPPSPixelTopology.h:19
CTPPSPixelTopology::thickness_
static constexpr double thickness_
Definition: CTPPSPixelTopology.h:17
CTPPSPixelTopology::active_edge_sigma_
static constexpr double active_edge_sigma_
Definition: CTPPSPixelTopology.h:24
CTPPSPixelTopology::phys_active_edge_dist_
static constexpr double phys_active_edge_dist_
Definition: CTPPSPixelTopology.h:25
CTPPSPixelTopology::dead_edge_width_
static constexpr double dead_edge_width_
Definition: CTPPSPixelTopology.h:23
CTPPSPixelTopology::no_of_pixels_simX_
static constexpr unsigned short no_of_pixels_simX_
Definition: CTPPSPixelTopology.h:18
CTPPSPixelTopology::no_of_pixels_
static constexpr unsigned short no_of_pixels_
Definition: CTPPSPixelTopology.h:20