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 Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Public Member Functions | |
BtoCharmDecayVertexMergerT (const edm::ParameterSet ¶ms) | |
virtual void | produce (edm::Event &event, const edm::EventSetup &es) |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
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, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
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 | |
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::vector< ModuleDescription const * > &modules, 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 | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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) |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
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().
|
virtual |
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, 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(), 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(), 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().