diff --git a/test/ArtServices/CMakeLists.txt b/test/ArtServices/CMakeLists.txt index 8a5a96510..ab3fe74cd 100644 --- a/test/ArtServices/CMakeLists.txt +++ b/test/ArtServices/CMakeLists.txt @@ -8,33 +8,34 @@ cet_test(test_Geometry SOURCE test_Geometry.cxx cetlib::cetlib cetlib_except::cetlib_except ) -cet_test(test_DetectorClocksService SOURCE test_DetectorClocksService.cxx - LIBRARIES - dunecore::ArtSupport - lardata::Utilities - art::Framework_Services_Registry - ROOT::Core - cetlib::cetlib cetlib_except::cetlib_except -) +# disable tests that depend on LegacyLArG4 +#cet_test(test_DetectorClocksService SOURCE test_DetectorClocksService.cxx +# LIBRARIES +# dunecore::ArtSupport +# lardata::Utilities +# art::Framework_Services_Registry +# ROOT::Core +# cetlib::cetlib cetlib_except::cetlib_except +#) -cet_test(test_DetectorProperties SOURCE test_DetectorProperties.cxx - LIBRARIES - dunecore::ArtSupport - lardata::Utilities - art::Framework_Services_Registry - lardataalg::DetectorInfo - ROOT::Core - cetlib::cetlib cetlib_except::cetlib_except -) +#cet_test(test_DetectorProperties SOURCE test_DetectorProperties.cxx +# LIBRARIES +# dunecore::ArtSupport +# lardata::Utilities +# art::Framework_Services_Registry +# lardataalg::DetectorInfo +# ROOT::Core +# cetlib::cetlib cetlib_except::cetlib_except +#) -cet_test(test_LArProperties SOURCE test_LArProperties.cxx - LIBRARIES - dunecore::ArtSupport - lardata::Utilities - art::Framework_Services_Registry - ROOT::Core - cetlib::cetlib cetlib_except::cetlib_except -) +#cet_test(test_LArProperties SOURCE test_LArProperties.cxx +# LIBRARIES +# dunecore::ArtSupport +# lardata::Utilities +# art::Framework_Services_Registry +# ROOT::Core +# cetlib::cetlib cetlib_except::cetlib_except +#) cet_test(test_LArSeedService SOURCE test_LArSeedService.cxx LIBRARIES diff --git a/test/OpDet/CMakeLists.txt b/test/OpDet/CMakeLists.txt index 86339b235..20889d37c 100644 --- a/test/OpDet/CMakeLists.txt +++ b/test/OpDet/CMakeLists.txt @@ -41,9 +41,10 @@ if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") TEST_ARGS --rethrow-all --config ./test_optical_reco_dune35t.fcl ) - cet_test(build_oplib_dune35t HANDBUILT - DATAFILES test_build_oplib_dune35t.fcl - TEST_EXEC lar - TEST_ARGS --rethrow-all --config ./test_build_oplib_dune35t.fcl - ) + # references legacylarg4 + # cet_test(build_oplib_dune35t HANDBUILT + # DATAFILES test_build_oplib_dune35t.fcl + # TEST_EXEC lar + # TEST_ARGS --rethrow-all --config ./test_build_oplib_dune35t.fcl + # ) endif() diff --git a/test/OpDet/test_build_oplib_dune35t.fcl b/test/OpDet/test_build_oplib_dune35t.fcl deleted file mode 100644 index b6b56514e..000000000 --- a/test/OpDet/test_build_oplib_dune35t.fcl +++ /dev/null @@ -1,133 +0,0 @@ -#include "services_dune.fcl" -#include "backtrackerservice.fcl" -#include "particleinventoryservice.fcl" -#include "singles.fcl" -#include "largeantmodules.fcl" -#include "detsimmodules.fcl" -#include "opticaldetectormodules_dune.fcl" -#include "opticaldetectorservices_dune.fcl" -#include "photolibbuild_services_dune.fcl" -#include "photpropservices_dune.fcl" -#include "lightsource.fcl" - - -process_name: LibraryBuild - - - - - -services: -{ - # Load the service that manages root files for histograms. - TFileService: { fileName: "test_PhotonLibraryFile_dune35ton.root" } - TimeTracker: {} - RandomNumberGenerator: {} #ART native random number generator - @table::dune35t_photolibbuild_services - BackTrackerService: @local::dune35t_backtrackerservice # defined in backtrackerservice.fcl - ParticleInventoryService: @local::standard_particleinventoryservice # defined in backtrackerservice.fcl - message: @local::standard_info -} - - -#Start each new event with an empty event. -source: -{ - module_type: EmptyEvent - maxEvents: 1 # Number of events to create - firstRun: 1 # Run number to use for this file - firstEvent: 1 # number of first event in the file -} - -# Define and configure some modules to do work on each event. -# First modules are defined; they are scheduled later. -# Modules are grouped by type. -physics: -{ - - producers: - { - generator: @local::standard_lightsource - largeant: @local::standard_largeant - } - - analyzers: - { - pmtresponse: @local::dune35t_simphotoncounter # defined in opticaldetectormodules.fcl - } - - #define the producer and filter modules for this path, order matters, - #filters reject all following items. see lines starting physics.producers below - simulate: [ generator, largeant ] - analyzeIt: [ pmtresponse ] - #define the output stream, there could be more than one if using filters - stream1: [ ] - - #trigger_paths is a keyword and contains the paths that modify the art::event, - #ie filters and producers - trigger_paths: [simulate] - - #end_paths is a keyword and contains the paths that do not modify the art::Event, - #ie analyzers and output streams. these all run simultaneously - end_paths: [analyzeIt, stream1] -} - -#block to define where the output goes. if you defined a filter in the physics -#block and put it in the trigger_paths then you need to put a SelectEvents: {SelectEvents: [XXX]} -#entry in the output stream you want those to go to, where XXX is the label of the filter module(s) -outputs: -{ - out1: - { - module_type: RootOutput - fileName: "test_opticallibrary_dune35t.root" #default file name, can override from command line with -o or --output - } -} - - - - -##### Parameter changes for the generator (lightsource) ##### - -# do not allow lightsource to write output into root file -physics.producers.generator.FillTree: false - -##### Parameter changes for the pmt respnse analyzer (simphotoncounter) ##### - -physics.analyzers.pmtresponse.MakeAllPhotonsTree: false -physics.analyzers.pmtresponse.MakeDetectedPhotonsTree: false -physics.analyzers.pmtresponse.MakeOpDetsTree: false -physics.analyzers.pmtresponse.MakeOpDetEventsTree: false - - -# To disable wireplane absorption, uncomment this line -#services.LArG4Parameters.OpticalParamModels: ["TransparentPlaneAction"] - - - -#services.PhotonVisibilityService.NX: 30 -#services.PhotonVisibilityService.NY: 30 -#services.PhotonVisibilityService.NZ: 30 -#physics.producers.generator.FirstVoxel: 1000 -#physics.producers.generator.LastVoxel: 1020 -#physics.producers.generator.N: 500 - -#physics.analyzers.pmtresponse.Verbosity: 3 - -physics.producers.generator.N: 10 - - -# Number of voxels -services.PhotonVisibilityService.NX: 1 -services.PhotonVisibilityService.NY: 20 -services.PhotonVisibilityService.NZ: 5 - -services.PhotonVisibilityService.UseCryoBoundary: false - -# IF UseCryoBoundary is set to false, so use the following parameters in cm -services.PhotonVisibilityService.XMin: -8. -services.PhotonVisibilityService.XMax: -6. -services.PhotonVisibilityService.YMin: -100. -services.PhotonVisibilityService.YMax: 0 -services.PhotonVisibilityService.ZMin: 60. -services.PhotonVisibilityService.ZMax: 90.