00001 #ifndef FIXEDGRIDENERGYDENSITY_H 00002 #define FIXEDGRIDENERGYDENSITY_H 00003 00004 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h" 00005 00006 class FixedGridEnergyDensity { 00007 00008 public: 00009 FixedGridEnergyDensity(const reco::PFCandidateCollection *input){pfCandidates=input;} 00010 ~FixedGridEnergyDensity(){}; 00011 enum EtaRegion {Central,Forward,All}; 00012 float fixedGridRho(EtaRegion etaRegion=Central); 00013 float fixedGridRho(std::vector<float>& etabins,std::vector<float>& phibins); 00014 00015 private: 00016 const reco::PFCandidateCollection *pfCandidates; 00017 00018 }; 00019 00020 #endif