CMS 3D CMS Logo

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(
16  const CaloSubdetectorGeometry* geo, double theta, double phi, double radius, bool debug = false);
17 
18 } // namespace spr
19 #endif
spr
Definition: CaloConstants.h:6
spr::findDetIdCalo
const DetId findDetIdCalo(const CaloSubdetectorGeometry *geo, double theta, double phi, double radius, bool debug=false)
Definition: DetIdFromEtaPhi.cc:50
DetId
Definition: DetId.h:17
CaloGeometry
Definition: CaloGeometry.h:21
debug
#define debug
Definition: HDRShower.cc:19
PVValHelper::eta
Definition: PVValidationHelpers.h:70
theta
Geom::Theta< T > theta() const
Definition: Basic3DVectorLD.h:150
CaloSubdetectorGeometry.h
spr::findDetIdECAL
const DetId findDetIdECAL(const CaloGeometry *geo, double eta, double phi, bool debug=false)
Definition: DetIdFromEtaPhi.cc:14
spr::findDetIdHCAL
const DetId findDetIdHCAL(const CaloGeometry *geo, double eta, double phi, bool debug=false)
Definition: DetIdFromEtaPhi.cc:34
DetId.h
CaloGeometry.h
CosmicsPD_Skims.radius
radius
Definition: CosmicsPD_Skims.py:135
CaloSubdetectorGeometry
Definition: CaloSubdetectorGeometry.h:22