CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes | Friends
PPSPixelTopology Class Reference

#include <CondFormats/PPSObjects/src/PPSPixelTopology.cc>

Classes

class  PixelInfo
 

Public Member Functions

double getActiveEdgeSigma () const
 
double getActiveEdgeX () const
 
double getActiveEdgeY () const
 
double getDeadEdgeWidth () const
 
unsigned short getNoPixels () const
 
unsigned short getNoPixelsSimX () const
 
unsigned short getNoPixelsSimY () const
 
double getPhysActiveEdgeDist () const
 
double getPitchSimX () const
 
double getPitchSimY () const
 
PixelInfo getPixelsInvolved (double x, double y, double sigma, double &hit_pos_x, double &hit_pos_y) const
 
std::string getRunType () const
 
double getSimXWidth () const
 
double getSimYWidth () const
 
double getThickness () const
 
bool isPixelHit (float xLocalCoordinate, float yLocalCoordinate, bool is3x2) const
 
unsigned short pixelIndex (PixelInfo pI) const
 
void pixelRange (unsigned int arow, unsigned int acol, double &lower_x, double &higher_x, double &lower_y, double &higher_y) const
 
 PPSPixelTopology ()
 
void printInfo (std::stringstream &s)
 
void setActiveEdgeSigma (double aes)
 
void setActiveEdgeX (double aex)
 
void setActiveEdgeY (double aey)
 
void setDeadEdgeWidth (double dew)
 
void setNoPixels (unsigned short np)
 
void setNoPixelsSimX (unsigned short npx)
 
void setNoPixelsSimY (unsigned short npy)
 
void setPhysActiveEdgeDist (double pae)
 
void setPitchSimX (double psx)
 
void setPitchSimY (double psy)
 
void setRunType (std::string rt)
 
void setSimXWidth (double sxw)
 
void setSimYWidth (double syw)
 
void setThickness (double tss)
 
 ~PPSPixelTopology ()
 

Private Member Functions

double activeEdgeFactor (double x, double y) const
 
unsigned int col (double y) const
 
double distanceFromBottomActiveEdge (double x, double y) const
 
double distanceFromLeftActiveEdge (double x, double y) const
 
double distanceFromRightActiveEdge (double x, double y) const
 
double distanceFromTopActiveEdge (double x, double y) const
 
void index2RowCol (unsigned int &arow, unsigned int &acol, unsigned int index) const
 
unsigned int row (double x) const
 
void rowCol2Index (unsigned int arow, unsigned int acol, unsigned int &index) const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

double active_edge_sigma_
 
double active_edge_x_
 
double active_edge_y_
 
double dead_edge_width_
 
unsigned short no_of_pixels_
 
unsigned short no_of_pixels_simX_
 
unsigned short no_of_pixels_simY_
 
double phys_active_edge_dist_
 
double pitch_simX_
 
double pitch_simY_
 
std::string runType_
 
double simX_width_
 
double simY_width_
 
double thickness_
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Description: Internal topology of PPS detectors

Implementation: <Notes on="" implementation>="">

Definition at line 22 of file PPSPixelTopology.h.

Constructor & Destructor Documentation

◆ PPSPixelTopology()

PPSPixelTopology::PPSPixelTopology ( )

Definition at line 6 of file PPSPixelTopology.cc.

7  : runType_(""),
8  pitch_simY_(0.),
9  pitch_simX_(0.),
10  thickness_(0.),
13  no_of_pixels_(0.),
14  simX_width_(0.),
15  simY_width_(0.),
16  dead_edge_width_(0.),
19  active_edge_x_(0.),
20  active_edge_y_(0.) {}
unsigned short no_of_pixels_simX_
std::string runType_
unsigned short no_of_pixels_simY_
unsigned short no_of_pixels_

◆ ~PPSPixelTopology()

PPSPixelTopology::~PPSPixelTopology ( )

Definition at line 23 of file PPSPixelTopology.cc.

