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 39 of file PATLeptonTimeLifeInfoProducer.cc.
|
private |
Definition at line 69 of file PATLeptonTimeLifeInfoProducer.cc.
|
private |
Enumerator | |
---|---|
useFront | |
useClosestInDz |
Definition at line 67 of file PATLeptonTimeLifeInfoProducer.cc.
|
explicit |
Definition at line 73 of file PATLeptonTimeLifeInfoProducer.cc.
|
inlineoverride |
Definition at line 42 of file PATLeptonTimeLifeInfoProducer.cc.
|
static |
Definition at line 242 of file PATLeptonTimeLifeInfoProducer.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, AlCaHLTBitMon_QueryRunRegistry::string, and to_string().
|
inlinestaticprivate |
Definition at line 52 of file PATLeptonTimeLifeInfoProducer.cc.
References TransientVertex::hasRefittedTracks(), TransientVertex::refittedTracks(), and KalmanVertexFitter::vertex().
|
private |
|
private |
Definition at line 140 of file PATLeptonTimeLifeInfoProducer.cc.
References HPSPFTauProducerPuppi_cfi::electron.
|
private |
Definition at line 145 of file PATLeptonTimeLifeInfoProducer.cc.
|
private |
Definition at line 150 of file PATLeptonTimeLifeInfoProducer.cc.
References HLT_2024v11_cff::track.
|
override |
Definition at line 83 of file PATLeptonTimeLifeInfoProducer.cc.
References funct::abs(), PVValHelper::dz, trigObjTnPSource_cfi::filler, edm::Event::getByToken(), edm::EventSetup::getData(), getTrack(), info(), submitPVValidationJobs::infos, HLT_2024v11_cff::leptons, eostools::move(), edm::Event::put(), HltBtagValidation_cff::Vertex, AlignmentTracksFromVertexSelector_cfi::vertices, and L1BJetProducer_cff::vtx.
|
private |
Definition at line 158 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_2024v11_cff::track, Measurement1D::value(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 189 of file PATLeptonTimeLifeInfoProducer.cc.
|
private |
Definition at line 195 of file PATLeptonTimeLifeInfoProducer.cc.
References TransientTrackBuilder::build(), info(), TransientVertex::positionError(), pfDeepBoostedJetPreprocessParams_cfi::sv, and HLT_2024v11_cff::track.
|
private |
Definition at line 61 of file PATLeptonTimeLifeInfoProducer.cc.
|
private |
Definition at line 65 of file PATLeptonTimeLifeInfoProducer.cc.
|
private |
Definition at line 62 of file PATLeptonTimeLifeInfoProducer.cc.
|
private |
Definition at line 64 of file PATLeptonTimeLifeInfoProducer.cc.
|
private |
Definition at line 63 of file PATLeptonTimeLifeInfoProducer.cc.