2 #ifndef Geometry_HGCalCommonData_HGCalCellUV_h 3 #define Geometry_HGCalCommonData_HGCalCellUV_h 13 HGCalCellUV(
double waferSize,
double separation, int32_t nFine, int32_t nCoarse);
16 double xloc,
double yloc, int32_t placement, int32_t
type,
bool extend,
bool debug)
const;
19 double xloc,
double yloc, int32_t placement, int32_t
type,
bool extend,
bool debug)
const;
31 double xloc,
double yloc, int32_t placement, int32_t
type,
bool extend,
bool debug)
const;
34 double xloc,
double yloc, int32_t placement, int32_t
type,
bool extend,
bool debug);
37 double xloc,
double yloc, int32_t placement, int32_t
type, int32_t partial,
bool extend,
bool debug)
const;
47 std::map<std::pair<int, int>, std::pair<double, double> >& cellPos,
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::unique_ptr< HGCalCell > hgcalcell_
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