1 #ifndef HGCalCommonData_HGCalGeomParameters_h 2 #define HGCalCommonData_HGCalGeomParameters_h 111 std::vector<HGCalParameters::hgtrform>& trforms,
112 std::vector<bool>& trformUse,
113 const std::unordered_map<int32_t, int32_t>& copies,
115 const std::vector<int32_t>& wafer2copy,
116 const std::vector<HGCalGeomParameters::cellParameters>& wafers,
117 const std::map<int, int>& wafertype,
118 const std::map<int, HGCalGeomParameters::cellParameters>& cellsf,
119 const std::map<int, HGCalGeomParameters::cellParameters>& cellsc,
123 const int& firstLayer,
128 const std::vector<int>& layerType,
130 const std::vector<int>& waferProperties);
135 const std::vector<int>& tileHEX1,
136 const std::vector<int>& tileHEX2,
137 const std::vector<int>& tileHEX3,
138 const std::vector<int>& tileHEX4,
139 const std::vector<double>& tileRMin,
140 const std::vector<double>& tileRMax,
141 const std::vector<int>& tileRingMin,
142 const std::vector<int>& tileRingMax);
144 std::pair<double, double>
cellPosition(
const std::vector<cellParameters>& wafers,
145 std::vector<cellParameters>::const_iterator& itrf,
149 void rescale(std::vector<double>&,
const double s);
static constexpr int scintillatorCassette
HGCalGeomTools geomTools_
cellParameters(bool h=false, int w=0, GlobalPoint p=GlobalPoint(0, 0, 0))
static constexpr int siliconFileEE
void rescale(std::vector< double > &, const double s)
void loadGeometryHexagonModule(const DDCompactView *cpv, HGCalParameters &php, const std::string &sdTag1, const std::string &sdTag2, int firstLayer)
Global3DPoint GlobalPoint
void loadSpecParsHexagon(const DDFilteredView &fv, HGCalParameters &php, const DDCompactView *cpv, const std::string &sdTag1, const std::string &sdTag2)
void resetZero(std::vector< double > &)
Compact representation of the geometrical detector hierarchy.
std::unordered_map< std::string, std::vector< double > > DDVectorsMap
void loadSpecParsHexagon8(const DDFilteredView &fv, HGCalParameters &php)
static constexpr int scintillatorFile
int32_t tileIndex(int32_t layer, int32_t ring, int32_t phi)
~HGCalGeomParameters()=default
static constexpr int siliconCassetteHE
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
void loadCellTrapezoid(HGCalParameters &php)
std::pair< double, double > cellPosition(const std::vector< cellParameters > &wafers, std::vector< cellParameters >::const_iterator &itrf, int wafer, double xx, double yy)
layerParameters(double rin=0, double rout=0, double zp=0)
void loadCellParsHexagon(const DDCompactView *cpv, HGCalParameters &php)
static constexpr int siliconCassetteEE
std::vector< double > getDDDArray(const std::string &str, const DDsvalues_type &sv, const int nmin)
int32_t waferIndex(int32_t layer, int32_t waferU, int32_t waferV, bool old=false)
static constexpr double tan30deg_
void loadWaferHexagon(HGCalParameters &php)
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)
void loadSpecParsTrapezoid(const DDFilteredView &fv, HGCalParameters &php)
static constexpr int siliconFileHE
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
int32_t tileProperty(const int32_t type, const int32_t sipm)
void loadWaferHexagon8(HGCalParameters &php)
std::vector< std::unordered_map< int32_t, int32_t > > layer_map
void loadGeometryHexagon8(const DDFilteredView &_fv, HGCalParameters &php, int firstLayer)