EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
Classes | Functions
JOmniFactoryTests.cc File Reference
#include <JANA/JApplication.h>
#include <JANA/JApplicationFwd.h>
#include <JANA/JEvent.h>
#include <JANA/JFactorySet.h>
#include <JANA/JMultifactory.h>
#include <JANA/Services/JComponentManager.h>
#include <JANA/Services/JParameterManager.h>
#include <JANA/Utils/JTypeInfo.h>
#include <catch2/catch_test_macros.hpp>
#include <edm4hep/SimCalorimeterHitCollection.h>
#include <fmt/core.h>
#include <fmt/format.h>
#include <spdlog/logger.h>
#include <cstdint>
#include <iostream>
#include <map>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "extensions/jana/JOmniFactory.h"
#include "extensions/jana/JOmniFactoryGeneratorT.h"
Include dependency graph for JOmniFactoryTests.cc:

Classes

struct  BasicTestAlgConfig
 
struct  BasicTestAlg
 
struct  VariadicTestAlg
 
struct  SubsetTestAlg
 
struct  VariadicOutputTestAlg
 
struct  OptionalPodioInputTestAlg
 
struct  OptionalVariadicPodioInputTestAlg
 

Functions

template<typename OutputCollectionT , typename MultifactoryT >
MultifactoryT * RetrieveMultifactory (JFactorySet *facset, std::string output_collection_name)
 
 TEST_CASE ("Registering Podio outputs works")
 
 TEST_CASE ("Configuration object is correctly wired from untyped wiring data")
 
 TEST_CASE ("Multiple configuration objects are correctly wired from untyped wiring data")
 
 TEST_CASE ("JParameterManager correctly understands which values are defaulted and which are overridden")
 
 TEST_CASE ("Wiring itself is correctly defaulted")
 
 TEST_CASE ("VariadicOmniFactoryTests")
 
 TEST_CASE ("SubsetOmniFactoryTests")
 
 TEST_CASE ("VariadicPodioOutputTests")
 
 TEST_CASE ("Optional PodioInput")
 
 TEST_CASE ("Optional Variadic Podio Input")
 

Function Documentation

◆ RetrieveMultifactory()

template<typename OutputCollectionT , typename MultifactoryT >
MultifactoryT * RetrieveMultifactory ( JFactorySet *  facset,
std::string  output_collection_name 
)

◆ TEST_CASE() [1/10]

TEST_CASE ( "Configuration object is correctly wired from untyped wiring data"  )

◆ TEST_CASE() [2/10]

TEST_CASE ( "JParameterManager correctly understands which values are defaulted and which are overridden"  )

◆ TEST_CASE() [3/10]

TEST_CASE ( "Multiple configuration objects are correctly wired from untyped wiring data"  )

◆ TEST_CASE() [4/10]

TEST_CASE ( "Optional PodioInput"  )

◆ TEST_CASE() [5/10]

TEST_CASE ( "Optional Variadic Podio Input"  )

◆ TEST_CASE() [6/10]

TEST_CASE ( "Registering Podio outputs works"  )

◆ TEST_CASE() [7/10]

TEST_CASE ( "SubsetOmniFactoryTests"  )

◆ TEST_CASE() [8/10]

TEST_CASE ( "VariadicOmniFactoryTests"  )

◆ TEST_CASE() [9/10]

TEST_CASE ( "VariadicPodioOutputTests"  )

◆ TEST_CASE() [10/10]

TEST_CASE ( "Wiring itself is correctly defaulted"  )