1 #ifndef Geometry_HGCalCommonData_HGCalCellUV_h 2 #define Geometry_HGCalCommonData_HGCalCellUV_h 14 double xloc,
double yloc, int32_t placement, int32_t
type,
bool extend,
bool debug);
17 double xloc,
double yloc, int32_t placement, int32_t
type,
bool extend,
bool debug);
20 double xloc,
double yloc, int32_t placement, int32_t
type,
bool extend,
bool debug);
23 double xloc,
double yloc, int32_t placement, int32_t
type,
bool extend,
bool debug);
33 std::map<std::pair<int, int>, std::pair<double, double> >& cellPos,
37 static constexpr
double sqrt3_ = 1.732050807568877;
39 static constexpr
double cos60_ = 0.5;
std::pair< int32_t, int32_t > cellUVFromXY2(double xloc, double yloc, int32_t placement, int32_t type, bool extend, bool debug)
static constexpr double sqrt3_
std::map< std::pair< int32_t, int32_t >, std::pair< double, double > > cellPosFine_[HGCalCell::cellPlacementTotal]
static constexpr int32_t cellPlacementTotal
std::pair< int32_t, int32_t > cellUVFromXY3(double xloc, double yloc, int32_t placement, int32_t type, bool extend, bool debug)
std::pair< int32_t, int32_t > cellUVFromXY1(double xloc, double yloc, int32_t placement, int32_t type, bool extend, bool debug)
static constexpr double cos60_
HGCalCellUV(double waferSize, double separation, int32_t nFine, int32_t nCoarse)
static constexpr double sin60_
std::map< std::pair< int32_t, int32_t >, std::pair< double, double > > cellPosCoarse_[HGCalCell::cellPlacementTotal]
std::pair< int32_t, int32_t > cellUVFromXY4(double xloc, double yloc, int32_t placement, int32_t type, bool extend, bool debug)