Go to the documentation of this file.
28 ecalelem = static_cast<const reco::PFBlockElementCluster*>(elem1);
29 gsfelem = static_cast<const reco::PFBlockElementGsfTrack*>(elem2);
31 ecalelem = 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 Ecal with dist " << dist << std::endl;
46 std::cout <<
" No link found " << std::endl;
double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
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)
LayerType
Define the different layers where the track can be propagated.
GSFAndECALLinker(const edm::ParameterSet &conf)
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