CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::StableProvenance Class Reference

#include <StableProvenance.h>

Public Member Functions

std::set< std::string > const & branchAliases () const
 
BranchDescription const & branchDescription () const
 
BranchID const & branchID () const
 
std::string const & branchName () const
 
std::string const & className () const
 
std::shared_ptr< BranchDescription const > const & constBranchDescriptionPtr () const
 
std::string const & friendlyClassName () const
 
std::string const & moduleLabel () const
 
std::string const & moduleName () const
 
BranchID const & originalBranchID () const
 
std::string const & processName () const
 
ProductID const & productID () const
 
std::string const & productInstanceName () const
 
void setBranchDescription (std::shared_ptr< BranchDescription const > const &p)
 
void setProductID (ProductID const &pid)
 
 StableProvenance ()
 
 StableProvenance (std::shared_ptr< BranchDescription const > const &p, ProductID const &pid)
 
void swap (StableProvenance &)
 
void write (std::ostream &os) const
 

Private Attributes

std::shared_ptr< BranchDescription const > branchDescription_
 
ProductID productID_
 

Detailed Description

Definition at line 30 of file StableProvenance.h.

Constructor & Destructor Documentation

◆ StableProvenance() [1/2]

edm::StableProvenance::StableProvenance ( )

Definition at line 13 of file StableProvenance.cc.

13 : StableProvenance{std::shared_ptr<BranchDescription const>(), ProductID()} {}

◆ StableProvenance() [2/2]

edm::StableProvenance::StableProvenance ( std::shared_ptr< BranchDescription const > const &  p,
ProductID const &  pid 
)

Definition at line 15 of file StableProvenance.cc.

16  : branchDescription_(p), productID_(pid) {}
std::shared_ptr< BranchDescription const > branchDescription_

Member Function Documentation

◆ branchAliases()

std::set<std::string> const& edm::StableProvenance::branchAliases ( ) const
inline

Definition at line 48 of file StableProvenance.h.

References edm::BranchDescription::branchAliases(), and branchDescription().

Referenced by edm::Provenance::branchAliases().

48 { return branchDescription().branchAliases(); }
BranchDescription const & branchDescription() const
std::set< std::string > const & branchAliases() const

◆ branchDescription()

BranchDescription const& edm::StableProvenance::branchDescription ( ) const
inline

◆ branchID()

BranchID const& edm::StableProvenance::branchID ( ) const
inline

Definition at line 39 of file StableProvenance.h.

References branchDescription(), and edm::BranchDescription::branchID().

Referenced by edm::Provenance::branchID().

39 { return branchDescription().branchID(); }
BranchID const & branchID() const
BranchDescription const & branchDescription() const

◆ branchName()

std::string const& edm::StableProvenance::branchName ( ) const
inline

Definition at line 41 of file StableProvenance.h.

References branchDescription(), and edm::BranchDescription::branchName().

Referenced by edm::Provenance::branchName(), and HLTJetTag< T >::hltFilter().

41 { return branchDescription().branchName(); }
BranchDescription const & branchDescription() const
std::string const & branchName() const

◆ className()

std::string const& edm::StableProvenance::className ( ) const
inline

Definition at line 42 of file StableProvenance.h.

References branchDescription(), and edm::BranchDescription::className().

Referenced by edm::Provenance::className().

42 { return branchDescription().className(); }
BranchDescription const & branchDescription() const
std::string const & className() const

◆ constBranchDescriptionPtr()

std::shared_ptr<BranchDescription const> const& edm::StableProvenance::constBranchDescriptionPtr ( ) const
inline

Definition at line 37 of file StableProvenance.h.

References branchDescription_.

Referenced by edm::Provenance::constBranchDescriptionPtr().

37 { return branchDescription_; }
std::shared_ptr< BranchDescription const > branchDescription_

◆ friendlyClassName()

std::string const& edm::StableProvenance::friendlyClassName ( ) const
inline

Definition at line 47 of file StableProvenance.h.

References branchDescription(), and edm::BranchDescription::friendlyClassName().

