00001 #ifndef PFClusterShapeProducer_PFClusterWidthAlgo_H 00002 #define PFClusterShapeProducer_PFClusterWidthAlgo_H 00003 #include "DataFormats/ParticleFlowReco/interface/PFCluster.h" 00004 #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h" 00005 00006 class PFClusterWidthAlgo 00007 { 00008 public: 00009 //constructor 00010 PFClusterWidthAlgo(const std::vector<const reco::PFCluster* >& pfclust, 00011 const EBRecHitCollection * ebRecHits=0, 00012 const EERecHitCollection * eeRecHits=0); 00013 00014 00015 //destructor 00016 ~PFClusterWidthAlgo(); 00017 00018 inline double pflowPhiWidth() const {return phiWidth_;} 00019 inline double pflowEtaWidth() const {return etaWidth_;} 00020 inline double pflowSigmaEtaEta() const {return sigmaEtaEta_;} 00021 00022 private: 00023 00024 00025 double phiWidth_; 00026 double etaWidth_; 00027 double sigmaEtaEta_; 00028 00029 }; 00030 00031 #endif