Go to the documentation of this file.
28 hcalelem = static_cast<const reco::PFBlockElementCluster*>(elem1);
29 gsfelem = static_cast<const reco::PFBlockElementGsfTrack*>(elem2);
31 hcalelem = static_cast<const reco::PFBlockElementCluster*>(elem2);
32 gsfelem = static_cast<const reco::PFBlockElementGsfTrack*>(elem1);
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;
GSFAndHCALLinker(const edm::ParameterSet &conf)
const GsfPFRecTrack & GsftrackPF() const
static double testTrackAndClusterByRecHit(const reco::PFRecTrack &track, const reco::PFCluster &cluster, bool isBrem=false, bool debug=false)
#define DEFINE_EDM_PLUGIN(factory, type, name)
double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
LayerType
Define the different layers where the track can be propagated.
bool isValid() const
is this point valid ?
Abstract base class for a PFBlock element (track, cluster...)
reconstructed track used as an input to particle flow
A PFTrack holds several trajectory points, which basically contain the position and momentum of a tra...
const PFClusterRef & clusterRef() const override