1 #include "services_dune.fcl"
2 #include "protodunebeam.fcl"
4 process_name: H4BeamGen
8 # Load the service that manages root files for histograms.
9 # TFileService: { fileName: "gensingle_beam_protoDUNE_hist.root" }
11 RandomNumberGenerator: {} #ART native random number generator
12 FileCatalogMetadata: @local::art_file_catalog_mc
13 @table::protodune_simulation_services
15 TFileService: { #closeFileFast: true
16 fileName: "beamevent_hist.root" #can be overridden by '-T'
21 #Start each new event with an empty event.
24 module_type: EmptyEvent
25 timestampPlugin: { plugin_type: "GeneratedEventTimestamp" }
27 firstRun: 1 # Run number to use for this file
28 firstEvent: 1 # number of first event in the file
35 generator: @local::protodune_beam
36 rns: { module_type: "RandomNumberSaver" }
38 simulate: [ rns, generator ]
40 trigger_paths: [simulate]
48 module_type: RootOutput
49 fileName: "genBeam_protoDUNE.root" #default file name, can override from command line with -o or --output
55 # Specific to the GEANT H4 Beam simulation by Nikos and paths at CERN
56 #physics.producers.generator.FileName: "/mnt/nas00/scratch/h4/with_mu_halo_wo_shielding/H4_TILT22_APR_TARGSEC_ROTCENT_FTFP_BERT_7GeV_6M_reduced.root"
57 physics.producers.generator.FileName: "/pnfs/dune/persistent/dunepro/beam_data/simulation/mcc10/H4_v34b_1GeV_-27.7_10M_1.root"
58 physics.producers.generator.GoodParticleTreeName: "NTuples/GoodParticle"
59 physics.producers.generator.AllParticlesTreeName: "Detector/NP04FieldCage"
60 physics.producers.generator.StartEvent: 0
61 # Set the beam position and direction to fire the particles in the desired way
62 physics.producers.generator.BeamX: 7.966 # In cm, taken from protoDUNE_gensingle.fcl
63 physics.producers.generator.BeamY: 460.84
64 physics.producers.generator.BeamZ: -191.60
66 physics.producers.generator.RotateXZ: -11.844 # In degrees, taken from protoDUNE_gensingle.fcl
67 physics.producers.generator.RotateYZ: 11.107