14 #include "HGCal/DataFormats/interface/HGCalTBDetId.h"
15 #include "HGCal/TBStandaloneSimulator/interface/HGCSSGeometryConversion.hh"
37 int rhs = 64 * o_ski + o.
channel;
45 std::pair<double, double>
operator()(std::pair<int, int>& uv);
46 std::pair<double, double>
uv2xy(
int u,
int v);
47 std::pair<int, int>
xy2uv(
double x,
double y);
48 int posid(
int u,
int v);
50 std::pair<int, int>
uv2eid(
int layer,
51 int sensor_u,
int sensor_v,
54 int sensor_u,
int sensor_v,
57 std::vector<HGCCellMap::Cell>
cells(
int layer = 1,
62 std::map<size_t, std::pair<int, int> > _uvmap;
63 std::map<std::pair<int, int>,
int> _posid;
64 std::map<std::pair<int, int>, std::pair<double, double> > _xymap;
66 std::map<uint32_t, int> _celltype;
67 std::map<uint32_t, std::pair<int, int> > _eidmap;
68 std::map<uint32_t, std::vector<HGCCellMap::Cell> > _cells;
70 HGCSSGeometryConversion _geom;
bool operator<(HGCCellMap::Cell &o)
HGCCellMap(std::string inputFilename="")
std::pair< int, int > uv2eid(int layer, int sensor_u, int sensor_v, int u, int v)
std::vector< HGCCellMap::Cell > cells(int layer=1, int sensor_u=0, int sensor_v=0)
std::pair< int, int > operator()(size_t cellid)
std::pair< double, double > uv2xy(int u, int v)
std::pair< int, int > xy2uv(double x, double y)
int celltype(int layer, int sensor_u, int sensor_v, int u, int v)