Produces lepton life-time information. More...
Public Member Functions | |
PATLeptonTimeLifeInfoProducer (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~PATLeptonTimeLifeInfoProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
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 |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Types | |
enum | PVChoice { useFront = 0, useClosestInDz } |
using | TrackTimeLifeInfoMap = edm::ValueMap< TrackTimeLifeInfo > |
Private Member Functions | |
const reco::Track * | getTrack (const T &) |
template<> | |
const reco::Track * | getTrack (const pat::Electron &electron) |
template<> | |
const reco::Track * | getTrack (const pat::Muon &muon) |
template<> | |
const reco::Track * | getTrack (const pat::Tau &tau) |
void | produceAndFillIPInfo (const T &, const TransientTrackBuilder &, const reco::Vertex &, TrackTimeLifeInfo &) |
void | produceAndFillSVInfo (const T &, const TransientTrackBuilder &, const reco::Vertex &, TrackTimeLifeInfo &) |
template<> | |
void | produceAndFillSVInfo (const pat::Tau &tau, const TransientTrackBuilder &transTrackBuilder, const reco::Vertex &pv, TrackTimeLifeInfo &info) |
Static Private Member Functions | |
static bool | fitVertex (const std::vector< reco::TransientTrack > &transTrk, TransientVertex &transVtx) |
Private Attributes | |
edm::EDGetTokenT< std::vector< T > > | leptonsToken_ |
int | pvChoice_ |
edm::EDGetTokenT< reco::VertexCollection > | pvToken_ |
const StringCutObjectSelector< T > | selector_ |
edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > | transTrackBuilderToken_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Produces lepton life-time information.
Definition at line 40 of file PATLeptonTimeLifeInfoProducer.cc.
|
private |
Definition at line 70 of file PATLeptonTimeLifeInfoProducer.cc.
|
private |
Enumerator | |
---|---|
useFront | |
useClosestInDz |
Definition at line 68 of file PATLeptonTimeLifeInfoProducer.cc.
|
explicit |
Definition at line 74 of file PATLeptonTimeLifeInfoProducer.cc.
|
inlineoverride |
Definition at line 43 of file PATLeptonTimeLifeInfoProducer.cc.
|
static |
Definition at line 250 of file PATLeptonTimeLifeInfoProducer.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, AlCaHLTBitMon_QueryRunRegistry::string, and to_string().
|
inlinestaticprivate |
Definition at line 53 of file PATLeptonTimeLifeInfoProducer.cc.
References TransientVertex::hasRefittedTracks(), TransientVertex::refittedTracks(), and KalmanVertexFitter::vertex().
|
private |
|
private |
Definition at line 141 of file PATLeptonTimeLifeInfoProducer.cc.
References HPSPFTauProducerPuppi_cfi::electron.
|
private |
Definition at line 146 of file PATLeptonTimeLifeInfoProducer.cc.
|
private |
Definition at line 151 of file PATLeptonTimeLifeInfoProducer.cc.
References HLT_2024v12_cff::track.
|
override |
Definition at line 84 of file PATLeptonTimeLifeInfoProducer.cc.
References funct::abs(), PVValHelper::dz, trigObjTnPSource_cfi::filler, edm::Event::getByToken(), edm::EventSetup::getData(), getTrack(), info(), submitPVValidationJobs::infos, HLT_2024v12_cff::leptons, eostools::move(), edm::Event::put(), HltBtagValidation_cff::Vertex, AlignmentTracksFromVertexSelector_cfi::vertices, and L1BJetProducer_cff::vtx.
|
private |
Definition at line 159 of file PATLeptonTimeLifeInfoProducer.cc.
References TransientTrackBuilder::build(), RecoVertex::convertPos(), Vector3DBase< T, FrameTag >::dot(), Measurement1D::error(), TransientTrackBuilder::field(), reco::TransientTrack::field(), getTrack(), reco::TransientTrack::impactPointState(), info(), MagneticField::inInverseGeV(), HLT_2024v12_cff::track, Measurement1D::value(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 197 of file PATLeptonTimeLifeInfoProducer.cc.
|
private |
Definition at line 203 of file PATLeptonTimeLifeInfoProducer.cc.
References TransientTrackBuilder::build(), info(), TransientVertex::positionError(), pfDeepBoostedJetPreprocessParams_cfi::sv, and HLT_2024v12_cff::track.
|
private |
Definition at line 62 of file PATLeptonTimeLifeInfoProducer.cc.
|
private |
Definition at line 66 of file PATLeptonTimeLifeInfoProducer.cc.
|
private |
Definition at line 63 of file PATLeptonTimeLifeInfoProducer.cc.
|
private |
Definition at line 65 of file PATLeptonTimeLifeInfoProducer.cc.
|
private |
Definition at line 64 of file PATLeptonTimeLifeInfoProducer.cc.