$treeview $search $mathjax $extrastylesheet
artdaq  v3_04_00
$projectbrief
$projectbrief
$searchbox

MPRGlobalTestFixture Class Reference

MasterProductRegistry Test Fixture. More...

List of all members.

Public Types

typedef std::map< std::string,
art::BranchKey > 
BKmap_t
 BKmap_t associates a string with a art::BranchKey.

Public Member Functions

 MPRGlobalTestFixture ()
 MPRGlobalTestFixture Constructor.
art::ProcessConfiguration * fake_single_module_process (std::string const &tag, std::string const &processName, fhicl::ParameterSet const &moduleParams, std::string const &release=art::getReleaseVersion())
 Create the ProcessConfiguration for a single module art process.
std::unique_ptr
< art::BranchDescription > 
fake_single_process_branch (std::string const &tag, std::string const &processName, std::string const &productInstanceName=std::string())
 Create a BranchDescription for a process.
void finalize ()
 Finalizes the ProductRegistry.

Public Attributes

BKmap_t branchKeys_
 Keys in this test fixture.
std::map< std::string,
std::unique_ptr
< art::ProcessConfiguration > > 
processConfigurations_
 Configurations.
art::MasterProductRegistry productRegistry_
 MasterProductRegistry instance.

Detailed Description

MasterProductRegistry Test Fixture.

Definition at line 41 of file shared_memory_reader_t.cc.


Member Function Documentation

art::ProcessConfiguration * MPRGlobalTestFixture::fake_single_module_process ( std::string const &  tag,
std::string const &  processName,
fhicl::ParameterSet const &  moduleParams,
std::string const &  release = art::getReleaseVersion() 
)

Create the ProcessConfiguration for a single module art process.

Parameters:
tag Tag for the ProcessConfiguraiton
processName Name of the process
moduleParams ParameterSet for the single module
release See art::ProcessConfiguration
pass See art::ProcessConfiguration
Returns:
Pointer to created art::ProcessConfiguration object

Definition at line 118 of file shared_memory_reader_t.cc.

std::unique_ptr< art::BranchDescription > MPRGlobalTestFixture::fake_single_process_branch ( std::string const &  tag,
std::string const &  processName,
std::string const &  productInstanceName = std::string() 
)

Create a BranchDescription for a process.

Parameters:
tag Tag for the module_process
processName Name of the process
productInstanceName Name of the product
Returns:
Pointer to created art::BranchDescription object

Definition at line 136 of file shared_memory_reader_t.cc.


The documentation for this class was generated from the following file:

Generated on 5 Mar 2019 for artdaq by  doxygen 1.6.1