-
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.
- Loading branch information
Showing
24 changed files
with
255 additions
and
73 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
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,5 @@ | ||
#include "compgraph_g4_protodunehd.fcl" | ||
|
||
process_name: G4Stage2 | ||
|
||
simulate: [ rns, IonAndScint, PDFastSim ] |
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,72 @@ | ||
#include "services_refactored_pdune.fcl" | ||
#include "LArG4_dune.fcl" | ||
#include "IonAndScint_dune.fcl" | ||
#include "PDFastSim_dune.fcl" | ||
|
||
process_name: G4 | ||
|
||
services: | ||
{ | ||
TFileService: { fileName: "g4_protodunehd_hist.root" } | ||
TimeTracker: {} | ||
MemoryTracker: {} # default is one | ||
RandomNumberGenerator: {} #ART native random number generator | ||
message: @local::standard_info | ||
|
||
@table::protodunehd_refactored_simulation_services | ||
PhotonVisibilityService: @local::protodune_hd_v6_photonvisibilityservice | ||
|
||
NuRandomService: @local::dune_prod_seedservice | ||
} | ||
|
||
|
||
|
||
source: | ||
{ | ||
module_type: RootInput | ||
maxEvents: 30000 | ||
fileNames: ["gen_protodunehd.root"] | ||
} | ||
|
||
physics: | ||
{ | ||
|
||
producers: | ||
{ | ||
|
||
#retain largeant name for compatibility | ||
largeant: @local::protodune_larg4 | ||
IonAndScint: @local::protodunehd_ionandscint_correlated | ||
PDFastSim: @local::protodune_hd_pdfastsim_pvs | ||
rns: {module_type: "RandomNumberSaver"} | ||
} | ||
|
||
analyzers: | ||
{ | ||
|
||
} | ||
|
||
simulate: [ rns, largeant, IonAndScint, PDFastSim ] | ||
|
||
stream1: [ out1 ] | ||
|
||
trigger_paths: [ simulate ] | ||
end_paths: [ stream1 ] | ||
} | ||
|
||
outputs: | ||
{ | ||
out1: | ||
{ | ||
module_type: RootOutput | ||
fileName: "%ifb_g4.root" | ||
dataTier: "simulated" | ||
#outputCommands: [ "keep *" ] | ||
outputCommands: [ "keep *", "drop sim::SimEnergyDeposits_largeant_*_G4*"] | ||
#fastCloning: false #will fail if the split level is not the same as for the gen stage, so turn it off | ||
compressionLevel: 1 #zlib argument (0-9) | ||
#basketSize: 8192 #[Byte] buffer size at 8k | ||
#splitLevel: 0 #reduces number of buffers | ||
#treeMaxVirtualSize: 1 #[Byte] limits number of buffers/branch to 1 (default is 10) | ||
} | ||
} |
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,6 @@ | ||
#include "photonlibrary_g4_protodunehd.fcl" | ||
|
||
process_name: G4Stage2 | ||
physics.simulate: [ rns, IonAndScint, PDFastSim ] | ||
services.TFileService.fileName: "g4_protodunehd_hist.root" | ||
outputs.out1.fileName: "%ifb_g4_stage2.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#include "standard_g4_protodunehd.fcl" | ||
|
||
process_name: G4Stage2 | ||
|
||
physics.simulate: [ rns, IonAndScint, IonAndScintExternal, PDFastSim, PDFastSimExternal ] | ||
services.TFileService.fileName: "g4_protodunehd_hist.root" | ||
outputs.out1.fileName: "%ifb_g4_stage2.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
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,88 @@ | ||
#include "services_refactored_pdune.fcl" | ||
# | ||
#include "singles_dune.fcl" | ||
#include "corsika_protodune.fcl" | ||
#include "protodunebeam.fcl" | ||
#include "dune_radiological_model.fcl" | ||
|
||
process_name: SinglesGen | ||
|
||
services: | ||
{ | ||
# Load the service that manages root files for histograms. | ||
TFileService: { fileName: "prod_beam_p1GeV_cosmics_protodunehd_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::protodunehd_refactored_simulation_services | ||
} | ||
|
||
#Start each new event with an empty event. | ||
source: | ||
{ | ||
module_type: EmptyEvent | ||
timestampPlugin: { plugin_type: "GeneratedEventTimestamp" } | ||
maxEvents: 10 | ||
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::microboone_singlep | ||
} | ||
|
||
|
||
#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: "prod_beam_p1GeV_cosmics_protodunehd.root" #default file name, can override from command line with -o or --output | ||
dataTier: "generated" | ||
compressionLevel: 1 | ||
} | ||
} | ||
|
||
physics.producers.generator.PDG: [ 11 ] | ||
physics.producers.generator.PosDist: 0 | ||
physics.producers.generator.P0: [ 0.05 ] | ||
physics.producers.generator.SigmaP: [ 0.0 ] | ||
physics.producers.generator.X0: [0.0] | ||
physics.producers.generator.Y0: [0.0] | ||
physics.producers.generator.Z0: [300.0] | ||
physics.producers.generator.SigmaX: [ 600. ] | ||
physics.producers.generator.SigmaY: [ 600. ] | ||
physics.producers.generator.SigmaZ: [ 600. ] | ||
physics.producers.generator.AngleDist: 0 | ||
physics.producers.generator.Theta0XZ: [ 0. ] | ||
physics.producers.generator.Theta0YZ: [ 0. ] | ||
physics.producers.generator.SigmaThetaXZ: [ 180. ] | ||
physics.producers.generator.SigmaThetaYZ: [ 90. ] | ||
source.maxEvents: 10 | ||
|
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
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
2 changes: 1 addition & 1 deletion
2
fcl/protodunehd/reco/standard_reco_stage2_calibration_protodunehd_MC.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
Oops, something went wrong.