Skip to content

Commit 79a2b65

Browse files
author
Brinden Carlson
committed
Update T0 default to be in configuration fcl
1 parent 5c1d374 commit 79a2b65

2 files changed

Lines changed: 5 additions & 43 deletions

File tree

sbndcode/JobConfigurations/base/prodsingle_sbnd.fcl

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,6 @@
2626

2727
#include "singles_sbnd.fcl"
2828

29-
#include "larg4_sbnd.fcl"
30-
#include "ionandscint_sbnd.fcl"
31-
#include "PDFastSim_sbnd.fcl"
32-
#include "simdrift_sbnd.fcl"
33-
34-
#include "detsimmodules_sbnd.fcl"
35-
3629
#include "rootoutput_sbnd.fcl"
3730

3831

@@ -74,37 +67,11 @@ physics:
7467

7568
# Generation
7669
generator: @local::sbnd_singlep
77-
78-
# A dummy module that forces the G4 physics list to be loaded
79-
loader: { module_type: "PhysListLoader" }
80-
81-
# The geant4 step
82-
largeant: @local::sbnd_larg4
83-
84-
# Creation of ionization electrons and scintillation photons, inside the active volume
85-
ionandscint: @local::sbnd_ionandscint
86-
87-
# Light propogation inside the active volume
88-
pdfastsim: @local::sbnd_pdfastsim_par
89-
90-
# Electron propogation
91-
simdrift: @local::sbnd_simdrift
92-
93-
# Detector simulation
94-
daq: @local::sbnd_simwire
9570
}
9671

9772
#define the producer and filter modules for this path, order matters,
98-
# simulate: [ rns, generator, largeant, daq]
99-
# simulate: [ rns, generator ]
10073
simulate: [ rns
10174
, generator
102-
, loader
103-
, largeant
104-
, ionandscint
105-
, pdfastsim
106-
, simdrift
107-
, daq
10875
]
10976

11077
#define the output stream, there could be more than one if using filters
@@ -121,16 +88,8 @@ outputs:
12188
{
12289
out1:
12390
{
124-
@table::sbnd_rootoutput # inherit shared settings
91+
@table::sbnd_rootoutput # inherit shared settings
12592
fileName: "prodsingle_sbnd_%p-%tc.root" # default file name, can override from command line with -o or --output
126-
outputCommands: [ "keep *_*_*_*"
127-
, "drop *_ionandscint__*" # Drop the IonAndScint w/ SCE offsets applied
128-
]
12993
}
13094
}
13195

132-
#
133-
# at the end of the configuration, we can override single parameters to reflect our needs:
134-
#
135-
physics.producers.generator.T0: [ 0 ]
136-
physics.producers.generator.Theta0XZ: [ 10 ]

sbndcode/LArSoftConfigurations/gen/singles_sbnd.fcl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ BEGIN_PROLOG
44

55
sbnd_singlep: @local::standard_singlep
66

7+
# By default pad ot a vector if it is size 1
8+
physics.producers.generator.PadOutVectors: true
9+
710
# Particle generated at this time will appear in main drift window at trigger T0.
8-
physics.producers.generator.T0: [ 1.7e3 ] # us
11+
physics.producers.generator.T0: [0] # us
912

1013
physics.producers.generator.P0: [ -1.0 ] # GeV/c
1114
physics.producers.generator.SigmaP: [ 0.0 ] # GeV/c

0 commit comments

Comments
 (0)