23 {}

Member Function Documentation

◆ activeEdgeFactor()

double PPSPixelTopology::activeEdgeFactor ( double  x,
double  y 
) const
private

Definition at line 135 of file PPSPixelTopology.cc.

References active_edge_sigma_, distanceFromBottomActiveEdge(), distanceFromLeftActiveEdge(), distanceFromRightActiveEdge(), distanceFromTopActiveEdge(), Exception, x, and y.

Referenced by getPixelsInvolved().

135  {
136  const double inv_sigma = 1. / active_edge_sigma_; // precaching
137  const double topEdgeFactor = std::erf(-distanceFromTopActiveEdge(x, y) * inv_sigma) * 0.5 + 0.5;
138  const double bottomEdgeFactor = std::erf(-distanceFromBottomActiveEdge(x, y) * inv_sigma) * 0.5 + 0.5;
139  const double rightEdgeFactor = std::erf(-distanceFromRightActiveEdge(x, y) * inv_sigma) * 0.5 + 0.5;
140  const double leftEdgeFactor = std::erf(-distanceFromLeftActiveEdge(x, y) * inv_sigma) * 0.5 + 0.5;
141 
142  const double aEF = topEdgeFactor * bottomEdgeFactor * rightEdgeFactor * leftEdgeFactor;
143 
144  if (aEF > 1.)
145  throw cms::Exception("PPSPixelTopology") << " pixel active edge factor > 1";
146 
147  return aEF;
148 }
double distanceFromBottomActiveEdge(double x, double y) const
double distanceFromTopActiveEdge(double x, double y) const
double distanceFromRightActiveEdge(double x, double y) const
double distanceFromLeftActiveEdge(double x, double y) const

◆ col()

unsigned int PPSPixelTopology::col ( double  y) const
private

Definition at line 185 of file PPSPixelTopology.cc.

References dead_edge_width_, Exception, createfilelist::int, pitch_simY_, simY_width_, and y.

Referenced by python.rootplot.root2matplotlib.Hist2D::colz(), and getPixelsInvolved().

185  {
186  // y in the G4 simulation system
187  unsigned int column;
188 
189  // columns (y segmentation)
190  // now y in the system centered in the bottom left corner of the sensor (sensor view, rocs behind)
191  y = y + simY_width_ / 2.;
192  if (y < 0. || y > simY_width_)
193  throw cms::Exception("PPSPixelTopology") << "pixel out of reference frame";
194 
195  if (y <= (dead_edge_width_ + pitch_simY_))
196  column = 0;
197  else if (y <= (dead_edge_width_ + (ROCSizeInY - 1) * pitch_simY_))
198  column = int((y - dead_edge_width_ - pitch_simY_) / pitch_simY_) + 1;
199  else if (y <= (dead_edge_width_ + (ROCSizeInY + 1) * pitch_simY_))
200  column = ROCSizeInY - 1;
201  else if (y <= (dead_edge_width_ + (ROCSizeInY + 3) * pitch_simY_))
202  column = ROCSizeInY;
203  else if (y <= (dead_edge_width_ + (2 * ROCSizeInY + 1) * pitch_simY_))
204  column = int((y - dead_edge_width_ - pitch_simY_) / pitch_simY_) - 1;
205  else if (y <= (dead_edge_width_ + (2 * ROCSizeInY + 3) * pitch_simY_))
206  column = 2 * ROCSizeInY - 1;
207  else if (y <= (dead_edge_width_ + (2 * ROCSizeInY + 5) * pitch_simY_))
208  column = 2 * ROCSizeInY;
209  else if (y <= (dead_edge_width_ + (3 * ROCSizeInY + 3) * pitch_simY_))
210  column = int((y - dead_edge_width_ - pitch_simY_) / pitch_simY_) - 3;
211  else
212  column = (3 * ROCSizeInY - 1);
213 
214  return column;
215 }

◆ distanceFromBottomActiveEdge()