Referenced by edm::Provenance::friendlyClassName().

std::string const & friendlyClassName() const
BranchDescription const & branchDescription() const

◆ moduleLabel()

std::string const& edm::StableProvenance::moduleLabel ( ) const
inline

Definition at line 43 of file StableProvenance.h.

References branchDescription(), and edm::BranchDescription::moduleLabel().

Referenced by edm::Provenance::moduleLabel(), L3TkMuonProducer::produce(), and TrackListMerger::produce().

43 { return branchDescription().moduleLabel(); }
BranchDescription const & branchDescription() const
std::string const & moduleLabel() const

◆ moduleName()

std::string const& edm::StableProvenance::moduleName ( ) const
inline

Definition at line 44 of file StableProvenance.h.

References branchDescription(), and edm::BranchDescription::moduleName().

Referenced by edm::Provenance::moduleName().

44 { return branchDescription().moduleName(); }
std::string const & moduleName() const
BranchDescription const & branchDescription() const

◆ originalBranchID()

BranchID const& edm::StableProvenance::originalBranchID ( ) const
inline

Definition at line 40 of file StableProvenance.h.

References branchDescription(), and edm::BranchDescription::originalBranchID().

Referenced by edm::Provenance::originalBranchID().

40 { return branchDescription().originalBranchID(); }
BranchDescription const & branchDescription() const
BranchID const & originalBranchID() const

◆ processName()

std::string const& edm::StableProvenance::processName ( ) const
inline

Definition at line 45 of file StableProvenance.h.

References branchDescription(), and edm::BranchDescription::processName().

Referenced by edm::Provenance::processName(), L3TkMuonProducer::produce(), and TrackListMerger::produce().

45 { return branchDescription().processName(); }
std::string const & processName() const
BranchDescription const & branchDescription() const

◆ productID()

ProductID const& edm::StableProvenance::productID ( ) const
inline

Definition at line 52 of file StableProvenance.h.

References productID_.

Referenced by edm::Provenance::productID().

52 { return productID_; }

◆ productInstanceName()

std::string const& edm::StableProvenance::productInstanceName ( ) const
inline

◆ setBranchDescription()

void edm::StableProvenance::setBranchDescription ( std::shared_ptr< BranchDescription const > const &  p)
inline

Definition at line 56 of file StableProvenance.h.

References branchDescription_, and AlCaHLTBitMon_ParallelJobs::p.

Referenced by edm::Provenance::setBranchDescription().

56 { branchDescription_ = p; }
std::shared_ptr< BranchDescription const > branchDescription_

◆ setProductID()

void edm::StableProvenance::setProductID ( ProductID const &  pid)
inline

Definition at line 54 of file StableProvenance.h.

References productID_.

Referenced by edm::Provenance::setProductID().

54 { productID_ = pid; }

◆ swap()

void edm::StableProvenance::swap ( StableProvenance iOther)

Definition at line 27 of file StableProvenance.cc.

References branchDescription_, productID_, and edm::ProductID::swap().

Referenced by edm::Provenance::swap().

27  {
28  branchDescription_.swap(iOther.branchDescription_);
29  productID_.swap(iOther.productID_);
30  }
void swap(ProductID &other)
Definition: ProductID.cc:16
std::shared_ptr< BranchDescription const > branchDescription_

◆ write()

void edm::StableProvenance::write ( std::ostream &  os) const

Definition at line 18 of file StableProvenance.cc.

References branchDescription(), l1tGTMenu_BTagSeeds_cff::os, and edm::BranchDescription::write().

Referenced by pkg.AbstractPkg::generate(), and edm::Provenance::write().

18  {
19  // This is grossly inadequate, but it is not critical for the first pass.
21  }
BranchDescription const & branchDescription() const
void write(std::ostream &os) const

Member Data Documentation

◆ branchDescription_

std::shared_ptr<BranchDescription const> edm::StableProvenance::branchDescription_
private

◆ productID_

ProductID edm::StableProvenance::productID_
private

Definition at line 62 of file StableProvenance.h.

Referenced by productID(), setProductID(), and swap().