![]() |
Project
|
#include <Geometry.h>
Public Types | |
enum | HCALDesgin { Sandwich = 0 , Spaghetti = 1 , Sheets = 2 } |
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 | getHCALPitchSize () const |
float | getHCALBeamPipeHoleSize () 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 () |
HCALDesgin | getHCALDesign () const |
Static Public Member Functions | |
static Geometry * | getInstance () |
static Geometry * | getInstance (const std::string name) |
Definition at line 59 of file Geometry.h.
Enumerator | |
---|---|
Sandwich | |
Spaghetti | |
Sheets |
Definition at line 62 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 1086 of file Geometry.cxx.
const Composition * Geometry::getComposition | ( | int | layer, |
int | stack | ||
) | const |
Definition at line 661 of file Geometry.cxx.
|
inline |
Definition at line 147 of file Geometry.h.
|
inline |
Definition at line 146 of file Geometry.h.
double Geometry::getECALCenterZ | ( | ) | const |
Definition at line 890 of file Geometry.cxx.
double Geometry::getECALSizeZ | ( | ) | const |
Definition at line 878 of file Geometry.cxx.
std::vector< const Composition * > Geometry::getFOCALMicroModule | ( | int | layer | ) | const |
Definition at line 673 of file Geometry.cxx.
double Geometry::getFOCALSegmentZ | ( | int | seg | ) | const |
Definition at line 968 of file Geometry.cxx.
double Geometry::getFOCALSizeX | ( | ) | const |
Definition at line 854 of file Geometry.cxx.
double Geometry::getFOCALSizeY | ( | ) | const |
Definition at line 860 of file Geometry.cxx.
double Geometry::getFOCALSizeZ | ( | ) | const |
Definition at line 866 of file Geometry.cxx.
|
inline |
Definition at line 128 of file Geometry.h.
std::tuple< double, double, double > Geometry::getGeoCompositionCenter | ( | int | tower, |
int | layer, | ||
int | stack | ||
) | const |
Definition at line 767 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 784 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 796 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 818 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 1093 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 694 of file Geometry.cxx.
|
inline |
Definition at line 139 of file Geometry.h.
|
inline |
Definition at line 138 of file Geometry.h.
|
inline |
Definition at line 134 of file Geometry.h.
|
inline |
Definition at line 137 of file Geometry.h.
|
inline |
Definition at line 135 of file Geometry.h.
|
inline |
Definition at line 136 of file Geometry.h.
|
inline |
Definition at line 144 of file Geometry.h.
double Geometry::getHCALCenterZ | ( | ) | const |
Definition at line 910 of file Geometry.cxx.
|
inline |
Definition at line 169 of file Geometry.h.
|
inline |
Definition at line 143 of file Geometry.h.
double Geometry::getHCALSizeZ | ( | ) | const |
Definition at line 899 of file Geometry.cxx.
|
inline |
Definition at line 108 of file Geometry.h.
|
inline |
Definition at line 109 of file Geometry.h.
|
inline |
Definition at line 107 of file Geometry.h.
|
inline |
Definition at line 141 of file Geometry.h.
|
inline |
Definition at line 142 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 140 of file Geometry.h.
|
inline |
Definition at line 113 of file Geometry.h.
|
inline |
Definition at line 114 of file Geometry.h.
|
inline |
Definition at line 115 of file Geometry.h.
|
inline |
Definition at line 111 of file Geometry.h.
|
inline |
Definition at line 102 of file Geometry.h.
|
inline |
Definition at line 103 of file Geometry.h.
|
inline |
Definition at line 104 of file Geometry.h.
|
inline |
Definition at line 112 of file Geometry.h.
|
inline |
Definition at line 105 of file Geometry.h.
|
inline |
Definition at line 106 of file Geometry.h.
|
inline |
Definition at line 110 of file Geometry.h.
|
inline |
Definition at line 129 of file Geometry.h.
|
inline |
Definition at line 130 of file Geometry.h.
std::tuple< int, int, int, int, int, int, int > Geometry::getPadPositionId2RowColStackLayer | ( | int | id | ) | const |
Definition at line 922 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 1028 of file Geometry.cxx.
|
inline |
Definition at line 151 of file Geometry.h.
|
inline |
Definition at line 131 of file Geometry.h.
|
inline |
Definition at line 132 of file Geometry.h.
|
inline |
Definition at line 133 of file Geometry.h.
|
inline |
Definition at line 119 of file Geometry.h.
double Geometry::getTowerSizeX | ( | ) | const |
Definition at line 840 of file Geometry.cxx.
double Geometry::getTowerSizeY | ( | ) | const |
Definition at line 847 of file Geometry.cxx.
std::tuple< bool, int, int, int, int > Geometry::getVirtualInfo | ( | double | x, |
double | y, | ||
double | z | ||
) | const |
Definition at line 1107 of file Geometry.cxx.
bool Geometry::getVirtualIsHCal | ( | int | segment | ) | const |
Definition at line 1432 of file Geometry.cxx.
bool Geometry::getVirtualIsPixel | ( | int | segment | ) | const |
Definition at line 1417 of file Geometry.cxx.
Definition at line 1291 of file Geometry.cxx.
Definition at line 1478 of file Geometry.cxx.
Definition at line 1462 of file Geometry.cxx.
Definition at line 1246 of file Geometry.cxx.
Definition at line 1446 of file Geometry.cxx.
int Geometry::getVirtualNSegments | ( | ) | const |
Definition at line 1284 of file Geometry.cxx.
float Geometry::getVirtualPadSize | ( | int | segment | ) | const |
Definition at line 1353 of file Geometry.cxx.
float Geometry::getVirtualPixelTreshold | ( | int | segment | ) | const |
Definition at line 1372 of file Geometry.cxx.
float Geometry::getVirtualRelativeSensitiveThickness | ( | int | segment | ) | const |
Definition at line 1362 of file Geometry.cxx.
int Geometry::getVirtualSegment | ( | float | z | ) | const |
Definition at line 1346 of file Geometry.cxx.
Definition at line 1328 of file Geometry.cxx.
float Geometry::getVirtualSegmentSizeZ | ( | int | segment | ) | const |
Definition at line 1382 of file Geometry.cxx.
float Geometry::getVirtualSegmentZ | ( | int | segment | ) | const |
Definition at line 1397 of file Geometry.cxx.
std::tuple< bool, double, double, double > Geometry::getXYZFromColRowSeg | ( | int | col, |
int | row, | ||
int | segment | ||
) | const |
Definition at line 1189 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 987 of file Geometry.cxx.
void Geometry::setUpTowerWaferSize | ( | ) |
Definition at line 1064 of file Geometry.cxx.
|
protected |
Definition at line 241 of file Geometry.h.
|
protected |
Definition at line 173 of file Geometry.h.
|
protected |
segment location in z
Definition at line 236 of file Geometry.h.
|
protected |
Definition at line 172 of file Geometry.h.
|
protected |
Definition at line 190 of file Geometry.h.
|
protected |
Definition at line 189 of file Geometry.h.
|
protected |
Definition at line 223 of file Geometry.h.
|
protected |
Definition at line 214 of file Geometry.h.
|
protected |
Definition at line 220 of file Geometry.h.
|
protected |
Definition at line 219 of file Geometry.h.
|
protected |
Definition at line 217 of file Geometry.h.
|
protected |
Definition at line 218 of file Geometry.h.
|
protected |
Definition at line 216 of file Geometry.h.
|
protected |
Definition at line 213 of file Geometry.h.
|
protected |
Definition at line 180 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 183 of file Geometry.h.
|
protected |
Definition at line 179 of file Geometry.h.
|
protected |
Definition at line 185 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 196 of file Geometry.h.
|
protected |
Definition at line 197 of file Geometry.h.
|
protected |
Definition at line 194 of file Geometry.h.
|
protected |
Definition at line 195 of file Geometry.h.
|
protected |
Definition at line 198 of file Geometry.h.
|
protected |
Definition at line 201 of file Geometry.h.
|
protected |
Definition at line 193 of file Geometry.h.
|
protected |
Definition at line 184 of file Geometry.h.
|
protected |
Definition at line 207 of file Geometry.h.
|
protected |
Definition at line 208 of file Geometry.h.
|
protected |
Definition at line 211 of file Geometry.h.
|
protected |
Definition at line 212 of file Geometry.h.
|
protected |
Definition at line 176 of file Geometry.h.
|
protected |
Definition at line 221 of file Geometry.h.
|
protected |
Definition at line 239 of file Geometry.h.
|
protected |
Definition at line 226 of file Geometry.h.
|
protected |
Definition at line 225 of file Geometry.h.
|
protected |
Definition at line 228 of file Geometry.h.
|
protected |
Definition at line 240 of file Geometry.h.
|
protected |
Definition at line 234 of file Geometry.h.
|
protected |
Definition at line 235 of file Geometry.h.
|
protected |
Definition at line 233 of file Geometry.h.
|
protected |
Definition at line 229 of file Geometry.h.
|
protected |
Definition at line 204 of file Geometry.h.
|
protected |
Definition at line 205 of file Geometry.h.
|
protected |
Definition at line 231 of file Geometry.h.
|
protected |
Definition at line 232 of file Geometry.h.
|
protected |
Definition at line 174 of file Geometry.h.
|
protected |
Definition at line 237 of file Geometry.h.
|
protected |
Definition at line 175 of file Geometry.h.
|
protected |
Definition at line 206 of file Geometry.h.
|
protected |
Definition at line 238 of file Geometry.h.
|
protected |
Definition at line 230 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 243 of file Geometry.h.
|
protected |
Definition at line 244 of file Geometry.h.
|
protected |
Definition at line 186 of file Geometry.h.
|
protected |
Definition at line 187 of file Geometry.h.