15 theOriginRadius = regionPSet.
getParameter<
double>(
"originRadius");
16 theOriginHalfLength = regionPSet.
getParameter<
double>(
"originHalfLength");
23 thePhiL1 = muon.
phiValue() + 0.021817;
25 theChargeL1 = muon.
charge();
29 double dx =
cos(thePhiL1);
30 double dy =
sin(thePhiL1);
31 double dz = sinh(theEtaL1);
34 std::vector<std::unique_ptr<TrackingRegion> >
result;
36 bending = fabs(bending);
39 result.push_back(std::make_unique<RectangularEtaPhiTrackingRegion>(
40 direction, theOrigin, thePtMin, theOriginRadius, theOriginHalfLength, 0.15, bending + 3 * errBending));
T getParameter(std::string const &) const
Sin< T >::type sin(const T &t)
Global3DPoint GlobalPoint
static double getBendingError(double invPt, double eta)
L1MuonRegionProducer(const edm::ParameterSet &cfg)
std::vector< std::unique_ptr< TrackingRegion > > regions() const
Cos< T >::type cos(const T &t)
static double getBending(double invPt, double eta, int charge)
void setL1Constraint(const L1MuGMTCand &muon)
int charge() const
get charge (+1 -1)