34 numberOfHits1RPC_ = 0;
35 numberOfHits2RPC_ = 0;
36 numberOfHits3RPC_ = 0;
37 numberOfHits4RPC_ = 0;
49 numberOfHits1RPC_ = 0;
50 numberOfHits2RPC_ = 0;
51 numberOfHits3RPC_ = 0;
52 numberOfHits4RPC_ = 0;
64 event.getByToken(input_rpchits_token_, rpcRecHits_handle);
66 if (!rpcRecHits_handle.
isValid()) {
68 edm::LogWarning(
"DataNotAvailable") <<
"JetMuonHitsIDHelper will not be run at all, this is not a RECO file.";
83 double dR2 =
reco::deltaR(jet.
eta(), jet.
phi(),
static_cast<double>(gp.eta()), static_cast<double>(gp.phi()));
87 if (rpcChamberId.
station() == 1)
89 if (rpcChamberId.
station() == 2)
91 if (rpcChamberId.
station() == 3)
93 if (rpcChamberId.
station() == 4)
T getParameter(std::string const &) const
double eta() const final
momentum pseudorapidity
Base class for all types of Jets.
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
LocalPoint localPosition() const override
Return the 3-dimensional local position.
void calculate(const edm::Event &event, const edm::EventSetup &isetup, const reco::Jet &jet, const int iDbg=0)
C::const_iterator const_iterator
constant access iterator type
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalPoint
point in global coordinate system
const GeomDet * idToDet(DetId) const override
DetId geographicalId() const
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::LocalCoordinateSystemTag > LocalPoint
point in local coordinate system
double phi() const final
momentum azimuthal angle