10 _useKDTree(conf.getParameter<bool>(
"useKDTree")),
11 _debug(conf.getUntrackedParameter<bool>(
"debug",
false)) {}
23 "HFEMAndHFHADLinker");
29 if( elem1->
type() < elem2->
type() ) {
40 <<
"PFBlockElementCluster's refs are null!";
Abstract base class for a PFBlock element (track, cluster...)
const PFClusterRef & clusterRef() const
bool isNull() const
Checks for null.
static double testHFEMAndHFHADByRecHit(const reco::PFCluster &clusterHFEM, const reco::PFCluster &clusterHFHAD, bool debug=false)
test association between HFEM and HFHAD, by rechit
HFEMAndHFHADLinker(const edm::ParameterSet &conf)
double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
#define DEFINE_EDM_PLUGIN(factory, type, name)
volatile std::atomic< bool > shutdown_flag false