LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
art::BranchKey Struct Reference

#include "BranchKey.h"

Public Member Functions

 BranchKey ()=default
 
 BranchKey (std::string cn, std::string ml, std::string pin, std::string pn, BranchType bt=NumBranchTypes)
 
 BranchKey (BranchDescription const &desc)
 
std::string branchName () const
 

Public Attributes

std::string friendlyClassName_ {}
 
std::string moduleLabel_ {}
 
std::string productInstanceName_ {}
 
std::string processName_ {}
 
int branchType_ {NumBranchTypes}
 

Detailed Description

Definition at line 30 of file BranchKey.h.

Constructor & Destructor Documentation

art::BranchKey::BranchKey ( )
default
art::BranchKey::BranchKey ( std::string  cn,
std::string  ml,
std::string  pin,
std::string  pn,
BranchType  bt = NumBranchTypes 
)
inline

Definition at line 49 of file BranchKey.h.

References branchType_, moduleLabel_, processName_, and productInstanceName_.

54  : friendlyClassName_{std::move(cn)}
55  , moduleLabel_{std::move(ml)}
56  , productInstanceName_{std::move(pin)}
57  , processName_{std::move(pn)}
58  , branchType_{bt}
59 {}
std::string productInstanceName_
Definition: BranchKey.h:44
std::string friendlyClassName_
Definition: BranchKey.h:42
std::string processName_
Definition: BranchKey.h:45
std::string moduleLabel_
Definition: BranchKey.h:43
art::BranchKey::BranchKey ( BranchDescription const &  desc)
explicit

Definition at line 14 of file BranchKey.cc.

References branchType_, art::BranchDescription::friendlyClassName(), moduleLabel_, processName_, and productInstanceName_.

15  : friendlyClassName_{desc.friendlyClassName()}
16  , moduleLabel_{desc.moduleLabel()}
17  , productInstanceName_{desc.productInstanceName()}
18  , processName_{desc.processName()}
19  , branchType_{desc.branchType()}
20  {}
std::string productInstanceName_
Definition: BranchKey.h:44
std::string friendlyClassName_
Definition: BranchKey.h:42
std::string processName_
Definition: BranchKey.h:45
std::string moduleLabel_
Definition: BranchKey.h:43

Member Function Documentation

std::string art::BranchKey::branchName ( ) const

Definition at line 23 of file BranchKey.cc.

References art::canonicalProductName(), friendlyClassName_, moduleLabel_, processName_, and productInstanceName_.

24  {
25  return canonicalProductName(
27  }
std::string productInstanceName_
Definition: BranchKey.h:44
std::string friendlyClassName_
Definition: BranchKey.h:42
std::string canonicalProductName(std::string const &friendlyClassName, std::string const &moduleLabel, std::string const &productInstanceName, std::string const &processName)
std::string processName_
Definition: BranchKey.h:45
std::string moduleLabel_
Definition: BranchKey.h:43

Member Data Documentation

int art::BranchKey::branchType_ {NumBranchTypes}
std::string art::BranchKey::friendlyClassName_ {}
std::string art::BranchKey::moduleLabel_ {}
std::string art::BranchKey::processName_ {}
std::string art::BranchKey::productInstanceName_ {}

The documentation for this struct was generated from the following files: