Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:07

0001 #include "DataFormats/EgammaReco/interface/BasicCluster.h"
0002 
0003 //using namespace reco;
0004 //
0005 //BasicCluster::BasicCluster( double energy, const Point& position, double chi2, const std::vector<DetId> usedHits, AlgoId algoID) :
0006 //   CaloCluster(energy,position), chi2_(chi2)
0007 //{
0008 //  usedHits_ = usedHits;
0009 //  algoId_ = algoID;
0010 //}
0011 //
0012 //
0013 //bool BasicCluster::operator<(const reco::BasicCluster &otherCluster) const
0014 //{
0015 //  return energy() < otherCluster.energy();
0016 //}
0017 //
0018 //bool BasicCluster::operator==(const BasicCluster& rhs) const
0019 //{
0020 //
0021 //  float Ediff = fabs(rhs.energy() - energy());
0022 //  if (Ediff < 0.00000001) return true;
0023 //  else return false;
0024 //
0025 //}