17 double theta=2.0*std::atan(
exp(-eta));
27 if (debug)
std::cout <<
"findDetIdECAL: eta " << eta <<
" theta " << theta <<
" phi " << phi <<
" radius " << radius <<
" subdet " << subdet << std::endl;
34 double theta=2.0*std::atan(
exp(-eta));
41 if (debug)
std::cout <<
"findDetIdHCAL: eta " << eta <<
" theta "<<theta<<
" phi " << phi <<
" radius " << radius << std::endl;
47 double phi,
double radius,
bool 53 double rcyl = radius*
std::sin(theta);
59 std::cout <<
"findDetIdCalo: rcyl " << rcyl <<
" z " << z <<
" Point " << point <<
" DetId ";
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
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)
Abs< T >::type abs(const T &t)
const DetId findDetIdECAL(const CaloGeometry *geo, double eta, double phi, bool debug=false)
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
virtual DetId getClosestCell(const GlobalPoint &r) const
Detector det() const
get the detector field from this detid
*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