|
virtual void | produce (edm::Event &ev, const edm::EventSetup &es) |
|
| VZeroProducer (const edm::ParameterSet &pset) |
|
| ~VZeroProducer () |
|
| EDProducer () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDProducer () |
|
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) |
|
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) |
|
Definition at line 9 of file VZeroProducer.h.
Definition at line 40 of file VZeroProducer.cc.
References reco::Vertex::add(), edm::RefVector< C, T, F >::begin(), ALCARECOTkAlJpsiMuMu_cff::charge, VZeroFinder::checkTrackPair(), reco::VZeroData::crossingPoint, allConversions_cfi::d0, data, edm::RefVector< C, T, F >::end(), edm::Event::getByLabel(), edm::ParameterSet::getParameter(), mps_fire::i, LogTrace, minImpactNegativeDaughter, minImpactPositiveDaughter, eostools::move(), edm::Handle< T >::product(), pset_, edm::RefVector< C, T, F >::push_back(), edm::Event::put(), mps_fire::result, edm::RefVector< C, T, F >::size(), findElectronsInSiStrips_cfi::trackCollection, l1t::tracks, particleFlowSuperClusterECAL_cfi::vertexCollection, and ecalDrivenElectronSeedsParameters_cff::vertices.
61 for(
unsigned int i=0;
i<tracks.size();
i++)
72 LogTrace(
"MinBiasTracking") <<
"[VZeroProducer] using tracks :" 73 <<
" +" << positives.
size()
74 <<
" -" << negatives.
size();
76 auto result = std::make_unique<reco::VZeroCollection>();
79 if(positives.
size() > 0 && negatives.
size() > 0)
81 ipos!= positives.
end(); ipos++)
83 ineg!= negatives.
end(); ineg++)
87 if(theFinder.checkTrackPair(**ipos,**ineg, vertices, data) ==
true)
105 <<
"[VZeroProducer] found candidates : " <<
result->size();
T getParameter(std::string const &) const
math::GlobalPoint crossingPoint
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
float minImpactNegativeDaughter
std::vector< Track > TrackCollection
collection of Tracks
math::Error< dimension >::type Error
covariance error matrix (3x3)
std::vector< Vertex > VertexCollection
collection of Vertex objects
const_iterator end() const
Termination of iteration.
const_iterator begin() const
Initialize an iterator over the RefVector.
math::XYZPoint Point
point in the space
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void add(const TrackBaseRef &r, float w=1.0)
add a reference to a Track
T const * product() const
float minImpactPositiveDaughter
char data[epos_bytes_allocation]
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
size_type size() const
Size of the RefVector.