2 #include "Math/GenVector/VectorUtil.h"
26 if(myRecHits.size()>0)
29 m_clusters.push_back(myRecHits[0]);
32 if(myRecHits.size()>=2)
33 for(math::PtEtaPhiELorentzVectorCollection::const_iterator
h = myRecHits.begin()+1;
h!=myRecHits.end();++
h)
40 for(math::PtEtaPhiELorentzVectorCollection::iterator
j=m_clusters.begin()+1;
j!=m_clusters.end();
j++)
44 if(ROOT::Math::VectorUtil::DeltaR(*
h,*
j)<dR_min)
46 dR_min=ROOT::Math::VectorUtil::DeltaR(*
h,*
j);
55 m_clusters.push_back(*
h);
57 m_clusters[ptr_min]+=*
h;
math::PtEtaPhiELorentzVectorCollection clusterize(const math::PtEtaPhiELorentzVectorCollection &)
std::vector< PtEtaPhiELorentzVector > PtEtaPhiELorentzVectorCollection
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.