double PPSPixelTopology::distanceFromBottomActiveEdge ( double  x,
double  y 
) const
private

Definition at line 151 of file PPSPixelTopology.cc.

References active_edge_y_, and y.

Referenced by activeEdgeFactor().

151 { return (-y - active_edge_y_); }

◆ distanceFromLeftActiveEdge()

double PPSPixelTopology::distanceFromLeftActiveEdge ( double  x,
double  y 
) const
private

Definition at line 153 of file PPSPixelTopology.cc.

References active_edge_x_, and x.

Referenced by activeEdgeFactor().

153 { return (-x - active_edge_x_); }

◆ distanceFromRightActiveEdge()

double PPSPixelTopology::distanceFromRightActiveEdge ( double  x,
double  y 
) const
private

Definition at line 152 of file PPSPixelTopology.cc.

References active_edge_x_, and x.

Referenced by activeEdgeFactor().

152 { return (x - active_edge_x_); }

◆ distanceFromTopActiveEdge()

double PPSPixelTopology::distanceFromTopActiveEdge ( double  x,
double  y 
) const
private

Definition at line 150 of file PPSPixelTopology.cc.

References active_edge_y_, and y.

Referenced by activeEdgeFactor().

150 { return (y - active_edge_y_); }

◆ getActiveEdgeSigma()

double PPSPixelTopology::getActiveEdgeSigma ( ) const

Definition at line 238 of file PPSPixelTopology.cc.

References active_edge_sigma_.

238 { return active_edge_sigma_; }

◆ getActiveEdgeX()

double PPSPixelTopology::getActiveEdgeX ( ) const

Definition at line 240 of file PPSPixelTopology.cc.

References active_edge_x_.

240 { return active_edge_x_; }

◆ getActiveEdgeY()

double PPSPixelTopology::getActiveEdgeY ( ) const

Definition at line 241 of file PPSPixelTopology.cc.

References active_edge_y_.

241 { return active_edge_y_; }

◆ getDeadEdgeWidth()

double PPSPixelTopology::getDeadEdgeWidth ( ) const

Definition at line 237 of file PPSPixelTopology.cc.

References dead_edge_width_.

237 { return dead_edge_width_; }

◆ getNoPixels()

unsigned short PPSPixelTopology::getNoPixels ( ) const

Definition at line 234 of file PPSPixelTopology.cc.

References no_of_pixels_.

Referenced by RPixChargeShare::RPixChargeShare().

234 { return no_of_pixels_; }
unsigned short no_of_pixels_

◆ getNoPixelsSimX()

unsigned short PPSPixelTopology::getNoPixelsSimX ( ) const

Definition at line 232 of file PPSPixelTopology.cc.

References no_of_pixels_simX_.

Referenced by RPixChargeShare::Share().

232 { return no_of_pixels_simX_; }
unsigned short no_of_pixels_simX_

◆ getNoPixelsSimY()

unsigned short PPSPixelTopology::getNoPixelsSimY ( ) const

Definition at line 233 of file PPSPixelTopology.cc.

References no_of_pixels_simY_.

Referenced by RPixChargeShare::Share().

233 { return no_of_pixels_simY_; }
unsigned short no_of_pixels_simY_

◆ getPhysActiveEdgeDist()

double PPSPixelTopology::getPhysActiveEdgeDist ( ) const

Definition at line 239 of file PPSPixelTopology.cc.

References phys_active_edge_dist_.

Referenced by RPixChargeShare::Share().

239 { return phys_active_edge_dist_; }

◆ getPitchSimX()

double PPSPixelTopology::getPitchSimX ( ) const

Definition at line 230 of file PPSPixelTopology.cc.

References pitch_simX_.

Referenced by RPixChargeShare::Share().

230 { return pitch_simX_; }

◆ getPitchSimY()

double PPSPixelTopology::getPitchSimY ( ) const

Definition at line 229 of file PPSPixelTopology.cc.

