7 preselectionCut_(iConfig.existsAs<std::string>(
"preselection") ? iConfig.getParameter<std::string>(
"preselection") :
""),
8 deltaR2_(std::
pow(iConfig.getParameter<double>(
"maxDeltaR"),2)),
9 deltaPhi_(iConfig.existsAs<double>(
"maxDeltaPhi") ? iConfig.getParameter<double>(
"maxDeltaPhi") : 10),
10 sortByDeltaPhi_(iConfig.existsAs<bool>(
"sortByDeltaPhi") ? iConfig.getParameter<bool>(
"sortByDeltaPhi") :
false)
29 deltaPhi = thisDeltaPhi;
L1Selector preselectionCut_
Preselection cut to apply to L1 candidates before matching.
void init(const edm::EventSetup &iSetup)
Call this method at the beginning of each run, to initialize geometry, magnetic field and propagators...
double deltaPhi(float phi1, float phi2)
Geom::Phi< T > phi() const
GlobalPoint globalPosition() const
virtual double eta() const
momentum pseudorapidity
double deltaR2(const Vector1 &v1, const Vector2 &v2)
double deltaR(double eta1, double eta2, double phi1, double phi2)
bool match(const reco::Track &tk, const l1extra::L1MuonParticle &l1, float &deltaR, float &deltaPhi, TrajectoryStateOnSurface &propagated) const
void init(const edm::EventSetup &iSetup)
Call this method at the beginning of each run, to initialize geometry, magnetic field and propagators...
int matchGeneric(const reco::Track &tk, const Collection &l1, const Selector &sel, float &deltaR, float &deltaPhi, TrajectoryStateOnSurface &propagated) const
L1MuonMatcherAlgo(const edm::ParameterSet &iConfig)
virtual double phi() const
momentum azimuthal angle
double deltaR2_
Matching cuts.
Power< A, B >::type pow(const A &a, const B &b)