10 _useKDTree(conf.getParameter<bool>(
"useKDTree")),
11 _debug(conf.getUntrackedParameter<bool>(
"debug",
false)) {}
23 "ECALAndHCALCaloJetLinker");
30 if( elem1->
type() < elem2->
type() ) {
42 <<
"PFBlockElementCluster's refs are null!";
53 hcalref->positionREP().Eta(),
54 hcalref->positionREP().Phi() ) ;
56 return (dist < 0.2 ? dist : -1.0);
Abstract base class for a PFBlock element (track, cluster...)
static double computeDist(double eta1, double phi1, double eta2, double phi2, bool etaPhi=true)
computes a chisquare
const PFClusterRef & clusterRef() const
double testLink(const reco::PFBlockElement *, const reco::PFBlockElement *) const override
ECALAndHCALCaloJetLinker(const edm::ParameterSet &conf)
bool isNull() const
Checks for null.
ROOT::Math::PositionVector3D< ROOT::Math::CylindricalEta3D< double > > REPPoint
#define DEFINE_EDM_PLUGIN(factory, type, name)
volatile std::atomic< bool > shutdown_flag false