All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testlarg4.fcl
Go to the documentation of this file.
1 #include "LArG4.fcl"
2 //#include "seedservice.fcl"
3 #no experiment specific configurations because larg4SingleGen is detector agnostic
4 
6 {
7  module_type: "larg4SingleGen"
8  ParticleSelectionMode: "all" # 0 = use full list, 1 = randomly select a single listed particle
9  PadOutVectors: false # false: require all vectors to be same length
10  # true: pad out if a vector is size one
11  PDG: [ 13 ] # list of pdg codes for particles to make
12  P0: [ 6. ] # central value of momentum for each particle
13  SigmaP: [ 0. ] # variation about the central value
14  PDist: "Gaussian" # 0 - uniform, 1 - gaussian distribution
15  X0: [ 0. ] # in cm in world coordinates, ie x = 0 is at the wire plane
16  # and increases away from the wire plane
17  Y0: [ 0. ] # in cm in world coordinates, ie y = 0 is at the center of the TPC
18  Z0: [ -130. ] # in cm in world coordinates, ie z = 0 is at the upstream edge of
19  # the TPC and increases with the beam direction
20  T0: [ 0. ] # starting time
21  SigmaX: [ 0. ] # variation in the starting x position
22  SigmaY: [ 0. ] # variation in the starting y position
23  SigmaZ: [ 0.0 ] # variation in the starting z position
24  SigmaT: [ 0.0 ] # variation in the starting time
25  PosDist: "uniform" # 0 - uniform, 1 - gaussian
26  TDist: "uniform" # 0 - uniform, 1 - gaussian
27  Theta0XZ: [ 0. ] #angle in XZ plane (degrees)
28  Theta0YZ: [ 0. ] #angle in YZ plane (degrees)
29  SigmaThetaXZ: [ 0. ] #in degrees
30  SigmaThetaYZ: [ 0. ] #in degrees
31  AngleDist: "Gaussian" # 0 - uniform, 1 - gaussian
32 }
33 
34 process_name:processA
35 source: {
36  module_type: EmptyEvent
37  maxEvents: 100
38 }
39 services: {
40  message : {
41  debugModules : ["*"]
42  suppressInfo : []
43  destinations : {
44  LogToConsole : {
45  type : "cout"
46  threshold : "DEBUG"
47  categories : {
48  default : { limit : 50 }
49  }
50  }
51  }
52  }
53  TFileService :
54  {
55  fileName : "testlarg4.root"
56  }
57 
58  DetectorHolder: {}
59  ActionHolder: {}
61  NuRandomService:{service_type: "NuRandomService"
62  endOfJobSummary: true
63  policy: "random"
64 }
65 
66  PhysicsListHolder: {}
67  PhysicsList: {
68  PhysicsListName: "FTFP_BERT"
69  DumpList: false
70  enableCerenkov: false
71  enableScintillation: false
72  ScintillationByParticleType: false
73  enableAbsorption: false
74  enableRayleigh: false
75  enableMieHG: false
76  enableBoundary: false
77  enableWLS: false
78 }
79 
80  // Detector(s) for the simulation
81  LArG4Detector :
82  {
83  category: "world"
84  gdmlFileName_ : "lArDet.gdml"
85  }
86 
87 // writeGdml: {
88 // name: "writeGdml"
89 // gdmlFileName:"output.gdml"
90 // }
91 
92  ExampleGeneralAction: {
93  name: "exampleGeneral"
94  }
95 MCTruthEventAction: {service_type: "MCTruthEventActionService"}
96 ParticleListAction: {service_type: "ParticleListActionService"
97  service_type: "ParticleListActionService"
98  EnergyCut: 1e-5 # Kinetic Energy cut in [MeV]
100  storeTrajectories: true
101  keepGenTrajectories: ["generator"] # list of generator labels for which we want to store
102  # trajectory points. The protodune beam label is simply
103  # "generator"
104  keepOnlyPrimaryFullTrajectories : false # (defaults to false in larg4) If set to true, only
105  # the particles with MCTruth process == "primary" and
106  # their descendants will have the full set of trajetory
107  # points stored. Particles descending from primaries with
108  # MCTruth process != "primary" will not have a full set
109  # of trajectory points stored -- only their start and
110  # end points. This filter only applies to the generator
111  # labels listed in the keepGenTrajectories. E.g, for the
112  # beam generator, no "primaryBackground" particles or their
113  # descendants would have a full set of traj. points. if
114  # this is set to true.
115  SparsifyTrajectories: true # call SparsifyTrajectory() method on MCParticles with full trajectories
116  # being stored. This helps reduce memory usage in the root output stage
117  # if there are many trajectory points.
118  SparsifyMargin: 0.015 # required when SparsifyTrajectories is set to true
119  KeepTransportation: true # When sparsifying: forces steps with the 'Transportation' process to be saved
120  # --- Useful in protodune to keep the first step in the active volume
121  KeepSecondToLast: true # Sparsifying could cut out the penultimate step point, which holds the correct info
122  # of the end of the track (the final step is defined to have 0 kinetic energy)
123  # --- This forces that true penultimate point to be saved, thus preserving the info
124 }
125 }
126 
127 outputs: {
128 out1: {
129  module_type: RootOutput
130  fileName: "Testingout.root"
131  }
132 }
133 
134 physics: {
135  producers: {
138  }
139  analyzers: {
141  hist_dir: "HistoDir"
142  }
144  hist_dir: "HistoDir2"
145  }
146  CheckAuxDetHit: { module_type: CheckAuxDetHit
147  hist_dir: "HistoDir3"
148  }
149 
150 }
151 
152  path1: [ generator,larg4Main ]
153  stream1: [ out1,CheckSimEnergyDeposit,CheckMCParticle,CheckAuxDetHit]
154 
155  trigger_paths: [ path1 ]
156  end_paths: [ stream1 ]
157 }
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