1 #ifndef __RecoLocalCalo_HGCalRecAlgos_ClusterTools_h__ 2 #define __RecoLocalCalo_HGCalRecAlgos_ClusterTools_h__ 40 int getLayer(
const DetId)
const;
45 bool getWidths(
const reco::CaloCluster & clus,
double & sigmaetaeta,
double & sigmaphiphi,
double & sigmaetaetalog,
double & sigmaphiphilog )
const;
49 std::vector<size_t>
idx(v.
size());
51 sort(
idx.begin(),
idx.end(),
52 [&
v](
size_t i1,
size_t i2) {
return v.
clusters()[i1]->z() < v.
clusters()[i2]->z();});
59 static const int lastLayerEE = 28;
unsigned int size() const
const edm::PtrVector< reco::BasicCluster > & clusters() const
XYZPointD XYZPoint
point in space with cartesian internal representation