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