17 theOriginRadius = regionPSet.
getParameter<
double>(
"originRadius");
18 theOriginHalfLength = regionPSet.
getParameter<
double>(
"originHalfLength");
28 theChargeL1 = muon.
charge();
34 double dx =
cos(thePhiL1);
35 double dy =
sin(thePhiL1);
36 double dz = sinh(theEtaL1);
39 std::vector<std::unique_ptr<TrackingRegion> >
result;
41 bending = fabs(bending);
45 std::make_unique<RectangularEtaPhiTrackingRegion>( direction, theOrigin,
46 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, edm::ConsumesCollector &&iC)
Cos< T >::type cos(const T &t)
static double getBending(double invPt, double eta, int charge)
virtual std::vector< std::unique_ptr< TrackingRegion > > regions(const edm::Event &ev, const edm::EventSetup &es) const override
void setL1Constraint(const L1MuGMTCand &muon)
int charge() const
get charge (+1 -1)