16 theOriginRadius = regionPSet.
getParameter<
double>(
"originRadius");
17 theOriginHalfLength = regionPSet.
getParameter<
double>(
"originHalfLength");
27 theChargeL1 = muon.
charge();
32 double dx =
cos(thePhiL1);
33 double dy =
sin(thePhiL1);
34 double dz = sinh(theEtaL1);
37 std::vector<std::unique_ptr<TrackingRegion> >
result;
39 bending = fabs(bending);
43 std::make_unique<RectangularEtaPhiTrackingRegion>( direction, theOrigin,
44 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)