-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into jsoto_pdhdworkflow
- Loading branch information
Showing
8 changed files
with
126 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Install fcl files in /job subdirectory. | ||
|
||
install_fhicl() | ||
|
||
# Also put a copy in the source tree. | ||
|
||
FILE(GLOB fcl_files *.fcl) | ||
install_source( EXTRAS ${fcl_files} ) |
26 changes: 26 additions & 0 deletions
26
fcl/dunefdvd/gen/atm/prodgenie_atmnu_max_weighted_dunevd10kt_1x8x6_3view_30deg.fcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#include "prodgenie_common_dunevd10kt.fcl" | ||
|
||
process_name: GenieGen | ||
|
||
services: | ||
{ | ||
@table::services | ||
@table::dunefdvd_1x8x6_3view_30deg_simulation_services | ||
} | ||
|
||
# remove some services that were configured but are useless in generation: | ||
services.ChannelGroupService: @erase | ||
services.ChannelStatusService: @erase | ||
services.DatabaseUtil: @erase | ||
services.ParticleInventoryService: @erase | ||
services.BackTrackerService: @erase | ||
services.PhotonBackTrackerService: @erase | ||
services.LArFFT: @erase | ||
services.SignalShapingServiceDUNE: @erase | ||
services.SpaceCharge: @erase | ||
|
||
|
||
outputs.out1.fileName: "prodgenie_atmnu_max_weighted_dunevd10kt_1x8x6_3view_30deg_gen.root" | ||
source.firstRun: 20000063 | ||
|
||
physics.producers.generator: @local::dune_fdvd_genie_atmo_max_weighted_honda |
3 changes: 3 additions & 0 deletions
3
...nefdvd/gen/atm/prodgenie_atmnu_max_weighted_randompolicy_dunevd10kt_1x8x6_3view_30deg.fcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#include "prodgenie_atmnu_max_weighted_dunevd10kt_1x8x6_3view_30deg.fcl" | ||
|
||
services.NuRandomService: @local::random_NuRandomService #Using the random rng policy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
#include "services_refactored_pdune.fcl" | ||
#include "singles_dune.fcl" | ||
#include "corsika_protodune.fcl" | ||
#include "CORSIKAGendp.fcl" | ||
#include "dune_radiological_model.fcl" | ||
#include "gen_protodunevd_singlep.fcl" | ||
|
||
process_name: SinglesGen | ||
|
||
services: | ||
{ | ||
# Load the service that manages root files for histograms. | ||
TFileService: { fileName: "gensingle_protoDUNE_hist.root" } | ||
TimeTracker: @local::dune_time_tracker | ||
MemoryTracker: @local::dune_memory_tracker | ||
RandomNumberGenerator: {} #ART native random number generator | ||
FileCatalogMetadata: @local::art_file_catalog_mc | ||
@table::protodunevd_refactored_simulation_services | ||
} | ||
|
||
#Start each new event with an empty event. | ||
source: | ||
{ | ||
module_type: EmptyEvent | ||
timestampPlugin: { plugin_type: "GeneratedEventTimestamp" } | ||
maxEvents: 100 | ||
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::pdvd_1GeV_muon | ||
} | ||
|
||
|
||
#define the producer and filter modules for this path, order matters, | ||
simulate: [ generator ] | ||
|
||
#define the output stream, there could be more than one if using filters | ||
stream1: [ out1 ] | ||
|
||
#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: [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: "gensingle_protoDUNE.root" #default file name, can override from command line with -o or --output | ||
dataTier: "generated" | ||
compressionLevel: 1 | ||
} | ||
} | ||
|
||
services.TFileService.fileName: "gen_protodunevd_muon_1GeV_hist.root" | ||
source.maxEvents: 1 | ||
outputs.out1.fileName: "gen_protodunevd_muon_1GeV.root" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters