All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fluxreader_source_dk2nu.fcl
Go to the documentation of this file.
1 # Driver fcl file for reading in dk2nu files
2 # this one comes from MicroBooNE
3 
4 #include "services_microboone.fcl"
5 #include "eventweight_microboone_MCC8.fcl"
6 #include "seedservice_microboone.fcl"
7 
8 process_name: FluxReader
9 
10 services:
11 {
12  TFileService: { fileName: "flux_hist_test.root" }
13  RandomNumberGenerator: {} #ART native random number generator
14  NuRandomService: @local::microboone_seedservice
15  TimeTracker: {}
16  FileCatalogMetadata: @local::art_file_catalog_mc
17 }
18 
19 
20 source:
21 {
22  fileNames: []
23  module_type: FluxReader
24  skipEvents: 0
25  maxEvents: -1
26  inputType: "dk2nu"
27  nBins: 200
28  Elow: 0
29  Ehigh: 10
30  dk2nuConfig: "dk2nu_numi_at_uboone_v1"
31  //dk2nuConfig: "dk2nu_bnb_at_uboone_v1"
32 
33  // -------------------------------------------------------
34  // dk2nu config is defined similarly like in GNuMIFlux.xml
35  // -------------------------------------------------------
36  // rotation matrix between detector coordinate system and beam coordinate system
37  // there are three ways to specify the matrix:
38  // 1) a sequence of rotations around one axis at a time (angles in rad)
39  // rotmat: { x: 0.05
40  // y: 0
41  // z: 0 }
42  // 2) 3 pairs of (theta,phi) ala GEANT3 (angles in rad)
43  // rotmat: [ theta1, phi1,
44  // theta2, phi2,
45  // theta3, phi3 ]
46  // 3) 3 direction vectors, ala Geant4
47  // rotmat: [ newX1, newX2, newX3,
48  // newY1, newY2, newY3,
49  // newZ1, newZ2, newZ3 ]
50  // -------------------------------------------------------
51  // translation between beam and user coordiante system
52  // 1) define the beam origin in the user coordinate system (in cm)
53  // userbeam: [ x, y, z ]
54  // 2) if 6 values treat as user xyz = beam xyz
55  // userbeam: [ x_user, y_user, z_user,
56  // z_beam, y_beam, z_beam ]
57  // -------------------------------------------------------
58  // flux window defined via three points in a user coord (x,y,z):
59  // windowBase: [ x1, y1, z1 ]
60  // window1: [ x2, y2, z2 ]
61  // window2: [ x3, y3, z3 ]
62  // -------------------------------------------------------
63 
64  //dk2nu config for numi@uboone version 1
65  dk2nu_numi_at_uboone_v1: {
66  userbeam: [ 5502, 7259, 67761.1 ]
67  rotmatrix: [ 0.921228671 , 0.0226872648, 0.388359401,
68  0.00136256111, 0.998103714 , -0.061539578,
69  -0.389019125 , 0.0572211871, 0.919450845 ]
70  windowBase: [ 500, -500, -3500 ]
71  window1: [-500, 200, -3500 ]
72  window2: [ 500, -500, 2000 ]
73  }
74 
75  //dk2nu config for numi@uboone version 2 - updated detector location docdb-15522 and 13804
77  userbeam: [ 5502, 7259, 67270 ]
78  rotmatrix: [ 0.92103853804025682, 0.0227135048039241207, 0.38880857519374290,
79  0.0000462540012621546684, 0.99829162468141475, -0.0584279894529063024,
80  -0.38947144863934974, 0.0538324139386641073, 0.91946400794392302 ]
81  windowBase: [ 500, -500, -3500 ]
82  window1: [-500, 200, -3500 ]
83  window2: [ 500, -500, 2000 ]
84  }
85 
86  //dk2nu config for bnb@uboone version 1
88  userbeam: [ -130., 0., 47000 ]
89  rotmatrix: [ 1, 0, 0,
90  0, 1, 0,
91  0, 0, 1 ]
92  windowBase: [ 630, 500, -1000 ]
93  window1: [ 630, -500, -1000 ]
94  window2: [ -370, 500, -1000 ]
95  }
96 
97  //dk2nu config for bnb@uboone version 2 - updated detector location docdb-15522 and 13804
99  userbeam: [ -124.325, 0.93, 46336.35 ]
100  rotmatrix: [ 1, 0, 0,
101  0, 1, 0,
102  0, 0, 1 ]
103  windowBase: [ 624.325, 499.07, -1000 ]
104  window1: [ 624.325, -500.93, -1000 ]
105  window2: [ -376.675, 499.07, -1000 ]
106  }
107 }
108 
109 outputs:
110 {
111  out1:
112  {
113  module_type: RootOutput
114  fileName: "fluxreader_dk2nu.root"
115  compressionLevel: 1
116  dataTier: "simulated"
117  }
118 }
119 
120 physics:
121 {
122  producers:
123  {
124 # eventweight: @local::microboone_eventweight
125  rns: { module_type: "RandomNumberSaver" }
126  }
127  analyzers:
128  {
129  }
130  ana: []
131 
132  simulate: [ rns ]
133  stream1: [ out1 ]
134  end_paths: [ stream1 ]
135 }
136 
137 #physics.producers.eventweight.genie_module_label: flux
138 #physics.producers.eventweight.weight_functions: [bnbcorrection, piplus, piminus, kplus, kzero, kminus, horncurrent, pioninexsec, nucleontotxsec, nucleonqexsec, nucleoninexsec, pionqexsec, piontotxsec, expskin]
139 
140 
services RandomNumberGenerator
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 window2
process_name dk2nu_bnb_at_uboone_v1
BEGIN_PROLOG pandoraTrackRangeCryoW pandoraTrackRangeCryoW rns
process_name drop raw::OpDetWaveforms_DataApr2016RecoStage1_saturation_ * physics
do source
physics producers trigslidewindowOR6mW physics effSlidingOR6mW physics end_paths
process_name can override from command line with o or output dataTier
Definition: runPID.fcl:28
process_name dk2nu_bnb_at_uboone_v2
process_name opflashCryoW ana
source drop raw::ubdaqSoftwareTriggerData_ *_ *_ * maxEvents
Definition: frame-shunt.fcl:6
process_name dk2nu_numi_at_uboone
physics simulate
process_name windowBase
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
process_name window1
process_name rotmatrix
standard_singlep gaussian distribution ie ie ie gaussian gaussian gaussian larg4Main stream1
Definition: multigen.fcl:18
process_name analyzers
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsWindowPair END_PROLOG trigslidewindowOR6m output outputs
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG process_name