Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:34:52

0001 #ifndef FIXEDGRIDENERGYDENSITY_H
0002 #define FIXEDGRIDENERGYDENSITY_H
0003 
0004 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h"
0005 
0006 class FixedGridEnergyDensity {
0007 public:
0008   FixedGridEnergyDensity(const reco::PFCandidateCollection* input) { pfCandidates = input; }
0009   ~FixedGridEnergyDensity(){};
0010   enum EtaRegion { Central, Forward, All };
0011   float fixedGridRho(EtaRegion etaRegion = Central);
0012   float fixedGridRho(std::vector<float>& etabins, std::vector<float>& phibins);
0013 
0014 private:
0015   const reco::PFCandidateCollection* pfCandidates;
0016 };
0017 
0018 #endif