![]() |
Project
|
#include <Geometry.h>
Public Member Functions | |
Geometry ()=default | |
Geometry (Geometry *geo) | |
Geometry (const Geometry &geo)=default | |
Geometry & | operator= (const Geometry &geo)=default |
~Geometry ()=default | |
void | init (const std::string geoFile) |
void | init () |
void | buildComposition () |
void | setParameters (const std::string geoFile) |
void | setParameters () |
std::tuple< double, double, double > | getGeoPadCenter (int tower, int layer, int stack, int row, int col) const |
this gives global position of the pad | |
std::tuple< double, double > | getGeoPadCenterLocal (int towerX, int towerY, int row, int col) const |
this gives local position of the pad with respect to the wafer | |
std::tuple< double, double > | getGeoPixCenterLocal (int row, int col) const |
this gives local position of the pad with respect to the wafer | |
std::tuple< double, double, double > | getGeoPixelCenter (int pixel_id, int tower, int layer, int stack, int row, int col) const |
this gives global position of the pixel | |
std::tuple< double, double, double > | getGeoCompositionCenter (int tower, int layer, int stack) const |
std::tuple< int, int, int, int, int, int, int > | getPadPositionId2RowColStackLayer (int id) const |
int | getPixelNumber (int vol0, int vol1, int vol2, double x, double y) const |
std::tuple< double, double, double > | getGeoTowerCenter (int tower, int segment=-1) const |
this gives global position of the center of tower | |
bool | disabledTower (int tower) |
std::tuple< bool, int, int, int, int > | getVirtualInfo (double x, double y, double z) const |
std::tuple< bool, double, double, double > | getXYZFromColRowSeg (int col, int row, int segment) const |
std::tuple< bool, int, int > | getVirtualNColRow (int segment) const |
std::tuple< bool, int, int > | getVirtualLayerSegment (float z) const |
std::tuple< bool, int > | getVirtualSegmentFromLayer (int layer) const |
int | getVirtualSegment (float z) const |
int | getNumberOfPads () const |
int | getNumberOfPADsInX () const |
int | getNumberOfPADsInY () const |
int | getNumberOfPIXsInX () const |
int | getNumberOfPIXsInY () const |
float | getHCALTowerSize () const |
int | getHCALTowersInX () const |
int | getHCALTowersInY () const |
int | getNumberOfSegments () const |
int | getNumberOfPadLayers () const |
int | getNumberOfPixelLayers () const |
int | getNumberOfHCalLayers () const |
int | getNumberOfLayers () const |
int | getNumberOfLayerSeg () const |
double | getFOCALSizeX () const |
double | getFOCALSizeY () const |
double | getTowerSize () const |
double | getTowerSizeX () const |
double | getTowerSizeY () const |
double | getFOCALSizeZ () const |
double | getECALSizeZ () const |
double | getECALCenterZ () const |
double | getHCALSizeZ () const |
double | getHCALCenterZ () const |
double | getFOCALSegmentZ (int seg) const |
double | getFOCALZ0 () const |
int | getNumberOfTowersInX () const |
int | getNumberOfTowersInY () const |
double | getTowerGapSize () const |
double | getTowerGapSizeX () const |
double | getTowerGapSizeY () const |
double | getGlobalPixelSize () const |
double | getGlobalPixelWaferSizeX () const |
double | getGlobalPixelWaferSizeY () const |
double | getGlobalPixelSkin () const |
double | getGlobalPixelOffsetX () const |
double | getGlobalPadSize () const |
float | getMiddleTowerOffset () const |
bool | getInsertFrontPadLayers () const |
bool | getInsertHCalReadoutMaterial () const |
float | getDetectorOpeningRight () const |
float | getDetectorOpeningLeft () const |
std::vector< const Composition * > | getFOCALMicroModule (int layer) const |
const Composition * | getComposition (int layer, int stack) const |
std::string_view | getTowerGapMaterial () const |
int | getVirtualNSegments () const |
float | getVirtualPadSize (int segment) const |
float | getVirtualRelativeSensitiveThickness (int segment) const |
float | getVirtualPixelTreshold (int segment) const |
float | getVirtualSegmentSizeZ (int segment) const |
float | getVirtualSegmentZ (int segment) const |
bool | getVirtualIsPixel (int segment) const |
bool | getVirtualIsHCal (int segment) const |
int | getVirtualNLayersInSegment (int segment) const |
int | getVirtualMinLayerInSegment (int segment) const |
int | getVirtualMaxLayerInSegment (int segment) const |
void | setUpLayerSegmentMap () |
void | setUpTowerWaferSize () |
bool | getUseHCALSandwich () |
Static Public Member Functions | |
static Geometry * | getInstance () |
static Geometry * | getInstance (const std::string name) |
Definition at line 59 of file Geometry.h.
|
default |
Geometry::Geometry | ( | Geometry * | geo | ) |
Definition at line 28 of file Geometry.cxx.
|
default |
|
default |
void Geometry::buildComposition | ( | ) |
bool Geometry::disabledTower | ( | int | tower | ) |
Definition at line 1066 of file Geometry.cxx.
const Composition * Geometry::getComposition | ( | int | layer, |
int | stack | ||
) | const |
Definition at line 648 of file Geometry.cxx.
|
inline |
Definition at line 139 of file Geometry.h.
|
inline |
Definition at line 138 of file Geometry.h.
double Geometry::getECALCenterZ | ( | ) | const |
Definition at line 870 of file Geometry.cxx.
double Geometry::getECALSizeZ | ( | ) | const |
Definition at line 858 of file Geometry.cxx.
std::vector< const Composition * > Geometry::getFOCALMicroModule | ( | int | layer | ) | const |
Definition at line 660 of file Geometry.cxx.
double Geometry::getFOCALSegmentZ | ( | int | seg | ) | const |
Definition at line 948 of file Geometry.cxx.
double Geometry::getFOCALSizeX | ( | ) | const |
Definition at line 834 of file Geometry.cxx.
double Geometry::getFOCALSizeY | ( | ) | const |
Definition at line 840 of file Geometry.cxx.
double Geometry::getFOCALSizeZ | ( | ) | const |
Definition at line 846 of file Geometry.cxx.
|
inline |
Definition at line 122 of file Geometry.h.
std::tuple< double, double, double > Geometry::getGeoCompositionCenter | ( | int | tower, |
int | layer, | ||
int | stack | ||
) | const |
Definition at line 747 of file Geometry.cxx.
std::tuple< double, double, double > Geometry::getGeoPadCenter | ( | int | tower, |
int | layer, | ||
int | stack, | ||
int | row, | ||
int | col | ||
) | const |
this gives global position of the pad
Definition at line 764 of file Geometry.cxx.
std::tuple< double, double > Geometry::getGeoPadCenterLocal | ( | int | towerX, |
int | towerY, | ||
int | row, | ||
int | col | ||
) | const |
this gives local position of the pad with respect to the wafer
startting to count from upper-left
Definition at line 776 of file Geometry.cxx.
this gives local position of the pad with respect to the wafer
startting to count from upper-left
Definition at line 798 of file Geometry.cxx.
std::tuple< double, double, double > Geometry::getGeoPixelCenter | ( | int | pixel_id, |
int | tower, | ||
int | layer, | ||
int | stack, | ||
int | row, | ||
int | col | ||
) | const |
this gives global position of the pixel
Definition at line 1073 of file Geometry.cxx.
std::tuple< double, double, double > Geometry::getGeoTowerCenter | ( | int | tower, |
int | segment = -1 |
||
) | const |
this gives global position of the center of tower
Definition at line 681 of file Geometry.cxx.
|
inline |
Definition at line 133 of file Geometry.h.
|
inline |
Definition at line 132 of file Geometry.h.
|
inline |
Definition at line 128 of file Geometry.h.
|
inline |
Definition at line 131 of file Geometry.h.
|
inline |
Definition at line 129 of file Geometry.h.
|
inline |
Definition at line 130 of file Geometry.h.
double Geometry::getHCALCenterZ | ( | ) | const |
Definition at line 890 of file Geometry.cxx.
double Geometry::getHCALSizeZ | ( | ) | const |
Definition at line 879 of file Geometry.cxx.
|
inline |
Definition at line 102 of file Geometry.h.
|
inline |
Definition at line 103 of file Geometry.h.
|
inline |
Definition at line 101 of file Geometry.h.
|
inline |
Definition at line 135 of file Geometry.h.
|
inline |
Definition at line 136 of file Geometry.h.
|
static |
Definition at line 41 of file Geometry.cxx.
|
static |
Definition at line 58 of file Geometry.cxx.
|
inline |
Definition at line 134 of file Geometry.h.
|
inline |
Definition at line 107 of file Geometry.h.
|
inline |
Definition at line 108 of file Geometry.h.
|
inline |
Definition at line 109 of file Geometry.h.
|
inline |
Definition at line 105 of file Geometry.h.
|
inline |
Definition at line 96 of file Geometry.h.
|
inline |
Definition at line 97 of file Geometry.h.
|
inline |
Definition at line 98 of file Geometry.h.
|
inline |
Definition at line 106 of file Geometry.h.
|
inline |
Definition at line 99 of file Geometry.h.
|
inline |
Definition at line 100 of file Geometry.h.
|
inline |
Definition at line 104 of file Geometry.h.
|
inline |
Definition at line 123 of file Geometry.h.
|
inline |
Definition at line 124 of file Geometry.h.
std::tuple< int, int, int, int, int, int, int > Geometry::getPadPositionId2RowColStackLayer | ( | int | id | ) | const |
Definition at line 902 of file Geometry.cxx.
this is the pixel number to be stored in the Hits.root file this is used for the study with fine pixel readout the pad is divided into the pixels with the size of mGlobal_ Pixel_Size
Definition at line 1008 of file Geometry.cxx.
|
inline |
Definition at line 143 of file Geometry.h.
|
inline |
Definition at line 125 of file Geometry.h.
|
inline |
Definition at line 126 of file Geometry.h.
|
inline |
Definition at line 127 of file Geometry.h.
|
inline |
Definition at line 113 of file Geometry.h.
double Geometry::getTowerSizeX | ( | ) | const |
Definition at line 820 of file Geometry.cxx.
double Geometry::getTowerSizeY | ( | ) | const |
Definition at line 827 of file Geometry.cxx.
|
inline |
Definition at line 161 of file Geometry.h.
std::tuple< bool, int, int, int, int > Geometry::getVirtualInfo | ( | double | x, |
double | y, | ||
double | z | ||
) | const |
Definition at line 1087 of file Geometry.cxx.
bool Geometry::getVirtualIsHCal | ( | int | segment | ) | const |
Definition at line 1354 of file Geometry.cxx.
bool Geometry::getVirtualIsPixel | ( | int | segment | ) | const |
Definition at line 1339 of file Geometry.cxx.
Definition at line 1213 of file Geometry.cxx.
Definition at line 1400 of file Geometry.cxx.
Definition at line 1384 of file Geometry.cxx.
Definition at line 1180 of file Geometry.cxx.
Definition at line 1368 of file Geometry.cxx.
int Geometry::getVirtualNSegments | ( | ) | const |
Definition at line 1206 of file Geometry.cxx.
float Geometry::getVirtualPadSize | ( | int | segment | ) | const |
Definition at line 1275 of file Geometry.cxx.
float Geometry::getVirtualPixelTreshold | ( | int | segment | ) | const |
Definition at line 1294 of file Geometry.cxx.
float Geometry::getVirtualRelativeSensitiveThickness | ( | int | segment | ) | const |
Definition at line 1284 of file Geometry.cxx.
int Geometry::getVirtualSegment | ( | float | z | ) | const |
Definition at line 1268 of file Geometry.cxx.
Definition at line 1250 of file Geometry.cxx.
float Geometry::getVirtualSegmentSizeZ | ( | int | segment | ) | const |
Definition at line 1304 of file Geometry.cxx.
float Geometry::getVirtualSegmentZ | ( | int | segment | ) | const |
Definition at line 1319 of file Geometry.cxx.
std::tuple< bool, double, double, double > Geometry::getXYZFromColRowSeg | ( | int | col, |
int | row, | ||
int | segment | ||
) | const |
Definition at line 1140 of file Geometry.cxx.
void Geometry::init | ( | ) |
Definition at line 87 of file Geometry.cxx.
void Geometry::init | ( | const std::string | geoFile | ) |
Definition at line 74 of file Geometry.cxx.
void Geometry::setParameters | ( | ) |
Definition at line 168 of file Geometry.cxx.
void Geometry::setParameters | ( | const std::string | geoFile | ) |
definition of the composition
Definition at line 177 of file Geometry.cxx.
void Geometry::setUpLayerSegmentMap | ( | ) |
this function defines: layer is pixel or pad which segment this layer belongs to?
Definition at line 967 of file Geometry.cxx.
void Geometry::setUpTowerWaferSize | ( | ) |
Definition at line 1044 of file Geometry.cxx.
|
protected |
Definition at line 231 of file Geometry.h.
|
protected |
Definition at line 165 of file Geometry.h.
|
protected |
segment location in z
Definition at line 226 of file Geometry.h.
|
protected |
Definition at line 164 of file Geometry.h.
|
protected |
Definition at line 182 of file Geometry.h.
|
protected |
Definition at line 181 of file Geometry.h.
|
protected |
Definition at line 213 of file Geometry.h.
|
protected |
Definition at line 206 of file Geometry.h.
|
protected |
Definition at line 209 of file Geometry.h.
|
protected |
Definition at line 210 of file Geometry.h.
|
protected |
Definition at line 208 of file Geometry.h.
|
protected |
Definition at line 205 of file Geometry.h.
|
protected |
Definition at line 172 of file Geometry.h.
|
protected |
Definition at line 174 of file Geometry.h.
|
protected |
Definition at line 173 of file Geometry.h.
|
protected |
Definition at line 175 of file Geometry.h.
|
protected |
Definition at line 171 of file Geometry.h.
|
protected |
Definition at line 177 of file Geometry.h.
|
protected |
Definition at line 191 of file Geometry.h.
|
protected |
Definition at line 192 of file Geometry.h.
|
protected |
Definition at line 188 of file Geometry.h.
|
protected |
Definition at line 189 of file Geometry.h.
|
protected |
Definition at line 186 of file Geometry.h.
|
protected |
Definition at line 187 of file Geometry.h.
|
protected |
Definition at line 190 of file Geometry.h.
|
protected |
Definition at line 193 of file Geometry.h.
|
protected |
Definition at line 185 of file Geometry.h.
|
protected |
Definition at line 176 of file Geometry.h.
|
protected |
Definition at line 199 of file Geometry.h.
|
protected |
Definition at line 200 of file Geometry.h.
|
protected |
Definition at line 203 of file Geometry.h.
|
protected |
Definition at line 204 of file Geometry.h.
|
protected |
Definition at line 168 of file Geometry.h.
|
protected |
Definition at line 229 of file Geometry.h.
|
protected |
Definition at line 216 of file Geometry.h.
|
protected |
Definition at line 215 of file Geometry.h.
|
protected |
Definition at line 218 of file Geometry.h.
|
protected |
Definition at line 230 of file Geometry.h.
|
protected |
Definition at line 224 of file Geometry.h.
|
protected |
Definition at line 225 of file Geometry.h.
|
protected |
Definition at line 223 of file Geometry.h.
|
protected |
Definition at line 219 of file Geometry.h.
|
protected |
Definition at line 196 of file Geometry.h.
|
protected |
Definition at line 197 of file Geometry.h.
|
protected |
Definition at line 221 of file Geometry.h.
|
protected |
Definition at line 222 of file Geometry.h.
|
protected |
Definition at line 166 of file Geometry.h.
|
protected |
Definition at line 227 of file Geometry.h.
|
protected |
Definition at line 167 of file Geometry.h.
|
protected |
Definition at line 198 of file Geometry.h.
|
protected |
Definition at line 228 of file Geometry.h.
|
protected |
Definition at line 220 of file Geometry.h.
|
protected |
Definition at line 201 of file Geometry.h.
|
protected |
Definition at line 202 of file Geometry.h.
|
protected |
Definition at line 211 of file Geometry.h.
|
protected |
Definition at line 233 of file Geometry.h.
|
protected |
Definition at line 234 of file Geometry.h.
|
protected |
Definition at line 178 of file Geometry.h.
|
protected |
Definition at line 179 of file Geometry.h.