13 modeUV_(hgcons_.geomMode()),
14 v17OrLess_(hgcons_.v17OrLess()),
15 waferSize_(hgcons_.waferSize(
false)),
16 guardRingOffset_(hgcons_.getParameter()->guardRingOffset_) {
23 <<
" coefficients " <<
c22_ <<
":" <<
c27_;
35 <<
" index " <<
index <<
" partial " << partial <<
" type " <<
type;
39 }
else if (partial < 0) {
47 edm::LogVerbatim(
"HGCSim") <<
"HGCGuardRingPatial:: orient " <<
orient <<
" placement " << placement <<
" dx " 48 <<
dx <<
" dy " <<
dy;
55 check |=
std::abs(criterion[0] *
dy + criterion[1] *
dx + criterion[2]) < criterion[3];
62 check |=
std::abs(criterion[0] *
dy + criterion[1] *
dx + criterion[2]) < criterion[3];
68 <<
" wafer " <<
waferU <<
":" <<
waferV <<
" partial type " << partial <<
" type " Log< level::Info, true > LogVerbatim
static constexpr double c27O
static int32_t cellPlacementIndex(int32_t iz, int32_t frontBack, int32_t orient)
static constexpr int32_t WaferPartLDOffset
static int getType(int index, const HGCalParameters::waferInfo_map &wafers)
const double guardRingOffset_
const HGCalParameters * getParameter() const
int32_t waferU(const int32_t index)
static int getPartial(int index, const HGCalParameters::waferInfo_map &wafers)
static constexpr double c27
static int getOrient(int index, const HGCalParameters::waferInfo_map &wafers)
static constexpr int32_t WaferPartLDCount
const HGCalGeometryMode::GeometryMode modeUV_
static constexpr int32_t WaferFull
HGCGuardRingPartial(const HGCalDDDConstants &hgc)
static std::array< double, 4 > maskCut(const int &part, const int &place, const double &waferSize, const double &offset, const bool &v17OrLess)
static constexpr double c22O
Abs< T >::type abs(const T &t)
int32_t waferIndex(int32_t layer, int32_t waferU, int32_t waferV, bool old=false)
static constexpr int32_t WaferPartHDOffset
int32_t waferV(const int32_t index)
static constexpr double c22
waferInfo_map waferInfoMap_
bool exclude(G4ThreeVector &point, int zside, int frontBack, int layer, int waferU, int waferV)
const HGCalDDDConstants & hgcons_
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
static constexpr int32_t WaferPartHDCount