References pitch_simY_.

Referenced by RPixChargeShare::Share().

229 { return pitch_simY_; }

◆ getPixelsInvolved()

PPSPixelTopology::PixelInfo PPSPixelTopology::getPixelsInvolved ( double  x,
double  y,
double  sigma,
double &  hit_pos_x,
double &  hit_pos_y 
) const

Definition at line 47 of file PPSPixelTopology.cc.

References activeEdgeFactor(), col(), Exception, pixelRange(), row(), simX_width_, simY_width_, x, and y.

Referenced by RPixChargeShare::Share().

48  {
49  //hit position wrt the bottom left corner of the sensor (-8.3, -12.2) in sensor view, rocs behind
50  hit_pos_x = x + simX_width_ / 2.;
51  hit_pos_y = y + simY_width_ / 2.;
52  if (!(hit_pos_x * hit_pos_y > 0))
53  throw cms::Exception("PPSPixelTopology") << "pixel out of reference frame";
54 
55  double hit_factor = activeEdgeFactor(x, y);
56 
57  unsigned int interested_row = row(x);
58  unsigned int interested_col = col(y);
59  double low_pixel_range_x, high_pixel_range_x, low_pixel_range_y, high_pixel_range_y;
60  pixelRange(
61  interested_row, interested_col, low_pixel_range_x, high_pixel_range_x, low_pixel_range_y, high_pixel_range_y);
62 
63  return PPSPixelTopology::PixelInfo(low_pixel_range_x,
64  high_pixel_range_x,
65  low_pixel_range_y,
66  high_pixel_range_y,
67  hit_factor,
68  interested_row,
69  interested_col);
70 }
unsigned int col(double y) const
unsigned int row(double x) const
double activeEdgeFactor(double x, double y) const
void pixelRange(unsigned int arow, unsigned int acol, double &lower_x, double &higher_x, double &lower_y, double &higher_y) const

◆ getRunType()

std::string PPSPixelTopology::getRunType ( ) const

Definition at line 228 of file PPSPixelTopology.cc.

References runType_.

228 { return runType_; }
std::string runType_

◆ getSimXWidth()

double PPSPixelTopology::getSimXWidth ( ) const

Definition at line 235 of file PPSPixelTopology.cc.

References simX_width_.

Referenced by RPixChargeShare::Share().

235 { return simX_width_; }

◆ getSimYWidth()

double PPSPixelTopology::getSimYWidth ( ) const

Definition at line 236 of file PPSPixelTopology.cc.

References simY_width_.

Referenced by RPixChargeShare::Share().

236 { return simY_width_; }

◆ getThickness()

double PPSPixelTopology::getThickness ( ) const

◆ index2RowCol()

void PPSPixelTopology::index2RowCol ( unsigned int &  arow,
unsigned int &  acol,
unsigned int  index 
) const
private

Definition at line 221 of file PPSPixelTopology.cc.

References no_of_pixels_simX_.

221  {
222  acol = index / no_of_pixels_simX_;
223  arow = index % no_of_pixels_simX_;
224 }
unsigned short no_of_pixels_simX_

◆ isPixelHit()

bool PPSPixelTopology::isPixelHit ( float  xLocalCoordinate,
float  yLocalCoordinate,
bool  is3x2 = true 
) const

Definition at line 29 of file PPSPixelTopology.cc.

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

Referenced by CTPPSDirectProtonSimulation::processProton().

