Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:25:01

0001 #ifndef EGAMMATOOLS_EcalClusterLocal_h
0002 #define EGAMMATOOLS_EcalClusterLocal_h
0003 
0004 /** \class EcalClusterLocal
0005   *  Function to compute local coordinates of Ecal clusters
0006   *  (adapted from RecoEcal/EgammaCoreTools/plugins/EcalClusterLocal)
0007   *  \author Josh Bendavid, MIT, 2011
0008   */
0009 
0010 #include "DataFormats/CaloRecHit/interface/CaloClusterFwd.h"
0011 
0012 class CaloGeometry;
0013 
0014 namespace egammaTools {
0015 
0016   void localEcalClusterCoordsEB(const reco::CaloCluster &bclus,
0017                                 const CaloGeometry &geom,
0018                                 float &etacry,
0019                                 float &phicry,
0020                                 int &ieta,
0021                                 int &iphi,
0022                                 float &thetatilt,
0023                                 float &phitilt);
0024   void localEcalClusterCoordsEE(const reco::CaloCluster &bclus,
0025                                 const CaloGeometry &geom,
0026                                 float &xcry,
0027                                 float &ycry,
0028                                 int &ix,
0029                                 int &iy,
0030                                 float &thetatilt,
0031                                 float &phitilt);
0032 
0033 };  // namespace egammaTools
0034 
0035 #endif