Public Member Functions | Public Attributes | List of all members
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.

56  , moduleLabel_{std::move(ml)}
59  , branchType_{bt}
60 {}
std::string productInstanceName_
Definition: BranchKey.h:45
std::string friendlyClassName_
Definition: BranchKey.h:43
bt
Definition: tracks.py:83
def move(depos, offset)
Definition: depos.py:107
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.

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.

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}

Definition at line 47 of file BranchKey.h.

std::string art::BranchKey::friendlyClassName_ {}

Definition at line 43 of file BranchKey.h.

std::string art::BranchKey::moduleLabel_ {}

Definition at line 44 of file BranchKey.h.

std::string art::BranchKey::processName_ {}

Definition at line 46 of file BranchKey.h.

std::string art::BranchKey::productInstanceName_ {}

Definition at line 45 of file BranchKey.h.


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