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)
const;
17 double xloc,
double yloc, int32_t placement, int32_t
type,
bool extend,
bool debug)
const;
20 double xloc,
double yloc, int32_t placement, int32_t
type,
bool extend,
bool debug)
const;
23 double xloc,
double yloc, int32_t placement, int32_t
type,
bool extend,
bool debug);
26 double xloc,
double yloc, int32_t placement, int32_t
type, int32_t partial,
bool extend,
bool debug)
const;
36 std::map<std::pair<int, int>, std::pair<double, double> >& cellPos,
40 static constexpr
double sqrt3_ = 1.732050807568877;
42 static constexpr
double cos60_ = 0.5;
std::pair< int32_t, int32_t > cellUVFromXY1(double xloc, double yloc, int32_t placement, int32_t type, bool extend, bool debug) const
static constexpr double sqrt3_
std::map< std::pair< int32_t, int32_t >, std::pair< double, double > > cellPosFine_[HGCalCell::cellPlacementTotal]
static constexpr int32_t cellPlacementTotal
static constexpr double cos60_
std::pair< int32_t, int32_t > cellUVFromXY3(double xloc, double yloc, int32_t placement, int32_t type, bool extend, bool debug) const
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)
std::pair< int32_t, int32_t > cellUVFromXY2(double xloc, double yloc, int32_t placement, int32_t type, bool extend, bool debug) const