Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-04-23 03:16:32

0001 #ifndef CommonTools_ParticleFlow_PFClusterWidthAlgo_H
0002 #define CommonTools_ParticleFlow_PFClusterWidthAlgo_H
0003 #include "DataFormats/ParticleFlowReco/interface/PFCluster.h"
0004 #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
0005 
0006 class PFClusterWidthAlgo {
0007 public:
0008   //constructor
0009   PFClusterWidthAlgo(const std::vector<const reco::PFCluster*>& pfclust);
0010 
0011   //destructor
0012   ~PFClusterWidthAlgo();
0013 
0014   inline double pflowPhiWidth() const { return phiWidth_; }
0015   inline double pflowEtaWidth() const { return etaWidth_; }
0016   inline double pflowSigmaEtaEta() const { return sigmaEtaEta_; }
0017 
0018 private:
0019   double phiWidth_;
0020   double etaWidth_;
0021   double sigmaEtaEta_;
0022 };
0023 
0024 #endif