Classes | |
struct | VertexProxy |
Public Types | |
typedef reco::TemplatedSecondaryVertex< VTX > | SecondaryVertex |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Member Functions | |
BtoCharmDecayVertexMergerT (const edm::ParameterSet ¶ms) | |
void | produce (edm::Event &event, const edm::EventSetup &es) override |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Private Member Functions | |
VertexProxy | buildVertexProxy (const VTX &vtx) |
template<> | |
BtoCharmDecayVertexMergerT< reco::Vertex >::VertexProxy | buildVertexProxy (const reco::Vertex &vtx) |
template<> | |
BtoCharmDecayVertexMergerT< reco::VertexCompositePtrCandidate >::VertexProxy | buildVertexProxy (const reco::VertexCompositePtrCandidate &vtx) |
GlobalVector | flightDirection (const reco::Vertex &v1, const reco::Vertex &v2) |
GlobalVector | flightDirection (const reco::Vertex &v1, const reco::VertexCompositePtrCandidate &v2) |
GlobalVector | flightDirection (const reco::VertexCompositePtrCandidate &v1, const reco::VertexCompositePtrCandidate &v2) |
void | resolveBtoDchain (std::vector< VertexProxy > &coll, unsigned int i, unsigned int k) |
template<> | |
void | resolveBtoDchain (std::vector< VertexProxy > &coll, unsigned int i, unsigned int k) |
template<> | |
void | resolveBtoDchain (std::vector< VertexProxy > &coll, unsigned int i, unsigned int k) |
Private Attributes | |
double | maxDRForUnique |
double | maxPtreltomerge |
double | maxvecSumIMCUTForUnique |
double | minCosPAtomerge |
reco::Vertex | pv |
edm::EDGetTokenT< reco::VertexCollection > | token_primaryVertex |
edm::EDGetTokenT< edm::View< VTX > > | token_secondaryVertex |
Friends | |
bool | operator< (VertexProxy v1, VertexProxy v2) |
Definition at line 41 of file BtoCharmDecayVertexMerger.cc.
typedef reco::TemplatedSecondaryVertex<VTX> BtoCharmDecayVertexMergerT< VTX >::SecondaryVertex |
Definition at line 47 of file BtoCharmDecayVertexMerger.cc.
BtoCharmDecayVertexMergerT< VTX >::BtoCharmDecayVertexMergerT | ( | const edm::ParameterSet & | params | ) |
Definition at line 82 of file BtoCharmDecayVertexMerger.cc.
|
private |
Referenced by BtoCharmDecayVertexMergerT< VTX >::produce().
|
private |
Definition at line 174 of file BtoCharmDecayVertexMerger.cc.
References reco::Vertex::p4(), reco::Vertex::tracksSize(), and badGlobalMuonTaggersAOD_cff::vtx.
|
private |
Definition at line 181 of file BtoCharmDecayVertexMerger.cc.
References reco::CompositePtrCandidate::numberOfSourceCandidatePtrs(), badGlobalMuonTaggersAOD_cff::vtx, and vtxP4().
|
private |
Definition at line 148 of file BtoCharmDecayVertexMerger.cc.
References reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().
Referenced by BtoCharmDecayVertexMergerT< VTX >::resolveBtoDchain().
|
private |
Definition at line 156 of file BtoCharmDecayVertexMerger.cc.
References reco::LeafCandidate::vertex(), reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().
|
private |
Definition at line 164 of file BtoCharmDecayVertexMerger.cc.
References reco::LeafCandidate::vertex().
|
override |
Definition at line 96 of file BtoCharmDecayVertexMerger.cc.
References BtoCharmDecayVertexMergerT< VTX >::buildVertexProxy(), edm::Event::getByToken(), eostools::move(), edm::Handle< T >::product(), edm::Event::put(), BtoCharmDecayVertexMergerT< VTX >::pv, BtoCharmDecayVertexMergerT< VTX >::resolveBtoDchain(), lostTracks_cfi::secondaryVertices, pfDeepBoostedJetPreprocessParams_cfi::sv, BtoCharmDecayVertexMergerT< VTX >::token_primaryVertex, and BtoCharmDecayVertexMergerT< VTX >::token_secondaryVertex.
|
private |
Referenced by BtoCharmDecayVertexMergerT< VTX >::produce().
|
private |
Definition at line 188 of file BtoCharmDecayVertexMerger.cc.
References funct::abs(), boostedElectronIsolation_cff::deltaR, reco::TemplatedSecondaryVertex< SV >::dist3d(), Vector3DBase< T, FrameTag >::dot(), dot(), spr::find(), BtoCharmDecayVertexMergerT< VTX >::flightDirection(), mps_fire::i, gen::k, PV3DBase< T, PVType, FrameType >::mag(), BtoCharmDecayVertexMergerT< VTX >::maxDRForUnique, BtoCharmDecayVertexMergerT< VTX >::maxPtreltomerge, BtoCharmDecayVertexMergerT< VTX >::maxvecSumIMCUTForUnique, BtoCharmDecayVertexMergerT< VTX >::minCosPAtomerge, reco::ParticleMasses::piPlus, BtoCharmDecayVertexMergerT< VTX >::pv, mathSSE::sqrt(), lumiQTWidget::t, groupFilesInBlocks::temp, tracks_, and Measurement1D::value().
|
private |
Definition at line 294 of file BtoCharmDecayVertexMerger.cc.
References funct::abs(), boostedElectronIsolation_cff::deltaR, reco::TemplatedSecondaryVertex< SV >::dist3d(), Vector3DBase< T, FrameTag >::dot(), dot(), spr::find(), BtoCharmDecayVertexMergerT< VTX >::flightDirection(), mps_fire::i, gen::k, PV3DBase< T, PVType, FrameType >::mag(), BtoCharmDecayVertexMergerT< VTX >::maxDRForUnique, BtoCharmDecayVertexMergerT< VTX >::maxPtreltomerge, BtoCharmDecayVertexMergerT< VTX >::maxvecSumIMCUTForUnique, BtoCharmDecayVertexMergerT< VTX >::minCosPAtomerge, reco::ParticleMasses::piPlus, BtoCharmDecayVertexMergerT< VTX >::pv, mathSSE::sqrt(), groupFilesInBlocks::temp, Measurement1D::value(), and vtxP4().
|
friend |
Definition at line 66 of file BtoCharmDecayVertexMerger.cc.
|
private |
Definition at line 56 of file BtoCharmDecayVertexMerger.cc.
Referenced by BtoCharmDecayVertexMergerT< VTX >::resolveBtoDchain().
|
private |
Definition at line 56 of file BtoCharmDecayVertexMerger.cc.
Referenced by BtoCharmDecayVertexMergerT< VTX >::resolveBtoDchain().
|
private |
Definition at line 56 of file BtoCharmDecayVertexMerger.cc.
Referenced by BtoCharmDecayVertexMergerT< VTX >::resolveBtoDchain().
|
private |
Definition at line 56 of file BtoCharmDecayVertexMerger.cc.
Referenced by BtoCharmDecayVertexMergerT< VTX >::resolveBtoDchain().
|
private |
Definition at line 52 of file BtoCharmDecayVertexMerger.cc.
Referenced by BtoCharmDecayVertexMergerT< VTX >::produce(), and BtoCharmDecayVertexMergerT< VTX >::resolveBtoDchain().
|
private |
Definition at line 50 of file BtoCharmDecayVertexMerger.cc.
Referenced by BtoCharmDecayVertexMergerT< VTX >::produce().
|
private |
Definition at line 51 of file BtoCharmDecayVertexMerger.cc.
Referenced by BtoCharmDecayVertexMergerT< VTX >::produce().