artdaq  v2_02_03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Types | Public Member Functions | Public Attributes | List of all members
MPRGlobalTestFixture Class Reference

MasterProductRegistry Test Fixture. More...

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(), std::string const &pass=art::getPassID())
 Create the ProcessConfiguration for a single module art process. More...
 
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. More...
 
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 39 of file raw_event_queue_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(),
std::string const &  pass = art::getPassID() 
)

Create the ProcessConfiguration for a single module art process.

Parameters
tagTag for the ProcessConfiguraiton
processNameName of the process
moduleParamsParameterSet for the single module
releaseSee art::ProcessConfiguration
passSee art::ProcessConfiguration
Returns
Pointer to created art::ProcessConfiguration object

Definition at line 117 of file raw_event_queue_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
tagTag for the module_process
processNameName of the process
productInstanceNameName of the product
Returns
Pointer to created art::BranchDescription object

Definition at line 135 of file raw_event_queue_reader_t.cc.


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