29  {
30  // check hit fiducial boundaries
31  const double xModuleSize = 2 * ((no_of_pixels_simX_ / 2. + 1) * pitch_simX_ + dead_edge_width_);
32  if (xLocalCoordinate < -xModuleSize / 2. || xLocalCoordinate > xModuleSize / 2.)
33  return false;
34 
35  const double yModuleSize = (no_of_pixels_simY_ + 4.) * pitch_simY_ + 2. * dead_edge_width_;
36  const double y2x2top = no_of_pixels_simY_ / 6. * pitch_simY_ + dead_edge_width_;
37  if (is3x2 && (yLocalCoordinate < -yModuleSize / 2. || yLocalCoordinate > yModuleSize / 2.))
38  return false;
39  if (!is3x2 && (runType_ == "Run2") && (yLocalCoordinate < -yModuleSize / 2. || yLocalCoordinate > y2x2top))
40  return false;
41  if (!is3x2 && (runType_ == "Run3") && (yLocalCoordinate < -yModuleSize / 2. || yLocalCoordinate > yModuleSize / 2.))
42  return false;
43 
44  return true;
45 }
unsigned short no_of_pixels_simX_
std::string runType_
unsigned short no_of_pixels_simY_

◆ pixelIndex()

unsigned short PPSPixelTopology::pixelIndex ( PixelInfo  pI) const

Definition at line 25 of file PPSPixelTopology.cc.

References no_of_pixels_simX_, PPSPixelTopology::PixelInfo::pixelColNo(), and PPSPixelTopology::PixelInfo::pixelRowNo().

Referenced by RPixChargeShare::Share().

25  {
26  return no_of_pixels_simX_ * pI.pixelColNo() + pI.pixelRowNo();
27 }
unsigned short no_of_pixels_simX_

◆ pixelRange()

void PPSPixelTopology::pixelRange ( unsigned int  arow,
unsigned int  acol,
double &  lower_x,
double &  higher_x,
double &  lower_y,
double &  higher_y 
) const

Definition at line 72 of file PPSPixelTopology.cc.

References dead_edge_width_, Exception, phys_active_edge_dist_, pitch_simX_, pitch_simY_, simX_width_, and simY_width_.

Referenced by PPSPixelDigiAnalyzer::analyze(), getPixelsInvolved(), RPixClusterToHit::make_hit(), and RPixChargeShare::Share().

