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) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 |
|
private |
Definition at line 175 of file BtoCharmDecayVertexMerger.cc.
References reco::Vertex::p4(), and reco::Vertex::tracksSize().
|
private |
Definition at line 182 of file BtoCharmDecayVertexMerger.cc.
References reco::CompositePtrCandidate::numberOfSourceCandidatePtrs(), and vtxP4().
|
private |
Definition at line 149 of file BtoCharmDecayVertexMerger.cc.
References reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().
|
private |
Definition at line 157 of file BtoCharmDecayVertexMerger.cc.
References reco::LeafCandidate::vertex(), reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().
|
private |
Definition at line 165 of file BtoCharmDecayVertexMerger.cc.
References reco::LeafCandidate::vertex().
|
virtual |
Implements edm::stream::EDProducerBase.
Definition at line 96 of file BtoCharmDecayVertexMerger.cc.
References edm::Event::getByToken(), edm::Event::put(), MetAnalyzer::pv(), dt_dqm_sourceclient_common_cff::reco, HLT_25ns14e33_v1_cff::secondaryVertices, and python.multivaluedict::sort().
|
private |
|
private |
Definition at line 189 of file BtoCharmDecayVertexMerger.cc.
References funct::abs(), deltaR(), reco::TemplatedSecondaryVertex< SV >::dist3d(), dot(), spr::find(), flightDirection(), i, relval_steps::k, reco::ParticleMasses::piPlus, MetAnalyzer::pv(), dt_dqm_sourceclient_common_cff::reco, mathSSE::sqrt(), tree::t, groupFilesInBlocks::temp, tracks_, Measurement1D::value(), and histoStyle::weight.
|
private |
Definition at line 295 of file BtoCharmDecayVertexMerger.cc.
References funct::abs(), deltaR(), reco::TemplatedSecondaryVertex< SV >::dist3d(), dot(), spr::find(), flightDirection(), i, relval_steps::k, reco::ParticleMasses::piPlus, MetAnalyzer::pv(), dt_dqm_sourceclient_common_cff::reco, 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.
|
private |
Definition at line 56 of file BtoCharmDecayVertexMerger.cc.
|
private |
Definition at line 56 of file BtoCharmDecayVertexMerger.cc.
|
private |
Definition at line 56 of file BtoCharmDecayVertexMerger.cc.
|
private |
Definition at line 52 of file BtoCharmDecayVertexMerger.cc.
|
private |
Definition at line 50 of file BtoCharmDecayVertexMerger.cc.
|
private |
Definition at line 51 of file BtoCharmDecayVertexMerger.cc.