4 #include <CLHEP/Units/SystemOfUnits.h> 10 : hgcons_(&
hgc), hgTBcons_(nullptr), ifTB_(
false), cut_(maxL), rot_(
rot) {
16 : hgcons_(nullptr), hgTBcons_(&
hgc), ifTB_(
true), cut_(maxL), rot_(
rot) {
22 for (
auto ang :
angle) {
23 projXY_.push_back(std::pair<double, double>(
cos(ang * CLHEP::deg),
sin(ang * CLHEP::deg)));
28 for (
unsigned int k = 0;
k <
angle.size(); ++
k)
37 if (
point == G4ThreeVector()) {
38 std::pair<double, double>
xy;
Log< level::Info, true > LogVerbatim
const HGCalTBDDDConstants * hgTBcons_
void init(const std::vector< double > &angle)
bool exclude(G4ThreeVector &point, int zside, int layer, int waferU, int waferV)
int32_t waferU(const int32_t index)
Sin< T >::type sin(const T &t)
bool waferHexagon8() const
Cos< T >::type cos(const T &t)
Abs< T >::type abs(const T &t)
std::pair< double, double > waferPosition(int wafer, bool reco) const
std::pair< double, double > waferPosition(int wafer, bool reco) const
const HGCalDDDConstants * hgcons_
int32_t waferV(const int32_t index)
std::vector< std::pair< double, double > > projXY_
if(threadIdxLocalY==0 &&threadIdxLocalX==0)
*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
HGCMouseBite(const HGCalDDDConstants &hgc, const std::vector< double > &angle, double maxLength, bool waferRotate)
T angle(T x1, T y1, T z1, T x2, T y2, T z2)