73  {
74  // x and y in the system of Geant4 SIMULATION
75  arow = (2 * ROCSizeInX - 1) - arow;
76  if (arow > (2 * ROCSizeInX - 1) || acol > (3 * ROCSizeInY - 1))
77  throw cms::Exception("PPSPixelTopology") << "pixel rows or columns exceeding limits";
78 
79  // rows (x segmentation)
80  if (arow == 0) {
81  lower_x = dead_edge_width_ - phys_active_edge_dist_; // 50 um
82  higher_x = dead_edge_width_ + pitch_simX_; // 300 um
83  } else if (arow <= (ROCSizeInX - 2)) {
84  lower_x = dead_edge_width_ + arow * pitch_simX_;
85  higher_x = dead_edge_width_ + (arow + 1) * pitch_simX_;
86  } else if (arow == (ROCSizeInX - 1)) {
87  lower_x = dead_edge_width_ + arow * pitch_simX_;
88  higher_x = dead_edge_width_ + (arow + 2) * pitch_simX_;
89  } else if (arow == ROCSizeInX) {
90  lower_x = dead_edge_width_ + (arow + 1) * pitch_simX_;
91  higher_x = dead_edge_width_ + (arow + 3) * pitch_simX_;
92  } else if (arow <= (2 * ROCSizeInX - 2)) {
93  lower_x = dead_edge_width_ + (arow + 2) * pitch_simX_;
94  higher_x = dead_edge_width_ + (arow + 3) * pitch_simX_;
95  } else if (arow == (2 * ROCSizeInX - 1)) {
96  lower_x = dead_edge_width_ + (arow + 2) * pitch_simX_;
97  higher_x = dead_edge_width_ + (arow + 3) * pitch_simX_ + phys_active_edge_dist_;
98  }
99  // columns (y segmentation)
100  if (acol == 0) {
101  lower_y = dead_edge_width_ - phys_active_edge_dist_; // 50 um
102  higher_y = dead_edge_width_ + pitch_simY_; // 350 um
103  } else if (acol <= (ROCSizeInY - 2)) {
104  lower_y = dead_edge_width_ + acol * pitch_simY_;
105  higher_y = dead_edge_width_ + (acol + 1) * pitch_simY_;
106  } else if (acol == (ROCSizeInY - 1)) {
107  lower_y = dead_edge_width_ + acol * pitch_simY_;
108  higher_y = dead_edge_width_ + (acol + 2) * pitch_simY_;
109  } else if (acol == ROCSizeInY) {
110  lower_y = dead_edge_width_ + (acol + 1) * pitch_simY_;
111  higher_y = dead_edge_width_ + (acol + 3) * pitch_simY_;
112  } else if (acol <= (2 * ROCSizeInY - 2)) {
113  lower_y = dead_edge_width_ + (acol + 2) * pitch_simY_;
114  higher_y = dead_edge_width_ + (acol + 3) * pitch_simY_;
115  } else if (acol == (2 * ROCSizeInY - 1)) {
116  lower_y = dead_edge_width_ + (acol + 2) * pitch_simY_;
117  higher_y = dead_edge_width_ + (acol + 4) * pitch_simY_;
118  } else if (acol == (2 * ROCSizeInY)) {
119  lower_y = dead_edge_width_ + (acol + 3) * pitch_simY_;
120  higher_y = dead_edge_width_ + (acol + 5) * pitch_simY_;
121  } else if (acol <= (3 * ROCSizeInY - 2)) {
122  lower_y = dead_edge_width_ + (acol + 4) * pitch_simY_;
123  higher_y = dead_edge_width_ + (acol + 5) * pitch_simY_;
124  } else if (acol == (3 * ROCSizeInY - 1)) {
125  lower_y = dead_edge_width_ + (acol + 4) * pitch_simY_;
126  higher_y = dead_edge_width_ + (acol + 5) * pitch_simY_ + phys_active_edge_dist_;
127  }
128 
129  lower_x = lower_x - simX_width_ / 2.;
130  lower_y = lower_y - simY_width_ / 2.;
131  higher_x = higher_x - simX_width_ / 2.;
132  higher_y = higher_y - simY_width_ / 2.;
133 }

◆ printInfo()

void PPSPixelTopology::printInfo ( std::stringstream &  s)

Definition at line 260 of file PPSPixelTopology.cc.

References active_edge_sigma_, active_edge_x_, active_edge_y_, dead_edge_width_, no_of_pixels_, no_of_pixels_simX_, no_of_pixels_simY_, phys_active_edge_dist_, pitch_simX_, pitch_simY_, runType_, alignCSCRings::s, simX_width_, simY_width_, and thickness_.

260  {
261  s << "\n PPS Topology parameters : \n"
262  << "\n runType_ = " << runType_ << "\n pitch_simY_ = " << pitch_simY_ << "\n pitch_simX_ = " << pitch_simX_
263  << "\n thickness_ = " << thickness_ << "\n no_of_pixels_simX_ " << no_of_pixels_simX_
264  << "\n no_of_pixels_simY_ " << no_of_pixels_simY_ << "\n no_of_pixels_ " << no_of_pixels_ << "\n simX_width_ "
265  << simX_width_ << "\n simY_width_ " << simY_width_ << "\n dead_edge_width_ " << dead_edge_width_
266  << "\n active_edge_sigma_ " << active_edge_sigma_ << "\n phys_active_edge_dist_ " << phys_active_edge_dist_
267 
268  << "\n active_edge_x_ " << active_edge_x_ << "\n active_edge_y_ " << active_edge_y_
269 
270  << std::endl;
271 }
unsigned short no_of_pixels_simX_
std::string runType_
unsigned short no_of_pixels_simY_
unsigned short no_of_pixels_

◆ row()

unsigned int PPSPixelTopology::row ( double  x) const
private

Definition at line 155 of file PPSPixelTopology.cc.

References dead_edge_width_, Exception, createfilelist::int, pitch_simX_, simX_width_, and x.

