|
|
Go to the documentation of this file.
12 edm::LogVerbatim(
"HGCalGeom") <<
"FastTimeDDDConstants::FastTimeDDDConstants "
13 <<
"( const FastTimeParameters* ft ) constructor";
35 <<
" iz|iphi " << iz <<
" " <<
iphi;
37 return std::pair<int, int>(iz,
iphi);
44 for (
unsigned int k = 1;
k <
rLimits_.size(); ++
k) {
55 <<
" ir|iphi " << ir <<
" " <<
iphi;
57 return std::pair<int, int>(ir,
iphi);
61 double x(0),
y(0),
z(0);
67 }
else if (
type == 2) {
81 double x(0),
y(0),
z(0),
dx(0),
dz(0),
r(0),
phi(0);
90 }
else if (
type == 2) {
103 static const int signx[8] = {-1, -1, 1, 1, -1, -1, 1, 1};
104 static const int signy[8] = {-1, 1, 1, -1, -1, 1, 1, -1};
105 static const int signz[8] = {-1, -1, -1, -1, 1, 1, 1, 1};
106 std::vector<GlobalPoint>
pts;
107 for (
unsigned int i = 0;
i != 8; ++
i) {
118 }
else if (
type == 2) {
128 }
else if (
type == 2) {
138 }
else if (
type == 2) {
148 }
else if (
type == 2) {
158 }
else if (
type == 2) {
167 ok = ((izeta > 0) && (izeta <= ftpar_->nZBarrel_) && (
iphi > 0) && (iphi <= ftpar_->nPhiBarrel_));
168 }
else if (
type == 2) {
169 ok = ((izeta > 0) && (izeta <= ftpar_->nEtaEndcap_) && (
iphi > 0) && (iphi <= ftpar_->nPhiEndcap_));
178 }
else if (
type == 2) {
188 }
else if (
type == 2) {
double getRout(int type) const
std::vector< double > rLimits_
constexpr NumType convertRadToDeg(NumType radians)
std::vector< double > geomParBarrel_
double getZPos(int type) const
Sin< T >::type sin(const T &t)
Cos< T >::type cos(const T &t)
double getRin(int type) const
std::pair< int, int > getZPhi(double z, double phi) const
Geom::Theta< T > theta() const
FastTimeDDDConstants(const FastTimeParameters *ftp)
int getCells(int type) const
constexpr long double piRadians(M_PIl)
int numberPhi(int type) const
Tan< T >::type tan(const T &t)
int numberEtaZ(int type) const
std::pair< int, int > getEtaPhi(double r, double phi) const
static const double pts[33]
#define TYPELOOKUP_DATA_REG(_dataclass_)
Log< level::Info, true > LogVerbatim
std::vector< double > geomParEndcap_
const FastTimeParameters * ftpar_
bool isValidXY(int type, int izeta, int iphi) const
double getZHalf(int type) const
std::vector< GlobalPoint > getCorners(int type, int izeta, int iphi, int zside) const
GlobalPoint getPosition(int type, int izeta, int iphi, int zside) const