CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
BasicCluster.cc
Go to the documentation of this file.
2 
3 //using namespace reco;
4 //
5 //BasicCluster::BasicCluster( double energy, const Point& position, double chi2, const std::vector<DetId> usedHits, AlgoId algoID) :
6 // CaloCluster(energy,position), chi2_(chi2)
7 //{
8 // usedHits_ = usedHits;
9 // algoId_ = algoID;
10 //}
11 //
12 //
13 //bool BasicCluster::operator<(const reco::BasicCluster &otherCluster) const
14 //{
15 // return energy() < otherCluster.energy();
16 //}
17 //
18 //bool BasicCluster::operator==(const BasicCluster& rhs) const
19 //{
20 //
21 // float Ediff = fabs(rhs.energy() - energy());
22 // if (Ediff < 0.00000001) return true;
23 // else return false;
24 //
25 //}