14 <<
"FastTimeDDDConstants::FastTimeDDDConstants " 15 <<
"( const FastTimeParameters* ft ) constructor";
37 return std::pair<int, int>(iz, iphi);
44 for (
unsigned int k = 1;
k <
rLimits_.size(); ++
k) {
57 return std::pair<int, int>(ir, iphi);
62 double x(0),
y(0),
z(0);
68 }
else if (type == 2) {
70 double r = (izeta <= 0 || izeta >= (
int)(
rLimits_.size()))
73 x = (zside < 0) ? -r *
cos(phi) : r *
cos(phi);
77 if (zside < 0) z = -
z;
85 double x(0),
y(0),
z(0),
dx(0),
dz(0),
r(0),
phi(0);
94 }
else if (type == 2) {
99 x = (zside < 0) ? -
r *
cos(phi) :
r *
cos(phi);
109 static const int signx[8] = {-1, -1, 1, 1, -1, -1, 1, 1};
110 static const int signy[8] = {-1, 1, 1, -1, -1, 1, 1, -1};
111 static const int signz[8] = {-1, -1, -1, -1, 1, 1, 1, 1};
112 std::vector<GlobalPoint>
pts;
113 for (
unsigned int i = 0;
i != 8; ++
i) {
124 }
else if (type == 2) {
134 }
else if (type == 2) {
144 }
else if (type == 2) {
154 }
else if (type == 2) {
164 }
else if (type == 2) {
173 ok = ((izeta > 0) && (izeta <= ftpar_->nZBarrel_) && (iphi > 0) &&
174 (iphi <= ftpar_->nPhiBarrel_));
175 }
else if (type == 2) {
176 ok = ((izeta > 0) && (izeta <= ftpar_->nEtaEndcap_) && (iphi > 0) &&
177 (iphi <= ftpar_->nPhiEndcap_));
186 }
else if (type == 2) {
196 }
else if (type == 2) {
215 double theta = 2.0 * atan(
exp(-eta));
226 <<
" cells for barrel; dz|dphi " <<
dZBarrel_ 231 <<
" The Limits in R are";
double getZPos(int type) const
std::pair< int, int > getEtaPhi(double r, double phi) const
bool isValidXY(int type, int izeta, int iphi) const
int numberEtaZ(int type) const
Sin< T >::type sin(const T &t)
Geom::Theta< T > theta() const
constexpr NumType convertRadToDeg(NumType radians)
FastTimeDDDConstants(const FastTimeParameters *ftp)
int numberPhi(int type) const
constexpr long double piRadians(M_PI)
std::vector< double > geomParEndcap_
static const double pts[33]
std::pair< int, int > getZPhi(double z, double phi) const
Cos< T >::type cos(const T &t)
Tan< T >::type tan(const T &t)
std::vector< double > rLimits_
std::vector< GlobalPoint > getCorners(int type, int izeta, int iphi, int zside) const
int getCells(int type) const
#define TYPELOOKUP_DATA_REG(_dataclass_)
unsigned long long int rval
std::vector< double > geomParBarrel_
double getRin(int type) const
double getRout(int type) const
GlobalPoint getPosition(int type, int izeta, int iphi, int zside) const
double getZHalf(int type) const
const FastTimeParameters * ftpar_