11 useKDTree_(conf.getParameter<bool>(
"useKDTree")),
12 debug_(conf.getUntrackedParameter<bool>(
"debug",
false)) {}
42 std::cout <<
" Here a link has been established"
43 <<
" between a GSF track an Hcal with dist " << dist << std::endl;
46 std::cout <<
" No link found " << std::endl;
Abstract base class for a PFBlock element (track, cluster...)
reconstructed track used as an input to particle flow
GSFAndHCALLinker(const edm::ParameterSet &conf)
const GsfPFRecTrack & GsftrackPF() const
const reco::PFTrajectoryPoint & extrapolatedPoint(unsigned layerid) const
const PFClusterRef & clusterRef() const override
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...
LayerType
Define the different layers where the track can be propagated.
static double testTrackAndClusterByRecHit(const reco::PFRecTrack &track, const reco::PFCluster &cluster, bool isBrem=false, bool debug=false)
double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const override