Referenced by getPixelsInvolved().

155  {
156  // x in the G4 simulation system
157  x = x + simX_width_ / 2.;
158 
159  // now x in the system centered in the bottom left corner of the sensor (sensor view, rocs behind)
160  if (x < 0. || x > simX_width_)
161  throw cms::Exception("PPSPixelTopology") << " pixel out of reference frame";
162 
163  // rows (x segmentation)
164  unsigned int arow;
165  if (x <= (dead_edge_width_ + pitch_simX_))
166  arow = 0;
167  else if (x <= (dead_edge_width_ + (ROCSizeInX - 1) * pitch_simX_))
168  arow = int((x - dead_edge_width_ - pitch_simX_) / pitch_simX_) + 1;
169  else if (x <= (dead_edge_width_ + (ROCSizeInX + 1) * pitch_simX_))
170  arow = (ROCSizeInX - 1);
171  else if (x <= (dead_edge_width_ + (ROCSizeInX + 3) * pitch_simX_))
172  arow = ROCSizeInX;
173  else if (x <= (dead_edge_width_ + (2 * ROCSizeInX + 2) * pitch_simX_))
174  arow = int((x - dead_edge_width_ - pitch_simX_) / pitch_simX_) - 1;
175  else
176  arow = (2 * ROCSizeInX - 1);
177 
178  arow = (2 * ROCSizeInX - 1) - arow;
179  if (arow > (2 * ROCSizeInX - 1))
180  throw cms::Exception("PPSPixelTopology") << " pixel row number exceeding limit";
181 
182  return arow;
183 }

◆ rowCol2Index()

void PPSPixelTopology::rowCol2Index ( unsigned int  arow,
unsigned int  acol,
unsigned int &  index 
) const
private

Definition at line 217 of file PPSPixelTopology.cc.

References no_of_pixels_simX_.

217  {
218  index = acol * no_of_pixels_simX_ + arow;
219 }
unsigned short no_of_pixels_simX_

◆ serialize()

template<class Archive >
void PPSPixelTopology::serialize ( Archive &  ar,
const unsigned int  version 
)
private

◆ setActiveEdgeSigma()

void PPSPixelTopology::setActiveEdgeSigma ( double  aes)

Definition at line 255 of file PPSPixelTopology.cc.

References active_edge_sigma_.

255 { active_edge_sigma_ = aes; }

◆ setActiveEdgeX()

void PPSPixelTopology::setActiveEdgeX ( double  aex)

Definition at line 257 of file PPSPixelTopology.cc.

References active_edge_x_.

257 { active_edge_x_ = aex; }

◆ setActiveEdgeY()

void PPSPixelTopology::setActiveEdgeY ( double  aey)

Definition at line 258 of file PPSPixelTopology.cc.

References active_edge_y_.

258 { active_edge_y_ = aey; }

◆ setDeadEdgeWidth()

void PPSPixelTopology::setDeadEdgeWidth ( double  dew)

Definition at line 254 of file PPSPixelTopology.cc.

References dead_edge_width_.

254 { dead_edge_width_ = dew; }

◆ setNoPixels()

void PPSPixelTopology::setNoPixels ( unsigned short  np)

Definition at line 251 of file PPSPixelTopology.cc.

References no_of_pixels_, and np.

251 { no_of_pixels_ = np; }
int np
Definition: AMPTWrapper.h:43
unsigned short no_of_pixels_

◆ setNoPixelsSimX()

void PPSPixelTopology::setNoPixelsSimX ( unsigned short  npx)

Definition at line 249 of file PPSPixelTopology.cc.

References no_of_pixels_simX_.

249 { no_of_pixels_simX_ = npx; }
unsigned short no_of_pixels_simX_

◆ setNoPixelsSimY()

void PPSPixelTopology::setNoPixelsSimY ( unsigned short  npy)

Definition at line 250 of file PPSPixelTopology.cc.

