protonmc.fcl
Go to the documentation of this file.
1 #include "services_dune.fcl"
2 #include "hitfindermodules_dune.fcl"
3 #include "filters.fcl"
4 #include "signalservices_dune.fcl"
5 #include "caldata_dune.fcl"
6 #include "trackfindermodules_dune.fcl"
7 
8 #include "ecalibration.fcl"
9 #include "triggeralgo_service.fcl"
10 #include "photpropservices_dune.fcl"
11 #include "ProtoDUNEDataUtils.fcl"
12 #include "ProtoDUNEBeamlineFilter.fcl"
13 #include "ProtoDUNEBeamCuts.fcl"
14 
15 #include "protodune_tools_dune.fcl"
16 
17 
18 process_name: protonmc
19 
20 services:
21 {
22  #Load the service that manages root files for histograms.
23  TFileService: { fileName: "mcproton.root" }
24  RandomNumberGenerator: {} #ART native random number generator
25  #@table::protodune_services
26  @table::protodune_reco_services
27  message: @local::standard_info
28  FileCatalogMetadata: @local::art_file_catalog_mc
29 }
30 
31 #source is now a root file
32 source:
33 {
34  module_type: RootInput
35  maxEvents: -1 # Number of events to create
36 }
37 
38 outputs:
39 {
40  out1:
41  {
42  module_type: RootOutput
43  fileName: "mcproton.root" #default file name, can override from command line with -o or --output
44  dataTier: "reconstructed"
45  fastCloning: false
46  }
47 }
48 
49 physics:
50 {
51  producers:{
52 
53  }
54  #filters: {
55  #f1: @local::standard_protodunebeamlinefilter_Proton_1GeV
56  #}
57  #fpath: [f1]
58 
59  analyzers:{
60  protonmc:
61  {
62  module_type: "protonmc"
63  BeamModuleLabel: "beamevent"
64  #Warning!! The code will use CalorimetryTag to do sce correction
65  #CalorimetryTag: "pandoracalo"
66  #CalorimetryTag: "pandoracaloSCE"
67  #CalorimetryTag: "pandoracalo"
68  #pandoracalo + electron lifetime correction (recommended)
69  CalorimetryTag: "pandoracali"
70 
71  TrackerTag: "pandoraTrack"
72  ShowerTag: "pandoraShower"
73  PFParticleTag: "pandora"
74  GeneratorTag: "generator"
75  #Verbose: true
76  DataUtils: @local::standard_protodunedatautils
77  #NNetModuleLabel: "vtxid:emtrack"
78 
79  #hy:: for sce on, disable the comment of Prod2BeamCuts
80  #BeamCuts: @local::Prod2BeamCuts
81 
82  #mcs angles
83  #MuMCSInputTag: "pandoraTrack"
84  #TrajMCSFitter : {
85  #pIdHypothesis: 2212
86  #minNumSegments: 2
87  #segmentLength: 14.0
88  #segmentLength: 1.0
89  #minHitsPerSegment: 2
90  #nElossSteps: 10
91  #eLossMode: 0
92  #pMin: 0.01
93  #pMax: 7.50
94  #pStep: 0.01
95  #angResol: 3.0 #in mrad (uBoone angle resolution)
96  #}
97 
98 
99  }
100  }
101 
102  ana: [ protonmc ]
103  stream1: [ out1 ]
104  end_paths: [ ana ]
105 }
106 
107 #physics.analyzers.protonmc.TrackModuleLabel: "pmtrack"
108 #physics.analyzers.protonmc.CalorimetryModuleLabel: "pmtrackcalo"
109 #physics.analyzers.protonmc.HitsModuleLabel: "gaushit"
110 ##physics.analyzers.protonmc.PFParticleTag: "pmtrack"
111 
112 #disable the following line for prod 2
113 services.BackTrackerService.BackTracker.SimChannelModuleLabel: "tpcrawdecoder:simpleSC"
114 
115 #physics.analyzers.protonmc.TrackModuleLabel: "pandoraTrack"
116 #physics.analyzers.protonmc.CalorimetryModuleLabel: "pandoracalo"
117 #physics.analyzers.protonmc.CalorimetryModuleLabel: "pandoracaloSCE"
118 #physics.analyzers.protonmc.CalorimetryModuleLabel: "pandoracalo"
119 physics.analyzers.protonmc.CalorimetryModuleLabel: "pandoracali"
120 #physics.analyzers.protonmc.HitsModuleLabel: "linecluster"
121 physics.analyzers.protonmc.HitsModuleLabel: "hitpdune"
122 physics.analyzers.protonmc.SaveTrackInfo: true
123 services.Geometry: @local::protodunev7_geo
124 
125 #g4 reweight
126 #physics.analyzers.protonmc.FracsFile: "/dune/data2/users/calcuttj/GeantReweight/ForHengYe/cascade_fix.root"
127 #physics.analyzers.protonmc.XSecFile: "/dune/data2/users/calcuttj/GeantReweight/ForHengYe/cross_section_out.root"
128 
129 #physics.analyzers.protonmc.FracsFile: "/dune/data2/users/hyliao/GeantReweight/xs_cascade/cascade_fix.root"
130 #physics.analyzers.protonmc.XSecFile: "/dune/data2/users/hyliao/GeantReweight/xs_cascade/cross_section_out.root"
131 
132 physics.analyzers.protonmc.FracsFile: "./cascade_fix.root"
133 physics.analyzers.protonmc.Material: {
134  Name: "liquidArgon"
135  Z: 18
136  Mass: 39.948
137  Density: 1.400
138 }
139 
140 physics.analyzers.protonmc.RW_PDG: 2212
141 
142 physics.analyzers.protonmc.ParameterSet: [
143  {
144  Cut: "reac"
145  Name: "fReac"
146  Range: [0., 1200.]
147  Nominal: 1.0
148  Sigma: .2
149  },
150  {
151  Cut: "elast"
152  Name: "fElast"
153  Range: [0., 1200.]
154  Nominal: 1.0
155  Sigma: .0
156  }
157 ]