|
| L1TkGlbMuonProducer (const edm::ParameterSet &) |
|
| ~L1TkGlbMuonProducer () override |
|
| EDProducer ()=default |
|
| EDProducer (const EDProducer &)=delete |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndProcessBlocks () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
EDProducer & | operator= (const EDProducer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
bool | wantsInputProcessBlocks () const final |
|
bool | wantsProcessBlocks () const final |
|
bool | wantsStreamLuminosityBlocks () const final |
|
bool | wantsStreamRuns () const final |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
| ~EDProducerBase () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
|
std::vector< bool > const & | recordProvenanceList () const |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
|
TypeLabelList const & | typeLabelList () const |
| used by the fwk to register the list of products of this module More...
|
|
| ~ProducerBase () noexcept(false) override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESProxyIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
template<Transition Tr = Transition::Event> |
auto | produces (std::string instanceName) noexcept |
| declare what type of product will make and with which optional label More...
|
|
template<Transition B> |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<BranchType B> |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<typename ProductType , Transition B> |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<class ProductType > |
BranchAliasSetterT< ProductType > | produces () |
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces () |
|
template<class ProductType > |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<typename ProductType , Transition B> |
BranchAliasSetterT< ProductType > | produces () |
|
template<Transition Tr = Transition::Event> |
auto | produces () noexcept |
|
ProducesCollector | producesCollector () |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
|
ConsumesCollector | consumesCollector () |
| Use a ConsumesCollector to gather consumes information from helper functions. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
void | consumesMany () |
|
void | consumesMany (const TypeToGet &id) |
|
template<BranchType B> |
void | consumesMany (const TypeToGet &id) |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<Transition Tr = Transition::Event> |
constexpr auto | esConsumes () |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) |
|
template<Transition Tr = Transition::Event> |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
| Used with EventSetupRecord::doGet. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
void | resetItemsToGetFrom (BranchType iType) |
|
Definition at line 50 of file L1TkGlbMuonProducer.cc.
Definition at line 271 of file L1TkGlbMuonProducer.cc.
References funct::abs(), correctGMTPropForTkZ_, dumpMFGeometry_cfg::delta, mps_fire::dest, deta_tkz_scaling, M_PI, max_mu_propagator_eta, min_mu_propagator_barrel_eta, min_mu_propagator_barrel_pT, min_mu_propagator_p, TTTrack< T >::momentum(), chargedHadronTrackResolutionFilter_cfi::p3, TTTrack< T >::POCA(), reco::reduceRange(), TTTrack< T >::rInv(), scaling_to_2ndstation, sigmaEta_scaling, sigmaPhi_scaling, and PV3DBase< T, PVType, FrameType >::z().
Referenced by runOnMuonCollection_v1().
272 auto p3 = tk.momentum();
273 float tk_pt =
p3.perp();
274 float tk_p =
p3.mag();
275 float tk_eta =
p3.eta();
277 float tk_phi =
p3.phi();
278 float tk_q = tk.rInv() > 0 ? 1. : -1.;
279 float tk_z = tk.POCA().z();
294 float dzCorrPhi = 1.;
296 float etaProp = tk_aeta;
305 dzCorrPhi = 1. +
delta;
309 deta = zOzs / (1. - zOzs);
311 deta = zOzs / (1. + zOzs);
312 deta = deta * tanh(tk_eta);
314 float resPhi = tk_phi - 1.464 * tk_q * cosh(1.7) / cosh(etaProp) / tk_pt * dzCorrPhi -
M_PI / 144.;
317 dest.eta = tk_eta + deta;
constexpr T reduceRange(T x)
static constexpr float scaling_to_2ndstation
bool correctGMTPropForTkZ_
static constexpr float sigmaEta_scaling
static constexpr float deta_tkz_scaling
Abs< T >::type abs(const T &t)
static constexpr float min_mu_propagator_barrel_eta
static constexpr float min_mu_propagator_p
static constexpr float sigmaPhi_scaling
static constexpr float min_mu_propagator_barrel_pT
static constexpr float max_mu_propagator_eta
Definition at line 140 of file L1TkGlbMuonProducer.cc.
References funct::abs(), BXVector< T >::begin(), chi2Max_, SiPixelRawToDigiRegional_cfi::deltaPhi, reco::deltaR2(), HLT_2022v12_cff::dEta, HLT_2022v12_cff::dPhi, dr2_cutoff, dRMax_, BXVector< T >::end(), L1TkGlbMuonProducer::PropState::eta, fftjetproducer_cfi::etaCut, etaMax_, etaMin_, LogDebug, matching_factor_eta, matching_factor_phi, TTTrack< T >::momentum(), mu_mass, nStubsmin_, chargedHadronTrackResolutionFilter_cfi::p3, L1TkGlbMuonProducer::PropState::phi, TTTrack< T >::POCA(), edm::Handle< T >::product(), propagateToGMT(), pTMinTra_, l1t::TkGlbMuon::setdR(), l1t::TkGlbMuon::setNTracksMatched(), l1t::TkGlbMuon::setTrkzVtx(), L1TkGlbMuonProducer::PropState::sigmaEta, sigmaEtaTP(), L1TkGlbMuonProducer::PropState::sigmaPhi, sigmaPhiTP(), mathSSE::sqrt(), l1pfProducerBarrel_cfi::tkMuons, useTPMatchWindows_, L1TkGlbMuonProducer::PropState::valid, and zMax_.
Referenced by produce().
148 for (
auto l1mu = l1mus.
begin(0); l1mu != l1mus.
end(0); ++l1mu) {
152 float l1mu_eta = l1mu->eta();
153 float l1mu_phi = l1mu->phi();
155 float l1mu_feta =
std::abs(l1mu_eta);
167 int nTracksMatch = 0;
169 for (
const auto& l1tk : l1tks) {
172 float l1tk_pt = l1tk.momentum().perp();
176 float l1tk_z = l1tk.POCA().z();
180 float l1tk_chi2 = l1tk.chi2();
184 int l1tk_nstubs = l1tk.getStubRefs().size();
188 float l1tk_eta = l1tk.momentum().eta();
189 float l1tk_phi = l1tk.momentum().phi();
191 float dr2 =
reco::deltaR2(l1mu_eta, l1mu_phi, l1tk_eta, l1tk_phi);
201 float dr2prop =
reco::deltaR2(l1mu_eta, l1mu_phi, pstate.eta, pstate.phi);
204 if (dr2prop < drmin) {
211 LogDebug(
"L1TkGlbMuonProducer") <<
"matching index is " << match_idx;
212 if (match_idx >= 0) {
226 if (matchCondition) {
234 const auto& tkv3 = matchTk.
POCA();
237 float trkisol = -999;
239 TkGlbMuon l1tkmu(l1tkp4, l1muRef, l1tkPtr, trkisol);
241 l1tkmu.setTrkzVtx((
float)tkv3.z());
243 l1tkmu.setNTracksMatched(nTracksMatch);
double sigmaEtaTP(const Muon &mu) const
static constexpr float dr2_cutoff
T const * product() const
static constexpr float matching_factor_phi
GlobalVector momentum() const
Track momentum.
const_iterator begin(int bx) const
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
double sigmaPhiTP(const Muon &mu) const
Abs< T >::type abs(const T &t)
static constexpr float matching_factor_eta
constexpr auto deltaR2(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
static constexpr float mu_mass
XYZPointD XYZPoint
point in space with cartesian internal representation
Class to store the L1 Track Trigger tracks.
const_iterator end(int bx) const
PropState propagateToGMT(const L1TTTrackType &l1tk) const
std::vector< L1TTTrackType > L1TTTrackCollectionType
GlobalPoint POCA() const
POCA.