5 using namespace l1thgcfirmware;
37 if ((
mipPt_ + cMipt) > 0) {
38 clusterCentre_x /= (
mipPt_ + cMipt);
39 clusterCentre_y /= (
mipPt_ + cMipt);
40 clusterCentre_z /= (
mipPt_ + cMipt);
Abs< T >::type abs(const T &t)
void updateP4AndPosition(const l1thgcfirmware::HGCalCluster &tc, bool updateCentre=true, float fraction=1.)
void addConstituent(const l1thgcfirmware::HGCalCluster &tc, bool updateCentre=true, float fraction=1.)
std::vector< l1thgcfirmware::HGCalCluster > constituents_