proton4gen.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 #include "ProtoDUNECalibration.fcl"
15 #include "ProtoDUNEBeamlineUtils.fcl"
16 #include "protodune_tools_dune.fcl"
17 
18 
19 process_name: proton4gen
20 
21 services:
22 {
23  #Load the service that manages root files for histograms.
24  TFileService: { fileName: "mcproton.root" }
25  RandomNumberGenerator: {} #ART native random number generator
26  #@table::protodune_services
27  @table::protodune_reco_services
28  message: @local::standard_info
29  message: @local::dune_message_services_prod_debug
30 
31  FileCatalogMetadata: @local::art_file_catalog_mc
32  @table::protodune_services
33 
34  #PdspChannelMapService: @local::pdspchannelmap
35  #ChannelStatusService: @local::pdsp_channel_status
36 
37 }
38 
39 #source is now a root file
40 source:
41 {
42  module_type: RootInput
43  maxEvents: -1 # Number of events to create
44 }
45 
46 outputs:
47 {
48  out1:
49  {
50  module_type: RootOutput
51  fileName: "mcproton.root" #default file name, can override from command line with -o or --output
52  dataTier: "reconstructed"
53  fastCloning: false
54  }
55 }
56 
57 physics:
58 {
59  producers:{
60 
61  }
62  #filters: {
63  #f1: @local::standard_protodunebeamlinefilter_Proton_1GeV
64  #}
65  #fpath: [f1]
66 
67  analyzers:{
68  proton4gen:
69  {
70  module_type: "proton4gen"
71  #BeamModuleLabel: "beamevent"
72  #TimeDecoderModuleLabel: "timingrawdecoder:daq"
73 
74  #Warning!! The code will use CalorimetryTag to do sce correction
75  #CalorimetryTag: "pandoracalo"
76  #CalorimetryTag: "pandoracaloSCE"
77  #CalorimetryTag: "pandoracalo"
78  #pandoracalo + electron lifetime correction (recommended)
79  #CalorimetryTag: "pandoracali"
80  #CalorimetryTag: "pandoracalinoxyzt"
81  CalorimetryTag: "pandoracalonosce"
82 
83  TrackerTag: "pandoraTrack"
84  HitTag: "hitpdune"
85  ShowerTag: "pandoraShower"
86  PFParticleTag: "pandora"
87  GeneratorTag: "generator"
88  Verbose: true
89  DataUtils: @local::standard_protodunedatautils
90  #BeamlineUtils: @local::standard_protodunebeamlineutils
91 
92  #NNetModuleLabel: "vtxid:emtrack"
93  #hy:: for sce on, disable the comment of Prod2BeamCuts
94  #BeamCuts: @local::Prod2BeamCuts
95 
96  }
97  }
98 
99  ana: [ proton4gen ]
100  stream1: [ out1 ]
101  end_paths: [ ana ]
102 }
103 
104 #disable the following line for the prod 2
105 services.BackTrackerService.BackTracker.SimChannelModuleLabel: "tpcrawdecoder:simpleSC"
106 #add to prod4a
107 services.BackTrackerService.BackTracker.G4ModuleLabel: "largeant"
108 services.BackTrackerService.BackTracker.MinimumHitEnergyFraction: 1e-1
109 
110 #physics.analyzers.proton4gen.TrackModuleLabel: "pandoraTrack"
111 #physics.analyzers.proton4gen.CalorimetryModuleLabel: "pandoracalo"
112 #physics.analyzers.proton4gen.CalorimetryModuleLabel: "pandoracaloSCE"
113 #physics.analyzers.proton4gen.CalorimetryModuleLabel: "pandoracalo"
114 #physics.analyzers.proton4gen.CalorimetryModuleLabel: "pandoracalinoxyzt"
115 #physics.analyzers.proton4gen.CalorimetryModuleLabel: "pandoracali"
116 physics.analyzers.proton4gen.CalorimetryModuleLabel: "pandoracalonosce"
117 #physics.analyzers.proton4gen.HitsModuleLabel: "linecluster"
118 #physics.analyzers.proton4gen.HitsModuleLabel: "hitpdune"
119 physics.analyzers.proton4gen.SaveTrackInfo: true
120 #services.Geometry: @local::protodunev7_geo
121