CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DetIdFromEtaPhi.h
Go to the documentation of this file.
1 #ifndef CalibrationIsolatedParticleseCDetIdFromEtaPhi_h
2 #define CalibrationIsolatedParticleseCDetIdFromEtaPhi_h
3 
4 #include <cmath>
5 
9 
10 namespace spr{
11 
12  // Returns the DetId from eta, phi values in ECAL and HCAL
13  const DetId findDetIdECAL( const CaloGeometry* geo, double eta, double phi, bool debug=false) ;
14  const DetId findDetIdHCAL( const CaloGeometry* geo, double eta, double phi, bool debug=false) ;
15  const DetId findDetIdCalo( const CaloSubdetectorGeometry* geo, double theta, double phi, double radius, bool debug=false) ;
16 
17 }
18 #endif
const DetId findDetIdCalo(const CaloSubdetectorGeometry *geo, double theta, double phi, double radius, bool debug=false)
Geom::Theta< T > theta() const
const DetId findDetIdHCAL(const CaloGeometry *geo, double eta, double phi, bool debug=false)
const DetId findDetIdECAL(const CaloGeometry *geo, double eta, double phi, bool debug=false)
Definition: DetId.h:18
#define debug
Definition: HDRShower.cc:19