18 double theta = 2.0 * std::atan(
exp(-eta));
28 edm::LogVerbatim(
"IsoTrack") <<
"findDetIdECAL: eta " << eta <<
" theta " << theta <<
" phi " << phi <<
" radius "
29 << radius <<
" subdet " << subdet;
35 double theta = 2.0 * std::atan(
exp(-eta));
42 edm::LogVerbatim(
"IsoTrack") <<
"findDetIdHCAL: eta " << eta <<
" theta " << theta <<
" phi " << phi <<
" radius "
48 double rcyl = radius *
std::sin(theta);
53 std::ostringstream st1;
62 edm::LogVerbatim(
"IsoTrack") <<
"findDetIdCalo: rcyl " << rcyl <<
" z " << z <<
" Point " << point <<
" DetId "
Log< level::Info, true > LogVerbatim
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
static const double etaBEEcal
const DetId findDetIdCalo(const CaloSubdetectorGeometry *geo, double theta, double phi, double radius, bool debug=false)
static const double etaBEHcal
static const double zFrontHE
Sin< T >::type sin(const T &t)
Geom::Theta< T > theta() const
Exp< T >::type exp(const T &t)
const DetId findDetIdHCAL(const CaloGeometry *geo, double eta, double phi, bool debug=false)
static const double rFrontHB
static const double zFrontEE
static const double rFrontEB
Cos< T >::type cos(const T &t)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
Abs< T >::type abs(const T &t)
const DetId findDetIdECAL(const CaloGeometry *geo, double eta, double phi, bool debug=false)
virtual DetId getClosestCell(const GlobalPoint &r) const
*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
constexpr Detector det() const
get the detector field from this detid