Functions
larsim/test/EventGenerator/CMakeLists.txt File Reference

Functions

 simple_plugin (TestGeneratedEventTimestamp"module"nutools_RandomUtils_NuRandomService_service ${ART_FRAMEWORK_CORE}${ART_FRAMEWORK_PRINCIPAL}${ART_FRAMEWORK_SERVICES_REGISTRY}${ART_FRAMEWORK_SERVICES_OPTIONAL_RANDOMNUMBERGENERATOR_SERVICE}art_Persistency_Provenance canvas ${MF_MESSAGELOGGER}${MF_UTILITIES}${FHICLCPP}cetlib cetlib_except ${CLHEP}NO_INSTALL) cet_test(GeneratedEventTimestamp_test1_1 HANDBUILT TEST_EXEC lar TEST_ARGS--rethrow-all--config GeneratedEventTimestamp_test1.fcl-n 10 DATAFILES GeneratedEventTimestamp_test1.fcl) cet_test(GeneratedEventTimestamp_test1_2 HANDBUILT TEST_EXEC lar TEST_ARGS--rethrow-all--config GeneratedEventTimestamp_test1.fcl-n 10 DATAFILES GeneratedEventTimestamp_test1.fcl) cet_test(GeneratedEventTimestamp_test2 HANDBUILT TEST_EXEC lar TEST_ARGS--rethrow-all--config GeneratedEventTimestamp_test2.fcl-n 10 TEST_PROPERTIES WILL_FAIL true DATAFILES GeneratedEventTimestamp_test2.fcl) set(mrb_build_dir $ENV
 

Function Documentation

simple_plugin ( TestGeneratedEventTimestamp"module"nutools_RandomUtils_NuRandomService_service ${ART_FRAMEWORK_CORE}${ART_FRAMEWORK_PRINCIPAL}${ART_FRAMEWORK_SERVICES_REGISTRY}${ART_FRAMEWORK_SERVICES_OPTIONAL_RANDOMNUMBERGENERATOR_SERVICE}art_Persistency_Provenance canvas ${MF_MESSAGELOGGER}${MF_UTILITIES}${FHICLCPP}cetlib cetlib_except ${CLHEP NO_INSTALL)

Definition at line 5 of file CMakeLists.txt.

7  {ART_FRAMEWORK_CORE}
8  ${ART_FRAMEWORK_PRINCIPAL}
9  ${ART_FRAMEWORK_SERVICES_REGISTRY}
10  ${ART_FRAMEWORK_SERVICES_OPTIONAL_RANDOMNUMBERGENERATOR_SERVICE}
11  art_Persistency_Provenance
12  canvas
13  ${MF_MESSAGELOGGER}
14  ${MF_UTILITIES}
15  ${FHICLCPP}
16  cetlib cetlib_except
17  ${CLHEP}
18  NO_INSTALL
19 )
20 
21 
22 #
23 # GeneratedEventTimestamp tests
24 # ------------------------------
25 #
26 # Tests 1_1 and 1_2 are the same.
27 # They are expected to yield different results since the time stamps are
28 # different.
29 #
30 cet_test(GeneratedEventTimestamp_test1_1 HANDBUILT
31  TEST_EXEC lar
32  TEST_ARGS --rethrow-all --config GeneratedEventTimestamp_test1.fcl -n 10
33  DATAFILES
34  GeneratedEventTimestamp_test1.fcl
35 )
36 
37 cet_test(GeneratedEventTimestamp_test1_2 HANDBUILT
38  TEST_EXEC lar
39  TEST_ARGS --rethrow-all --config GeneratedEventTimestamp_test1.fcl -n 10
40  DATAFILES
41  GeneratedEventTimestamp_test1.fcl
42 )
43 
44 #
45 # Test 2 should fail since no time stamp is set.
46 #
47 cet_test(GeneratedEventTimestamp_test2 HANDBUILT
48  TEST_EXEC lar
49  TEST_ARGS --rethrow-all --config GeneratedEventTimestamp_test2.fcl -n 10
50  TEST_PROPERTIES WILL_FAIL true
51  DATAFILES
52  GeneratedEventTimestamp_test2.fcl
53 )
54 
55 #
56 # single particle production test
57 #
58 # kludge for now to only run with mrb
59 set( mrb_build_dir $ENV{MRB_BUILDDIR} )
these are all by getting the vString this is set to true if debugModules is non empty everyDebugEnabled_ is a global scope variable instantiated as false in MessageLogger cc In the ctor of this is set to true if nay one of debugModules is *debugEnabledModules_ contains the specified debugModules If debugEnabled is set to then the effect of LogDebug used during that module is to immediately return A subtlety arose concerning the MessageDrop in circumstances where the framework s event processing structure were not in play In if preModule were never then debugEnabled would remain whatever value it had on construction of the MessageDrop the value was left uninitialized Now it is initialized to true in the ctor for we change debugEnabled MessageDrop s debugEnabled to false Configuring Destinations The each destination has its own tables of what to do about each category and but we get various overall defaults fromm the cfg file as well The limit instructions at the MessageLogger level takes on forms in order of priority of these are
const char expected[]
Definition: Exception_t.cc:22
OutputModules and Sources **NOTE that will make much of the current OutputModules and Sources irrelevant When the framework executable starts the class names for the modules and services to be loaded are obtained from the configuration A module *Factory *is used to create the modules the configuration will ParameterSet const & config
cet_test(artapp_t USE_BOOST_UNIT LIBRARIES art_Framework_Art DATAFILES fcl/opt-empty.fcl) cet_test(artapp_basicSourceOptions_t USE_BOOST_UNIT LIBRARIES art_Framework_Art) cet_test(fhicl_key_t USE_BOOST_UNIT LIBRARIES art_Framework_Art) macro(config_ref_test TNAME) cet_test($
Definition: CMakeLists.txt:1
LArSoft-specific namespace.
dictionary all
Flash Comparison #.
std::vector< std::string > const tests
Definition: regex_t.cc:57