11 useKDTree_(conf.getParameter<bool>(
"useKDTree")),
12 debug_(conf.getUntrackedParameter<bool>(
"debug",
false)) {}
40 clusterref->positionREP().Eta(),
41 clusterref->positionREP().Phi());
47 std::cout <<
" Here a link has been established"
48 <<
" between a GSF track an HGCal with dist " << dist << std::endl;
51 std::cout <<
" No link found " << std::endl;
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
const GsfPFRecTrack & GsftrackPF() const
const reco::PFTrajectoryPoint & extrapolatedPoint(unsigned layerid) const
const PFClusterRef & clusterRef() const override
bool isValid() const
is this point valid ?
double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
GSFAndHGCalLinker(const edm::ParameterSet &conf)
#define DEFINE_EDM_PLUGIN(factory, type, name)
A PFTrack holds several trajectory points, which basically contain the position and momentum of a tra...
LayerType
Define the different layers where the track can be propagated.