Go to the documentation of this file.00001 #ifndef HICaloUtil_h
00002 #define HICaloUtil_h
00003
00004 #include "FWCore/Framework/interface/Event.h"
00005 #include "FWCore/Framework/interface/EventSetup.h"
00006 #include "FWCore/Framework/interface/ESHandle.h"
00007
00008 #include "DataFormats/EgammaReco/interface/BasicClusterFwd.h"
00009 #include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
00010
00011 #include "Geometry/CaloGeometry/interface/CaloGeometry.h"
00012 #include "Geometry/Records/interface/IdealGeometryRecord.h"
00013 #include "DataFormats/Candidate/interface/CandidateFwd.h"
00014
00015 class HICaloUtil {
00016 public:
00017 HICaloUtil() {}
00018
00019 static double EcalEta(const reco::Candidate &p);
00020 static double EcalPhi(const reco::Candidate &p);
00021 static double EcalEta(double EtaParticle, double Zvertex, double plane_Radius);
00022 static double EcalPhi(double PtParticle, double EtaParticle,
00023 double PhiParticle, int ChargeParticle, double Rstart);
00024
00025 static const double kEEtaBarrelEndcap;
00026 static const double kER_ECAL;
00027 static const double kEZ_Endcap;
00028 static const double kERBARM;
00029 static const double kEZENDM;
00030
00031 };
00032
00033 #endif