References no_of_pixels_simY_.

250 { no_of_pixels_simY_ = npy; }
unsigned short no_of_pixels_simY_

◆ setPhysActiveEdgeDist()

void PPSPixelTopology::setPhysActiveEdgeDist ( double  pae)

Definition at line 256 of file PPSPixelTopology.cc.

References phys_active_edge_dist_.

256 { phys_active_edge_dist_ = pae; }

◆ setPitchSimX()

void PPSPixelTopology::setPitchSimX ( double  psx)

Definition at line 247 of file PPSPixelTopology.cc.

References pitch_simX_.

247 { pitch_simX_ = psx; }

◆ setPitchSimY()

void PPSPixelTopology::setPitchSimY ( double  psy)

Definition at line 246 of file PPSPixelTopology.cc.

References pitch_simY_.

246 { pitch_simY_ = psy; }

◆ setRunType()

void PPSPixelTopology::setRunType ( std::string  rt)

Definition at line 245 of file PPSPixelTopology.cc.

References hcal_runs::rt, and runType_.

245 { runType_ = rt; }
std::string runType_

◆ setSimXWidth()

void PPSPixelTopology::setSimXWidth ( double  sxw)

Definition at line 252 of file PPSPixelTopology.cc.

References simX_width_.

252 { simX_width_ = sxw; }

◆ setSimYWidth()

void PPSPixelTopology::setSimYWidth ( double  syw)

Definition at line 253 of file PPSPixelTopology.cc.

References simY_width_.

253 { simY_width_ = syw; }

◆ setThickness()

void PPSPixelTopology::setThickness ( double  tss)

Definition at line 248 of file PPSPixelTopology.cc.

References thickness_.

248 { thickness_ = tss; }

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 145 of file PPSPixelTopology.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 145 of file PPSPixelTopology.h.

Member Data Documentation

◆ active_edge_sigma_

double PPSPixelTopology::active_edge_sigma_
private

◆ active_edge_x_

double PPSPixelTopology::active_edge_x_
private

◆ active_edge_y_

double PPSPixelTopology::active_edge_y_
private

◆ dead_edge_width_

double PPSPixelTopology::dead_edge_width_
private

◆ no_of_pixels_

unsigned short PPSPixelTopology::no_of_pixels_
private

Definition at line 135 of file PPSPixelTopology.h.

Referenced by getNoPixels(), printInfo(), and setNoPixels().

◆ no_of_pixels_simX_

unsigned short PPSPixelTopology::no_of_pixels_simX_
private

◆ no_of_pixels_simY_

unsigned short PPSPixelTopology::no_of_pixels_simY_
private

Definition at line 134 of file PPSPixelTopology.h.

Referenced by getNoPixelsSimY(), isPixelHit(), printInfo(), and setNoPixelsSimY().

◆ phys_active_edge_dist_

double PPSPixelTopology::phys_active_edge_dist_
private

◆ pitch_simX_

double PPSPixelTopology::pitch_simX_
private

Definition at line 131 of file PPSPixelTopology.h.

Referenced by getPitchSimX(), isPixelHit(), pixelRange(), printInfo(), row(), and setPitchSimX().

◆ pitch_simY_

double PPSPixelTopology::pitch_simY_
private

Definition at line 130 of file PPSPixelTopology.h.

Referenced by col(), getPitchSimY(), isPixelHit(), pixelRange(), printInfo(), and setPitchSimY().

◆ runType_

std::string PPSPixelTopology::runType_
private

Definition at line 129 of file PPSPixelTopology.h.

Referenced by getRunType(), isPixelHit(), printInfo(), and setRunType().

◆ simX_width_

double PPSPixelTopology::simX_width_
private

◆ simY_width_

double PPSPixelTopology::simY_width_
private

◆ thickness_

double PPSPixelTopology::thickness_
private

Definition at line 132 of file PPSPixelTopology.h.

Referenced by getThickness(), printInfo(), and setThickness().