CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

edm::StableProvenance::StableProvenance ( )

Definition at line 13 of file StableProvenance.cc.

13 : StableProvenance{std::shared_ptr<BranchDescription const>(), ProductID()} {}
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

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 const& edm::StableProvenance::branchDescription ( ) const
inline
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(); }
BranchDescription const & branchDescription() const
BranchID const & branchID() const
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(), HLTJetTagWithMatching< T >::hltFilter(), and HLTJetTag< T >::hltFilter().

41 { return branchDescription().branchName(); }
std::string const & branchName() const
BranchDescription const & branchDescription() const
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
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_
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().

BranchDescription const & branchDescription() const
std::string const & friendlyClassName() const
std::string const& edm::StableProvenance::moduleLabel ( ) const
inline
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(); }
BranchDescription const & branchDescription() const
std::string const & moduleName() const
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
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::parameterSet(), edm::Provenance::processName(), L3TkMuonProducer::produce(), and TrackListMerger::produce().

45 { return branchDescription().processName(); }
BranchDescription const & branchDescription() const
std::string const & processName() const
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_; }
std::string const& edm::StableProvenance::productInstanceName ( ) const
inline
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_
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; }
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_
void edm::StableProvenance::write ( std::ostream &  os) const

Definition at line 18 of file StableProvenance.cc.

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

Referenced by pkg.AbstractPkg::generate(), edm::operator<<(), 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

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

Definition at line 62 of file StableProvenance.h.

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