Go to the documentation of this file.
28 hgcalelem = static_cast<const reco::PFBlockElementCluster*>(elem1);
29 gsfelem = static_cast<const reco::PFBlockElementGsfTrack*>(elem2);
31 hgcalelem = static_cast<const reco::PFBlockElementCluster*>(elem2);
32 gsfelem = static_cast<const reco::PFBlockElementGsfTrack*>(elem1);
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 GsfPFRecTrack & GsftrackPF() const
const REPPoint & positionREP() const
trajectory position in (rho, eta, phi) base
#define DEFINE_EDM_PLUGIN(factory, type, name)
GSFAndHGCalLinker(const edm::ParameterSet &conf)
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...)
double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
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
static double computeDist(double eta1, double phi1, double eta2, double phi2, bool etaPhi=true)
computes a chisquare