#include <ProductID.h>
Public Member Functions | |
ProductIndex | id () const |
bool | isValid () const |
ProcessIndex | processIndex () const |
ProductID (ProductIndex prodIndex) | |
ProductID () | |
ProductID (ProcessIndex procIndex, ProductIndex prodIndex) | |
ProcessIndex | productIndex () const |
void | reset () |
void | swap (ProductID &other) |
Private Attributes | |
ProcessIndex | processIndex_ |
ProductIndex | productIndex_ |
Definition at line 27 of file ProductID.h.
edm::ProductID::ProductID | ( | ) | [inline] |
Definition at line 29 of file ProductID.h.
: processIndex_(0), productIndex_(0) {}
edm::ProductID::ProductID | ( | ProductIndex | prodIndex | ) | [inline, explicit] |
Definition at line 32 of file ProductID.h.
: processIndex_(0), productIndex_(prodIndex) {}
edm::ProductID::ProductID | ( | ProcessIndex | procIndex, |
ProductIndex | prodIndex | ||
) | [inline] |
Definition at line 33 of file ProductID.h.
: processIndex_(procIndex), productIndex_(prodIndex) {}
ProductIndex edm::ProductID::id | ( | void | ) | const [inline] |
Definition at line 38 of file ProductID.h.
References productIndex_.
Referenced by BTagPerformanceAnalyzerOnData::analyze(), ZMuMuAnalyzer_cynematics::analyze(), BTagPerformanceAnalyzerMC::analyze(), ZMuMuAnalyzer::analyze(), cms::clusterProduct(), BTagPerformanceAnalyzerMC::getJetWithFlavour(), edm::reftobase::Holder< T, REF >::id(), edm::reftobase::RefHolder< REF >::id(), edm::reftobase::RefVectorHolder< REFV >::id(), edm::reftobase::IndirectVectorHolder< T >::id(), edm::View< T >::id(), edm::reftobase::IndirectHolder< T >::id(), edm::RefToBase< T >::id(), edm::helper::Filler< Association< C > >::insert(), ConversionTools::matchesConversion(), edm::RefToBaseProd< T >::operator->(), printseed(), TauDiscriminationProducerBase< TauType, TauDiscriminator >::produce(), TrackProducerBase< reco::GsfTrack >::produce(), and L3TkMuonProducer::produce().
{return productIndex_;} // backward compatibility
bool edm::ProductID::isValid | ( | void | ) | const [inline] |
Definition at line 35 of file ProductID.h.
References productIndex_.
Referenced by edm::RefCore::getProductPtr(), edm::RefCore::isAvailable(), edm::RefToBaseProd< T >::isNonnull(), edm::RefVector< TrackingRecHitCollection >::isNull(), edm::EventPrincipal::pidToBid(), and edm::productIDToBranchID().
{return productIndex_ != 0;}
ProcessIndex edm::ProductID::processIndex | ( | ) | const [inline] |
Definition at line 36 of file ProductID.h.
References processIndex_.
Referenced by edm::RefCoreWithIndexStreamer::operator()(), edm::RefCoreStreamer::operator()(), edm::operator<(), edm::operator==(), edm::productIDToBranchID(), and edm::RefCore::setId().
{return processIndex_;}
ProcessIndex edm::ProductID::productIndex | ( | ) | const [inline] |
Definition at line 37 of file ProductID.h.
References productIndex_.
Referenced by edm::operator<(), edm::operator==(), edm::productIDToBranchID(), and edm::RefCore::setId().
{return productIndex_;}
void edm::ProductID::reset | ( | void | ) | [inline] |
Definition at line 39 of file ProductID.h.
References processIndex_, and productIndex_.
Referenced by SeedClusterRemover::produce(), and TrackClusterRemover::produce().
{processIndex_ = productIndex_ = 0;}
void edm::ProductID::swap | ( | ProductID & | other | ) |
Definition at line 17 of file ProductID.cc.
References processIndex_, and productIndex_.
Referenced by edm::swap(), and edm::Provenance::swap().
{ std::swap(processIndex_, other.processIndex_); std::swap(productIndex_, other.productIndex_); }
ProcessIndex edm::ProductID::processIndex_ [private] |
Definition at line 44 of file ProductID.h.
Referenced by processIndex(), reset(), and swap().
ProductIndex edm::ProductID::productIndex_ [private] |
Definition at line 45 of file ProductID.h.
Referenced by id(), isValid(), productIndex(), reset(), and swap().