LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 31 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 50 of file BranchKey.h.

References branchType_, moduleLabel_, processName_, and productInstanceName_.

55  : friendlyClassName_{std::move(cn)}
56  , moduleLabel_{std::move(ml)}
57  , productInstanceName_{std::move(pin)}
58  , processName_{std::move(pn)}
59  , branchType_{bt}
60 {}
std::string productInstanceName_
Definition: BranchKey.h:45
std::string friendlyClassName_
Definition: BranchKey.h:43
std::string processName_
Definition: BranchKey.h:46
std::string moduleLabel_
Definition: BranchKey.h:44
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:45
std::string friendlyClassName_
Definition: BranchKey.h:43
std::string processName_
Definition: BranchKey.h:46
std::string moduleLabel_
Definition: BranchKey.h:44

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:45
std::string friendlyClassName_
Definition: BranchKey.h:43
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:46
std::string moduleLabel_
Definition: BranchKey.h:44

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: