11 _useKDTree(conf.getParameter<bool>(
"useKDTree")),
12 _debug(conf.getUntrackedParameter<bool>(
"debug",
false)) {}
24 "HGCalAndBREMLinker");
34 if( elem1->
type() > elem2->
type() ) {
48 clusterref->positionREP().Eta(),
49 clusterref->positionREP().Phi() );
50 if( dist > 0.3 ) dist = -1.0;
const REPPoint & positionREP() const
trajectory position in (rho, eta, phi) base
Abstract base class for a PFBlock element (track, cluster...)
reconstructed track used as an input to particle flow
static double computeDist(double eta1, double phi1, double eta2, double phi2, bool etaPhi=true)
computes a chisquare
HGCalAndBREMLinker(const edm::ParameterSet &conf)
const PFClusterRef & clusterRef() const
const reco::PFTrajectoryPoint & extrapolatedPoint(unsigned layerid) const
const PFRecTrack & trackPF() const
bool isValid() const
is this point valid ?
#define DEFINE_EDM_PLUGIN(factory, type, name)
A PFTrack holds several trajectory points, which basically contain the position and momentum of a tra...
double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
LayerType
Define the different layers where the track can be propagated.