#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 |
Description: Internal topology of PPS detectors
Implementation: <Notes on="" implementation>="">
Definition at line 22 of file PPSPixelTopology.h.
PPSPixelTopology::PPSPixelTopology | ( | ) |
Definition at line 6 of file PPSPixelTopology.cc.
PPSPixelTopology::~PPSPixelTopology | ( | ) |
Definition at line 23 of file PPSPixelTopology.cc.
|
private |
Definition at line 135 of file PPSPixelTopology.cc.
References active_edge_sigma_, distanceFromBottomActiveEdge(), distanceFromLeftActiveEdge(), distanceFromRightActiveEdge(), distanceFromTopActiveEdge(), Exception, x, and y.
Referenced by getPixelsInvolved().
|
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().
|
private |
Definition at line 151 of file PPSPixelTopology.cc.
References active_edge_y_, and y.
Referenced by activeEdgeFactor().
|
private |
Definition at line 153 of file PPSPixelTopology.cc.
References active_edge_x_, and x.
Referenced by activeEdgeFactor().
|
private |
Definition at line 152 of file PPSPixelTopology.cc.
References active_edge_x_, and x.
Referenced by activeEdgeFactor().
|
private |
Definition at line 150 of file PPSPixelTopology.cc.
References active_edge_y_, and y.
Referenced by activeEdgeFactor().
double PPSPixelTopology::getActiveEdgeSigma | ( | ) | const |
double PPSPixelTopology::getActiveEdgeX | ( | ) | const |
double PPSPixelTopology::getActiveEdgeY | ( | ) | const |
double PPSPixelTopology::getDeadEdgeWidth | ( | ) | const |
unsigned short PPSPixelTopology::getNoPixels | ( | ) | const |
Definition at line 234 of file PPSPixelTopology.cc.
References no_of_pixels_.
Referenced by RPixChargeShare::RPixChargeShare().
unsigned short PPSPixelTopology::getNoPixelsSimX | ( | ) | const |
Definition at line 232 of file PPSPixelTopology.cc.
References no_of_pixels_simX_.
Referenced by RPixChargeShare::Share().
unsigned short PPSPixelTopology::getNoPixelsSimY | ( | ) | const |
Definition at line 233 of file PPSPixelTopology.cc.
References no_of_pixels_simY_.
Referenced by RPixChargeShare::Share().
double PPSPixelTopology::getPhysActiveEdgeDist | ( | ) | const |
Definition at line 239 of file PPSPixelTopology.cc.
References phys_active_edge_dist_.
Referenced by RPixChargeShare::Share().
double PPSPixelTopology::getPitchSimX | ( | ) | const |
Definition at line 230 of file PPSPixelTopology.cc.
References pitch_simX_.
Referenced by RPixChargeShare::Share().
double PPSPixelTopology::getPitchSimY | ( | ) | const |
Definition at line 229 of file PPSPixelTopology.cc.
References pitch_simY_.
Referenced by RPixChargeShare::Share().
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().
std::string PPSPixelTopology::getRunType | ( | ) | const |
double PPSPixelTopology::getSimXWidth | ( | ) | const |
Definition at line 235 of file PPSPixelTopology.cc.
References simX_width_.
Referenced by RPixChargeShare::Share().
double PPSPixelTopology::getSimYWidth | ( | ) | const |
Definition at line 236 of file PPSPixelTopology.cc.
References simY_width_.
Referenced by RPixChargeShare::Share().
double PPSPixelTopology::getThickness | ( | ) | const |
Definition at line 231 of file PPSPixelTopology.cc.
References thickness_.
Referenced by RPixLinearChargeCollectionDrifter::RPixLinearChargeCollectionDrifter().
|
private |
Definition at line 221 of file PPSPixelTopology.cc.
References no_of_pixels_simX_.
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().
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().
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().
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_.
|
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().
|
private |
Definition at line 217 of file PPSPixelTopology.cc.
References no_of_pixels_simX_.
|
private |
void PPSPixelTopology::setActiveEdgeSigma | ( | double | aes | ) |
void PPSPixelTopology::setActiveEdgeX | ( | double | aex | ) |
void PPSPixelTopology::setActiveEdgeY | ( | double | aey | ) |
void PPSPixelTopology::setDeadEdgeWidth | ( | double | dew | ) |
void PPSPixelTopology::setNoPixels | ( | unsigned short | np | ) |
void PPSPixelTopology::setNoPixelsSimX | ( | unsigned short | npx | ) |
Definition at line 249 of file PPSPixelTopology.cc.
References no_of_pixels_simX_.
void PPSPixelTopology::setNoPixelsSimY | ( | unsigned short | npy | ) |
Definition at line 250 of file PPSPixelTopology.cc.
References no_of_pixels_simY_.
void PPSPixelTopology::setPhysActiveEdgeDist | ( | double | pae | ) |
Definition at line 256 of file PPSPixelTopology.cc.
References phys_active_edge_dist_.
void PPSPixelTopology::setPitchSimX | ( | double | psx | ) |
void PPSPixelTopology::setPitchSimY | ( | double | psy | ) |
void PPSPixelTopology::setRunType | ( | std::string | rt | ) |
void PPSPixelTopology::setSimXWidth | ( | double | sxw | ) |
void PPSPixelTopology::setSimYWidth | ( | double | syw | ) |
void PPSPixelTopology::setThickness | ( | double | tss | ) |
|
friend |
Definition at line 145 of file PPSPixelTopology.h.
|
friend |
Definition at line 145 of file PPSPixelTopology.h.
|
private |
Definition at line 139 of file PPSPixelTopology.h.
Referenced by activeEdgeFactor(), getActiveEdgeSigma(), printInfo(), and setActiveEdgeSigma().
|
private |
Definition at line 142 of file PPSPixelTopology.h.
Referenced by distanceFromLeftActiveEdge(), distanceFromRightActiveEdge(), getActiveEdgeX(), printInfo(), and setActiveEdgeX().
|
private |
Definition at line 143 of file PPSPixelTopology.h.
Referenced by distanceFromBottomActiveEdge(), distanceFromTopActiveEdge(), getActiveEdgeY(), printInfo(), and setActiveEdgeY().
|
private |
Definition at line 138 of file PPSPixelTopology.h.
Referenced by col(), getDeadEdgeWidth(), isPixelHit(), pixelRange(), printInfo(), row(), and setDeadEdgeWidth().
|
private |
Definition at line 135 of file PPSPixelTopology.h.
Referenced by getNoPixels(), printInfo(), and setNoPixels().
|
private |
Definition at line 133 of file PPSPixelTopology.h.
Referenced by getNoPixelsSimX(), index2RowCol(), isPixelHit(), pixelIndex(), printInfo(), rowCol2Index(), and setNoPixelsSimX().
|
private |
Definition at line 134 of file PPSPixelTopology.h.
Referenced by getNoPixelsSimY(), isPixelHit(), printInfo(), and setNoPixelsSimY().
|
private |
Definition at line 140 of file PPSPixelTopology.h.
Referenced by getPhysActiveEdgeDist(), pixelRange(), printInfo(), and setPhysActiveEdgeDist().
|
private |
Definition at line 131 of file PPSPixelTopology.h.
Referenced by getPitchSimX(), isPixelHit(), pixelRange(), printInfo(), row(), and setPitchSimX().
|
private |
Definition at line 130 of file PPSPixelTopology.h.
Referenced by col(), getPitchSimY(), isPixelHit(), pixelRange(), printInfo(), and setPitchSimY().
|
private |
Definition at line 129 of file PPSPixelTopology.h.
Referenced by getRunType(), isPixelHit(), printInfo(), and setRunType().
|
private |
Definition at line 136 of file PPSPixelTopology.h.
Referenced by getPixelsInvolved(), getSimXWidth(), pixelRange(), printInfo(), row(), and setSimXWidth().
|
private |
Definition at line 137 of file PPSPixelTopology.h.
Referenced by col(), getPixelsInvolved(), getSimYWidth(), pixelRange(), printInfo(), and setSimYWidth().
|
private |
Definition at line 132 of file PPSPixelTopology.h.
Referenced by getThickness(), printInfo(), and setThickness().