Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:59:09

0001 #ifndef CalibrationIsolatedParticleseCDetIdFromEtaPhi_h
0002 #define CalibrationIsolatedParticleseCDetIdFromEtaPhi_h
0003 
0004 #include <cmath>
0005 
0006 #include "DataFormats/DetId/interface/DetId.h"
0007 #include "Geometry/CaloGeometry/interface/CaloGeometry.h"
0008 #include "Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h"
0009 
0010 namespace spr {
0011 
0012   // Returns the DetId from eta, phi values in ECAL and HCAL
0013   const DetId findDetIdECAL(const CaloGeometry* geo, double eta, double phi, bool debug = false);
0014   const DetId findDetIdHCAL(const CaloGeometry* geo, double eta, double phi, bool debug = false);
0015   const DetId findDetIdCalo(
0016       const CaloSubdetectorGeometry* geo, double theta, double phi, double radius, bool debug = false);
0017 
0018 }  // namespace spr
0019 #endif