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 ()
 
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 ()
 

Static Public Member Functions

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

Public Attributes

CTPPSPixelIndices indices_
 

Static Public Attributes

static double active_edge_sigma_ = 0.02
 
static double dead_edge_width_ = 200E-3
 
static unsigned short no_of_pixels_ = 160*156
 
static unsigned short no_of_pixels_simX_ = 160
 
static unsigned short no_of_pixels_simY_ = 156
 
static double phys_active_edge_dist_ = 0.150
 
static double pitch_simX_ = 100E-3
 
static double pitch_simY_ = 150E-3
 
static double simX_width_ = 16.6
 
static double simY_width_ = 24.4
 
static 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 11 of file CTPPSPixelTopology.h.

Constructor & Destructor Documentation

CTPPSPixelTopology::CTPPSPixelTopology ( )

Definition at line 3 of file CTPPSPixelTopology.cc.

4 {}
CTPPSPixelTopology::~CTPPSPixelTopology ( )

Definition at line 6 of file CTPPSPixelTopology.cc.

7 {}

Member Function Documentation

double CTPPSPixelTopology::activeEdgeSigma ( ) const
inline

Definition at line 38 of file CTPPSPixelTopology.h.

References active_edge_sigma_.

38 { return active_edge_sigma_; }
static double active_edge_sigma_
double CTPPSPixelTopology::detDeadEdgeWidth ( ) const
inline

Definition at line 37 of file CTPPSPixelTopology.h.

References dead_edge_width_.

37 { return dead_edge_width_; }
static double dead_edge_width_
double CTPPSPixelTopology::detPitchSimX ( ) const
inline

Definition at line 29 of file CTPPSPixelTopology.h.

References pitch_simX_.

29 { return pitch_simX_; }
static double pitch_simX_
double CTPPSPixelTopology::detPitchSimY ( ) const
inline

Definition at line 30 of file CTPPSPixelTopology.h.

References pitch_simY_.

30 { return pitch_simY_; }
static double pitch_simY_
unsigned short CTPPSPixelTopology::detPixelNo ( ) const
inline

Definition at line 34 of file CTPPSPixelTopology.h.

References no_of_pixels_.

34 { return no_of_pixels_; }
static unsigned short no_of_pixels_
unsigned short CTPPSPixelTopology::detPixelSimXNo ( ) const
inline

Definition at line 32 of file CTPPSPixelTopology.h.

References no_of_pixels_simX_.

32 { return no_of_pixels_simX_; }
static unsigned short no_of_pixels_simX_
unsigned short CTPPSPixelTopology::detPixelSimYNo ( ) const
inline

Definition at line 33 of file CTPPSPixelTopology.h.

References no_of_pixels_simY_.

33 { return no_of_pixels_simY_; }
static unsigned short no_of_pixels_simY_
double CTPPSPixelTopology::detThickness ( ) const
inline

Definition at line 31 of file CTPPSPixelTopology.h.

References thickness_.

31 { return thickness_; }
static double thickness_
double CTPPSPixelTopology::detXWidth ( ) const
inline

Definition at line 35 of file CTPPSPixelTopology.h.

References simX_width_.

35 { return simX_width_; }
static double simX_width_
double CTPPSPixelTopology::detYWidth ( ) const
inline

Definition at line 36 of file CTPPSPixelTopology.h.

References simY_width_.

36 { return simY_width_; }
static double simY_width_
static bool CTPPSPixelTopology::isPixelHit ( float  xLocalCoordinate,
float  yLocalCoordinate,
bool  is3x2 = true 
)
inlinestatic

Definition at line 42 of file CTPPSPixelTopology.h.

References dead_edge_width_.

Referenced by CTPPSDirectProtonSimulation::processProton().

43  {
44 // check hit fiducial boundaries
45  double xModuleSize = 2*((no_of_pixels_simX_/2. + 1)*pitch_simX_ + dead_edge_width_);
46  if(xLocalCoordinate < -xModuleSize/2. || xLocalCoordinate > xModuleSize/2.)
47  return false;
48 
49  double yModuleSize = (no_of_pixels_simY_ + 4.)*pitch_simY_ + 2.*dead_edge_width_;
50  double y2x2top = no_of_pixels_simY_/6.*pitch_simY_ + dead_edge_width_;
51  if(is3x2 && (yLocalCoordinate < -yModuleSize/2. || yLocalCoordinate > yModuleSize/2.))
52  return false;
53 
54  if(!is3x2 && (yLocalCoordinate < -yModuleSize/2. || yLocalCoordinate > y2x2top))
55  return false;
56 
57  return true;
58 
59  }
static double pitch_simY_
static unsigned short no_of_pixels_simY_
static double dead_edge_width_
static unsigned short no_of_pixels_simX_
static double pitch_simX_
double CTPPSPixelTopology::physActiveEdgeDist ( ) const
inline

Definition at line 39 of file CTPPSPixelTopology.h.

References phys_active_edge_dist_.

39 { return phys_active_edge_dist_; }
static double phys_active_edge_dist_

Member Data Documentation

double CTPPSPixelTopology::active_edge_sigma_ = 0.02
static
double CTPPSPixelTopology::dead_edge_width_ = 200E-3
static
CTPPSPixelIndices CTPPSPixelTopology::indices_

Definition at line 61 of file CTPPSPixelTopology.h.

unsigned short CTPPSPixelTopology::no_of_pixels_ = 160*156
static

Definition at line 22 of file CTPPSPixelTopology.h.

Referenced by detPixelNo().

unsigned short CTPPSPixelTopology::no_of_pixels_simX_ = 160
static
unsigned short CTPPSPixelTopology::no_of_pixels_simY_ = 156
static

Definition at line 21 of file CTPPSPixelTopology.h.

Referenced by detPixelSimYNo().

double CTPPSPixelTopology::phys_active_edge_dist_ = 0.150
static
double CTPPSPixelTopology::pitch_simX_ = 100E-3
static
double CTPPSPixelTopology::pitch_simY_ = 150E-3
static
double CTPPSPixelTopology::simX_width_ = 16.6
static
double CTPPSPixelTopology::simY_width_ = 24.4
static
double CTPPSPixelTopology::thickness_ = 0.23
static

Definition at line 19 of file CTPPSPixelTopology.h.

Referenced by detThickness().