#include <HGCGuardRingPartial.h>
Public Member Functions | |
bool | exclude (G4ThreeVector &point, int zside, int frontBack, int layer, int waferU, int waferV) |
HGCGuardRingPartial (const HGCalDDDConstants &hgc) | |
Static Public Member Functions | |
static bool | insidePolygon (double x, double y, const std::vector< std::pair< double, double > > &xyv) |
Private Attributes | |
const double | guardRingOffset_ |
const HGCalDDDConstants & | hgcons_ |
const HGCalGeometryMode::GeometryMode | modeUV_ |
double | offset_ |
const double | waferSize_ |
double | xmax_ |
double | ymax_ |
Static Private Attributes | |
static constexpr std::array< double, 12 > | cos_1 = {{0.5, -0.5, -1.0, -0.5, 0.5, 1.0, -0.5, 0.5, 1.0, 0.5, -0.5, -1.0}} |
static constexpr std::array< double, 12 > | cot_1 |
static constexpr double | sqrt3_ = 1.732050807568877 |
static constexpr std::array< double, 12 > | tan_1 |
Definition at line 10 of file HGCGuardRingPartial.h.
HGCGuardRingPartial::HGCGuardRingPartial | ( | const HGCalDDDConstants & | hgc | ) |
Definition at line 10 of file HGCGuardRingPartial.cc.
References guardRingOffset_, modeUV_, offset_, and waferSize_.
bool HGCGuardRingPartial::exclude | ( | G4ThreeVector & | point, |
int | zside, | ||
int | frontBack, | ||
int | layer, | ||
int | waferU, | ||
int | waferV | ||
) |
Definition at line 22 of file HGCGuardRingPartial.cc.
References funct::abs(), HGCalTypes::c10, HGCalTypes::c22, HGCalTypes::c27, HGCalCell::cellPlacementIndex(), RPCNoise_example::check, cos_1, cot_1, PVValHelper::dx, PVValHelper::dy, HGCalWaferType::getOrient(), HGCalDDDConstants::getParameter(), HGCalWaferType::getPartial(), HGCalWaferType::getType(), HGCalGeometryMode::Hexagon8Cassette, hgcons_, nano_mu_digi_cff::layer, modeUV_, offset_, hgcalPerformanceValidation::orient, point, sqrt3_, tan_1, HGCalTypes::WaferFull, HGCalWaferIndex::waferIndex(), HGCalParameters::waferInfoMap_, waferSize_, HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), and ecaldqm::zside().
|
static |
|
staticprivate |
Definition at line 23 of file HGCGuardRingPartial.h.
Referenced by exclude().
|
staticprivate |
|
private |
Definition at line 20 of file HGCGuardRingPartial.h.
Referenced by HGCGuardRingPartial().
|
private |
Definition at line 18 of file HGCGuardRingPartial.h.
Referenced by exclude().
|
private |
Definition at line 19 of file HGCGuardRingPartial.h.
Referenced by exclude(), and HGCGuardRingPartial().
|
private |
Definition at line 26 of file HGCGuardRingPartial.h.
Referenced by exclude(), and HGCGuardRingPartial().
|
staticprivate |
Definition at line 17 of file HGCGuardRingPartial.h.
Referenced by exclude().
|
staticprivate |
|
private |
Definition at line 20 of file HGCGuardRingPartial.h.
Referenced by exclude(), and HGCGuardRingPartial().
|
private |
Definition at line 26 of file HGCGuardRingPartial.h.
|
private |
Definition at line 26 of file HGCGuardRingPartial.h.