CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CTPPSPixelSimTopology::PixelInfo Class Reference

#include <CTPPSPixelSimTopology.h>

Public Member Functions

double effFactor () const
 
double higherSimXBorder () const
 
double higherSimYBorder () const
 
double lowerSimXBorder () const
 
double lowerSimYBorder () const
 
unsigned short pixelColNo () const
 
unsigned short pixelIndex () const
 
 PixelInfo (double lower_simX_border, double higher_simX_border, double lower_simY_border, double higher_simY_border, double eff_factor, unsigned short pixel_row_no, unsigned short pixel_col_no)
 
unsigned short pixelRowNo () const
 

Private Attributes

double eff_factor_
 
double higher_simX_border_
 
double higher_simY_border_
 
double lower_simX_border_
 
double lower_simY_border_
 
unsigned short pixel_col_no_
 
unsigned short pixel_index_
 
unsigned short pixel_row_no_
 

Detailed Description

Definition at line 17 of file CTPPSPixelSimTopology.h.

Constructor & Destructor Documentation

◆ PixelInfo()

CTPPSPixelSimTopology::PixelInfo::PixelInfo ( double  lower_simX_border,
double  higher_simX_border,
double  lower_simY_border,
double  higher_simY_border,
double  eff_factor,
unsigned short  pixel_row_no,
unsigned short  pixel_col_no 
)
inline

Definition at line 19 of file CTPPSPixelSimTopology.h.

26  : lower_simX_border_(lower_simX_border),
27  higher_simX_border_(higher_simX_border),
28  lower_simY_border_(lower_simY_border),
29  higher_simY_border_(higher_simY_border),
30  eff_factor_(eff_factor),
31  pixel_row_no_(pixel_row_no),
32  pixel_col_no_(pixel_col_no),
33  pixel_index_(pixel_col_no * CTPPSPixelTopology::no_of_pixels_simX_ + pixel_row_no) {}

Member Function Documentation

◆ effFactor()

double CTPPSPixelSimTopology::PixelInfo::effFactor ( ) const
inline

Definition at line 39 of file CTPPSPixelSimTopology.h.

39 { return eff_factor_; }

References eff_factor_.

Referenced by RPixChargeShare::Share().

◆ higherSimXBorder()

double CTPPSPixelSimTopology::PixelInfo::higherSimXBorder ( ) const
inline

Definition at line 35 of file CTPPSPixelSimTopology.h.

35 { return higher_simX_border_; }

References higher_simX_border_.

◆ higherSimYBorder()

double CTPPSPixelSimTopology::PixelInfo::higherSimYBorder ( ) const
inline

Definition at line 37 of file CTPPSPixelSimTopology.h.

37 { return higher_simY_border_; }

References higher_simY_border_.

◆ lowerSimXBorder()

double CTPPSPixelSimTopology::PixelInfo::lowerSimXBorder ( ) const
inline

Definition at line 36 of file CTPPSPixelSimTopology.h.

36 { return lower_simX_border_; }

References lower_simX_border_.

◆ lowerSimYBorder()

double CTPPSPixelSimTopology::PixelInfo::lowerSimYBorder ( ) const
inline

Definition at line 38 of file CTPPSPixelSimTopology.h.

38 { return lower_simY_border_; }

References lower_simY_border_.

◆ pixelColNo()

unsigned short CTPPSPixelSimTopology::PixelInfo::pixelColNo ( ) const
inline

Definition at line 41 of file CTPPSPixelSimTopology.h.

41 { return pixel_col_no_; }

References pixel_col_no_.

Referenced by RPixChargeShare::Share().

◆ pixelIndex()

unsigned short CTPPSPixelSimTopology::PixelInfo::pixelIndex ( ) const
inline

Definition at line 42 of file CTPPSPixelSimTopology.h.

42 { return pixel_index_; }

References pixel_index_.

Referenced by RPixChargeShare::Share().

◆ pixelRowNo()

unsigned short CTPPSPixelSimTopology::PixelInfo::pixelRowNo ( ) const
inline

Definition at line 40 of file CTPPSPixelSimTopology.h.

40 { return pixel_row_no_; }

References pixel_row_no_.

Referenced by RPixChargeShare::Share().

Member Data Documentation

◆ eff_factor_

double CTPPSPixelSimTopology::PixelInfo::eff_factor_
private

Definition at line 49 of file CTPPSPixelSimTopology.h.

Referenced by effFactor().

◆ higher_simX_border_

double CTPPSPixelSimTopology::PixelInfo::higher_simX_border_
private

Definition at line 46 of file CTPPSPixelSimTopology.h.

Referenced by higherSimXBorder().

◆ higher_simY_border_

double CTPPSPixelSimTopology::PixelInfo::higher_simY_border_
private

Definition at line 48 of file CTPPSPixelSimTopology.h.

Referenced by higherSimYBorder().

◆ lower_simX_border_

double CTPPSPixelSimTopology::PixelInfo::lower_simX_border_
private

Definition at line 45 of file CTPPSPixelSimTopology.h.

Referenced by lowerSimXBorder().

◆ lower_simY_border_

double CTPPSPixelSimTopology::PixelInfo::lower_simY_border_
private

Definition at line 47 of file CTPPSPixelSimTopology.h.

Referenced by lowerSimYBorder().

◆ pixel_col_no_

unsigned short CTPPSPixelSimTopology::PixelInfo::pixel_col_no_
private

Definition at line 51 of file CTPPSPixelSimTopology.h.

Referenced by pixelColNo().

◆ pixel_index_

unsigned short CTPPSPixelSimTopology::PixelInfo::pixel_index_
private

Definition at line 52 of file CTPPSPixelSimTopology.h.

Referenced by pixelIndex().

◆ pixel_row_no_

unsigned short CTPPSPixelSimTopology::PixelInfo::pixel_row_no_
private

Definition at line 50 of file CTPPSPixelSimTopology.h.

Referenced by pixelRowNo().

CTPPSPixelSimTopology::PixelInfo::eff_factor_
double eff_factor_
Definition: CTPPSPixelSimTopology.h:49
CTPPSPixelSimTopology::PixelInfo::lower_simY_border_
double lower_simY_border_
Definition: CTPPSPixelSimTopology.h:47
CTPPSPixelSimTopology::PixelInfo::lower_simX_border_
double lower_simX_border_
Definition: CTPPSPixelSimTopology.h:45
CTPPSPixelSimTopology::PixelInfo::higher_simY_border_
double higher_simY_border_
Definition: CTPPSPixelSimTopology.h:48
CTPPSPixelSimTopology::PixelInfo::higher_simX_border_
double higher_simX_border_
Definition: CTPPSPixelSimTopology.h:46
CTPPSPixelSimTopology::PixelInfo::pixel_index_
unsigned short pixel_index_
Definition: CTPPSPixelSimTopology.h:52
CTPPSPixelSimTopology::PixelInfo::pixel_col_no_
unsigned short pixel_col_no_
Definition: CTPPSPixelSimTopology.h:51
CTPPSPixelSimTopology::PixelInfo::pixel_row_no_
unsigned short pixel_row_no_
Definition: CTPPSPixelSimTopology.h:50
CTPPSPixelTopology::no_of_pixels_simX_
static constexpr unsigned short no_of_pixels_simX_
Definition: CTPPSPixelTopology.h:18