CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/RecoHI/HiEgammaAlgos/interface/HICaloUtil.h

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; //eta boundary for between barrel and endcap
00026    static const double        kER_ECAL;          //radius ecal barrel begin
00027    static const double        kEZ_Endcap;        //z distance for endcap begin
00028    static const double        kERBARM;           //magnetic field was 3.15, updated on 16122003
00029    static const double        kEZENDM;           //magnetic field was 1.31, updated on 16122003
00030    
00031 };
00032 
00033 #endif /*HIROOT_HICaloUtil*/