All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
test_singleparticlelarg4.fcl
Go to the documentation of this file.
1 BEGIN_PROLOG
2 
4 {
5  module_type: "larg4Main"
6  enableVisualization: false
7  macroPath: ".:./macros"
8  visMacro: "vis.mac"
9 }
10 
11 END_PROLOG
12 
13 #no experiment specific configurations because larg4SingleGen is detector agnostic
14 
16 {
17  module_type: "larg4SingleGen"
18  ParticleSelectionMode: "all" # 0 = use full list, 1 = randomly select a single listed particle
19  PadOutVectors: false # false: require all vectors to be same length
20  # true: pad out if a vector is size one
21  PDG: [ 13 ] # list of pdg codes for particles to make
22  P0: [ 6. ] # central value of momentum for each particle
23  SigmaP: [ 0. ] # variation about the central value
24  PDist: "Gaussian" # 0 - uniform, 1 - gaussian distribution
25  X0: [ 0. ] # in cm in world coordinates, ie x = 0 is at the wire plane
26  # and increases away from the wire plane
27  Y0: [ 0. ] # in cm in world coordinates, ie y = 0 is at the center of the TPC
28  Z0: [ -130. ] # in cm in world coordinates, ie z = 0 is at the upstream edge of
29  # the TPC and increases with the beam direction
30  T0: [ 0. ] # starting time
31  SigmaX: [ 0. ] # variation in the starting x position
32  SigmaY: [ 0. ] # variation in the starting y position
33  SigmaZ: [ 0.0 ] # variation in the starting z position
34  SigmaT: [ 0.0 ] # variation in the starting time
35  PosDist: "uniform" # 0 - uniform, 1 - gaussian
36  TDist: "uniform" # 0 - uniform, 1 - gaussian
37  Theta0XZ: [ 0. ] #angle in XZ plane (degrees)
38  Theta0YZ: [ 0. ] #angle in YZ plane (degrees)
39  SigmaThetaXZ: [ 0. ] #in degrees
40  SigmaThetaYZ: [ 0. ] #in degrees
41  AngleDist: "Gaussian" # 0 - uniform, 1 - gaussian
42 }
43 
44 process_name:processA
45 source: {
46  module_type: EmptyEvent
47  maxEvents: 100
48 }
49 services: {
50  message : {
51  debugModules : ["*"]
52  suppressInfo : []
53  destinations : {
54  LogToConsole : {
55  type : "cout"
56  threshold : "DEBUG"
57  categories : {
58  default : { limit : 50 }
59  }
60  }
61  }
62  }
63  TFileService :
64  {
65  fileName : "testlarg4.root"
66  }
67 
68  DetectorHolder: {}
69  ActionHolder: {}
71  NuRandomService:{service_type: "NuRandomService"
72  endOfJobSummary: true
73  policy: "random"
74 }
75 
76  PhysicsListHolder: {}
77  PhysicsList: {
78  PhysicsListName: "FTFP_BERT"
79  DumpList: false
80  enableCerenkov: false
81  enableScintillation: false
82  ScintillationByParticleType: false
83  enableAbsorption: false
84  enableRayleigh: false
85  enableMieHG: false
86  enableBoundary: false
87  enableWLS: false
88 }
89 
90  // Detector(s) for the simulation
91  LArG4Detector :
92  {
93  category: "world"
94  gdmlFileName_ : "lArDet.gdml"
95  }
96 
97 // writeGdml: {
98 // name: "writeGdml"
99 // gdmlFileName:"output.gdml"
100 // }
101 
102  ExampleGeneralAction: {
103  name: "exampleGeneral"
104  }
105 MCTruthEventAction: {service_type: "MCTruthEventActionService"}
106 ParticleListAction: {service_type: "ParticleListActionService"
107  service_type: "ParticleListActionService"
108  EnergyCut: 1e-5 # Kinetic Energy cut in [MeV]
110  storeTrajectories: true
111  keepGenTrajectories: ["generator"] # list of generator labels for which we want to store
112  # trajectory points. The protodune beam label is simply
113  # "generator"
114  keepOnlyPrimaryFullTrajectories : false # (defaults to false in larg4) If set to true, only
115  # the particles with MCTruth process == "primary" and
116  # their descendants will have the full set of trajetory
117  # points stored. Particles descending from primaries with
118  # MCTruth process != "primary" will not have a full set
119  # of trajectory points stored -- only their start and
120  # end points. This filter only applies to the generator
121  # labels listed in the keepGenTrajectories. E.g, for the
122  # beam generator, no "primaryBackground" particles or their
123  # descendants would have a full set of traj. points. if
124  # this is set to true.
125  SparsifyTrajectories: true # call SparsifyTrajectory() method on MCParticles with full trajectories
126  # being stored. This helps reduce memory usage in the root output stage
127  # if there are many trajectory points.
128  SparsifyMargin: 0.015 # required when SparsifyTrajectories is set to true
129  KeepTransportation: true # When sparsifying: forces steps with the 'Transportation' process to be saved
130  # --- Useful in protodune to keep the first step in the active volume
131  KeepSecondToLast: true # Sparsifying could cut out the penultimate step point, which holds the correct info
132  # of the end of the track (the final step is defined to have 0 kinetic energy)
133  # --- This forces that true penultimate point to be saved, thus preserving the info
134 }
135 }
136 
137 outputs: {
138 out1: {
139  module_type: RootOutput
140  fileName: "Testingout.root"
141  }
142 }
143 
144 physics: {
145  producers: {
148  }
149  analyzers: {
151  hist_dir: "HistoDir"
152  }
154  hist_dir: "HistoDir2"
155  }
156  CheckAuxDetHit: { module_type: CheckAuxDetHit
157  hist_dir: "HistoDir3"
158  }
159 
160 }
161 
162  path1: [ generator,larg4Main ]
163  stream1: [ out1,CheckSimEnergyDeposit,CheckMCParticle,CheckAuxDetHit]
164 
165  trigger_paths: [ path1 ]
166  end_paths: [ stream1 ]
167 }
services RandomNumberGenerator
process_name physics producers generator physics producers generator SigmaZ
process_name opdaq physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator Theta0XZ
Definition: gen_protons.fcl:45
process_name opflash particleana ie ie ie z
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 caloskimCalorimetryCryoE physics caloskimCalorimetryCryoW physics sequence::physics pathW services
process_name physics producers generator PDist
coordinates
Definition: geo_types.h:121
process_name stream1 can override from command line with o or output services DetectorPropertiesService services DetectorPropertiesService services DetectorPropertiesService services DetectorPropertiesService physics analyzers pmtresponse NeutronTrackingCut services LArG4Parameters gaussian physics producers generator PDG
* labels
standard_singlep gaussian distribution ie ie ie gaussian gaussian gaussian larg4Main CheckMCParticle
Definition: multigen.fcl:18
process_name physics producers generator hPHist_pi physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator Theta0YZ
var pdg
Definition: selectors.fcl:14
process_name opflash particleana ie x
process_name opdaq physics producers generator PosDist
Definition: gen_protons.fcl:45
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
process_name opdaq physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator SigmaP
Definition: gen_protons.fcl:45
do source
process_name opdaq physics producers generator physics producers generator physics producers generator Z0
Definition: gen_protons.fcl:45
process_name opflash opflashana store
BEGIN_PROLOG standard_singlep
Definition: singles.fcl:8
physics producers trigslidewindowOR6mW physics effSlidingOR6mW physics end_paths
#define the
process_name physics producers generator hPHist_pi physics producers generator physics producers generator SigmaX
process_name opdaq physics producers generator physics producers generator Y0
Definition: gen_protons.fcl:45
process_name E
source drop raw::ubdaqSoftwareTriggerData_ *_ *_ * maxEvents
Definition: frame-shunt.fcl:6
util::quantities::megaelectronvolt MeV
BEGIN_PROLOG TPC
process_name physics producers generator hPHist_pi physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator AngleDist
BEGIN_PROLOG note Geant4 assumes this is in MeV keepEMShowerDaughters
process_name gaushit a
standard_singlep gaussian distribution ie ie ie gaussian TDist
Definition: multigen.fcl:18
standard_singlep gaussian distribution X0
Definition: multigen.fcl:8
process_name opflash particleana ie ie y
TConfigurablePhysicsList< ModularPhysicsList > PhysicsList
Definition: PhysicsList.h:89
standard_singlep gaussian distribution ie ie ie gaussian gaussian gaussian simWire CheckSimEnergyDeposit
Definition: zengen.fcl:23
standard_singlep gaussian distribution ie ie ie gaussian gaussian gaussian larg4Main
Definition: zengen.fcl:23
auto end(FixedBins< T, C > const &) noexcept
Definition: FixedBins.h:585
return match has_match and(match.match_pdg==11 or match.match_pdg==-11)
process_name physics producers generator physics producers generator physics producers generator SigmaT
BEGIN_PROLOG standard_larg4
physics filters filter
services ParticleListAction keepGenTrajectories
BEGIN_PROLOG method
BEGIN_PROLOG triggeremu_data_config_icarus settings PMTADCthresholds sequence::icarus_stage0_multiTPC_TPC physics sequence::icarus_stage0_EastHits_TPC physics sequence::icarus_stage0_WestHits_TPC physics producers purityana0 module_type
if &&[-z"$BASH_VERSION"] then echo Attempting to switch to bash bash shellSwitch exit fi &&["$1"= 'shellSwitch'] shift declare a IncludeDirectives for Dir in
BEGIN_PROLOG note Geant4 assumes this is in MeV does not store electromagnetic shower daughter storeTrajectories
process_name Energy
Definition: lArDet.fcl:66
do i e
then echo fcl name
standard_singlep gaussian distribution ie ie ie gaussian gaussian gaussian larg4Main stream1
Definition: multigen.fcl:18
finds tracks best matching by angle
temporary value
BEGIN_PROLOG pmt_uncoated Threshold needs to be a element array of each individual PMT ADC threshold in order of lowest to highest channel number page of manual option are OR or AND window for pmt trigger time start window for pmt trigger time end etc then what events all hists are saved for if too many hists are saved
process_name analyzers
physics producers generator PadOutVectors
process_name physics producers generator hPHist_pi physics producers generator P0
process_name opdaq physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator SigmaThetaYZ
Definition: gen_protons.fcl:45
process_name physics producers generator SigmaY
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG trigslidewindowOR6m output outputs
list
Definition: file_to_url.sh:28
process_name opdaq physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator SigmaThetaXZ
Definition: gen_protons.fcl:45
process_name sequence::icarus_reco_cluster3d physics trigger_paths
process_name opdaq physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator physics producers generator T0
Definition: gen_protons.fcl:45
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name