1 #ifndef HGCalCommonData_HGCalTBGeomParameters_h 2 #define HGCalCommonData_HGCalTBGeomParameters_h 76 std::vector<HGCalTBParameters::hgtrform>& trforms,
77 std::vector<bool>& trformUse,
78 const std::unordered_map<int32_t, int32_t>& copies,
80 const std::vector<int32_t>& wafer2copy,
81 const std::vector<HGCalTBGeomParameters::cellParameters>& wafers,
82 const std::map<int, int>& wafertype,
83 const std::map<int, HGCalTBGeomParameters::cellParameters>& cellsf,
84 const std::map<int, HGCalTBGeomParameters::cellParameters>& cellsc,
88 std::pair<double, double>
cellPosition(
const std::vector<cellParameters>& wafers,
89 std::vector<cellParameters>::const_iterator& itrf,
93 void rescale(std::vector<double>&,
const double s);
void rescale(std::vector< double > &, const double s)
void loadWaferHexagon(HGCalTBParameters &php)
Global3DPoint GlobalPoint
std::vector< std::unordered_map< int32_t, int32_t > > layer_map
void resetZero(std::vector< double > &)
layerParameters(double rin=0, double rout=0, double zp=0)
Compact representation of the geometrical detector hierarchy.
std::unordered_map< std::string, std::vector< double > > DDVectorsMap
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
void loadCellParsHexagon(const DDCompactView *cpv, HGCalTBParameters &php)
std::vector< double > getDDDArray(const std::string &str, const DDsvalues_type &sv, const int nmin)
static constexpr double tan30deg_
~HGCalTBGeomParameters()=default
std::pair< double, double > cellPosition(const std::vector< cellParameters > &wafers, std::vector< cellParameters >::const_iterator &itrf, int wafer, double xx, double yy)
void loadSpecParsHexagon(const DDFilteredView &fv, HGCalTBParameters &php, const DDCompactView *cpv, const std::string &sdTag1, const std::string &sdTag2)
cellParameters(bool h=false, int w=0, GlobalPoint p=GlobalPoint(0, 0, 0))
void loadGeometryHexagon(const DDFilteredView &_fv, HGCalTBParameters &php, const std::string &sdTag1, const DDCompactView *cpv, const std::string &sdTag2, const std::string &sdTag3, HGCalGeometryMode::WaferMode mode)
HGCalGeomTools geomTools_
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.