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 | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () 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 84 of file BtoCharmDecayVertexMerger.cc.
|
private |
Referenced by BtoCharmDecayVertexMergerT< VTX >::produce().
|
private |
Definition at line 164 of file BtoCharmDecayVertexMerger.cc.
References reco::Vertex::p4(), reco::Vertex::tracksSize(), and badGlobalMuonTaggersAOD_cff::vtx.
|
private |
Definition at line 172 of file BtoCharmDecayVertexMerger.cc.
References reco::CompositePtrCandidate::numberOfSourceCandidatePtrs(), badGlobalMuonTaggersAOD_cff::vtx, and vtxP4().
|
private |
Definition at line 144 of file BtoCharmDecayVertexMerger.cc.
References reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().
Referenced by BtoCharmDecayVertexMergerT< VTX >::resolveBtoDchain().
|
private |
Definition at line 149 of file BtoCharmDecayVertexMerger.cc.
References reco::LeafCandidate::vertex(), reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().
|
private |
Definition at line 155 of file BtoCharmDecayVertexMerger.cc.
References reco::LeafCandidate::vertex().
|
override |
Definition at line 98 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(), HLT_2018_cff::secondaryVertices, pfDeepBoostedJetPreprocessParams_cfi::sv, BtoCharmDecayVertexMergerT< VTX >::token_primaryVertex, and BtoCharmDecayVertexMergerT< VTX >::token_secondaryVertex.
|
private |
Referenced by BtoCharmDecayVertexMergerT< VTX >::produce().
|
private |
Definition at line 180 of file BtoCharmDecayVertexMerger.cc.
References funct::abs(), PbPb_ZMuSkimMuonDPG_cff::deltaR, reco::TemplatedSecondaryVertex< SV >::dist3d(), Vector3DBase< T, FrameTag >::dot(), spr::find(), BtoCharmDecayVertexMergerT< VTX >::flightDirection(), mps_fire::i, dqmdumpme::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(), OrderedSet::t, groupFilesInBlocks::temp, and Measurement1D::value().
|
private |
Definition at line 287 of file BtoCharmDecayVertexMerger.cc.
References funct::abs(), PbPb_ZMuSkimMuonDPG_cff::deltaR, reco::TemplatedSecondaryVertex< SV >::dist3d(), Vector3DBase< T, FrameTag >::dot(), spr::find(), BtoCharmDecayVertexMergerT< VTX >::flightDirection(), mps_fire::i, dqmdumpme::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().