|
|
Go to the documentation of this file. 1 #ifndef HGCalCommonData_HGCalGeomParameters_h
2 #define HGCalCommonData_HGCalGeomParameters_h
104 std::vector<HGCalParameters::hgtrform>& trforms,
105 std::vector<bool>& trformUse,
106 const std::unordered_map<int32_t, int32_t>& copies,
108 const std::vector<int32_t>& wafer2copy,
109 const std::vector<HGCalGeomParameters::cellParameters>& wafers,
110 const std::map<int, int>& wafertype,
111 const std::map<int, HGCalGeomParameters::cellParameters>& cellsf,
112 const std::map<int, HGCalGeomParameters::cellParameters>& cellsc,
116 const int& firstLayer,
121 const std::vector<int>& layerType,
123 const std::vector<int>& waferProperties);
128 const std::vector<int>& tileHEX1,
129 const std::vector<int>& tileHEX2,
130 const std::vector<int>& tileHEX3,
131 const std::vector<int>& tileHEX4,
132 const std::vector<double>& tileRMin,
133 const std::vector<double>& tileRMax,
134 const std::vector<int>& tileRingMin,
135 const std::vector<int>& tileRingMax);
137 std::pair<double, double>
cellPosition(
const std::vector<cellParameters>& wafers,
138 std::vector<cellParameters>::const_iterator& itrf,
142 void rescale(std::vector<double>&,
const double s);
void loadGeometryHexagon8(const DDFilteredView &_fv, HGCalParameters &php, int firstLayer)
void loadWaferHexagon8(HGCalParameters &php)
constexpr static int siliconFileEE
void loadGeometryHexagonModule(const DDCompactView *cpv, HGCalParameters &php, const std::string &sdTag1, const std::string &sdTag2, int firstLayer)
constexpr static int scintillatorFile
int32_t waferIndex(int32_t layer, int32_t waferU, int32_t waferV, bool old=false)
std::pair< double, double > cellPosition(const std::vector< cellParameters > &wafers, std::vector< cellParameters >::const_iterator &itrf, int wafer, double xx, double yy)
void loadGeometryHexagon(const DDFilteredView &_fv, HGCalParameters &php, const std::string &sdTag1, const DDCompactView *cpv, const std::string &sdTag2, const std::string &sdTag3, HGCalGeometryMode::WaferMode mode)
int32_t tileIndex(int32_t layer, int32_t ring, int32_t phi)
HGCalGeomTools geomTools_
void rescale(std::vector< double > &, const double s)
std::vector< double > getDDDArray(const std::string &str, const DDsvalues_type &sv, const int nmin)
layerParameters(double rin=0, double rout=0, double zp=0)
constexpr static double tan30deg_
Compact representation of the geometrical detector hierarchy.
void loadSpecParsTrapezoid(const DDFilteredView &fv, HGCalParameters &php)
Global3DPoint GlobalPoint
cellParameters(bool h=false, int w=0, GlobalPoint p=GlobalPoint(0, 0, 0))
void loadCellParsHexagon(const DDCompactView *cpv, HGCalParameters &php)
const HitContainer *__restrict__ const TkSoA *__restrict__ Quality *__restrict__ uint16_t nmin
void loadCellTrapezoid(HGCalParameters &php)
constexpr static int siliconFileHE
void loadSpecParsHexagon(const DDFilteredView &fv, HGCalParameters &php, const DDCompactView *cpv, const std::string &sdTag1, const std::string &sdTag2)
void loadWaferHexagon(HGCalParameters &php)
std::unordered_map< std::string, std::vector< double > > DDVectorsMap
int32_t tileProperty(const int32_t type, const int32_t sipm)
void loadSpecParsHexagon8(const DDFilteredView &fv, HGCalParameters &php)
std::vector< std::unordered_map< int32_t, int32_t > > layer_map
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
void resetZero(std::vector< double > &)