services_vdcoldbox.fcl
Go to the documentation of this file.
1 #include "services_common_dune.fcl"
2 #include "LArG4.fcl"
3 #include "IonAndScint_dune.fcl"
4 #include "elecdrift_dune.fcl"
5 #include "PDFastSim_dune.fcl"
6 
7 BEGIN_PROLOG
8 
9 #
10 vdcb_services: {
11  ExptGeoHelperInterface: @local::dune_geometry_helper
12  GeometryConfigurationWriter: {}
13  Geometry: @local::dunevdcb_geo
14  DetectorClocksService: @local::protodune_detectorclocks
15  DetectorPropertiesService: @local::protodune_detproperties
16  LArPropertiesService: @local::dunefd_properties
17  LArFFT: @local::dunefd_larfft
18  NuRandomService: @local::dune_seedservice
19  ChannelStatusService: @local::dunefd_channel_status
20  ChannelGroupService: @local::changroup_apa_keepall
21 }
22 
23 # set all possible offsets ...
24 vdcb_services.DetectorPropertiesService.TimeOffsetU: 0
25 vdcb_services.DetectorPropertiesService.TimeOffsetV: 0
26 vdcb_services.DetectorPropertiesService.TimeOffsetX: 0
27 vdcb_services.DetectorPropertiesService.TimeOffsetY: 0
28 vdcb_services.DetectorPropertiesService.TimeOffsetZ: 0
29 
30 # Efield settings for Nov. 2021 Run: apart from drift field
31 # the other two are not relevant
32 data.vdcb_nov21_Efield: [0.45, 1.0, 1.0]
33 
34 # set efield
35 vdcb_services.DetectorPropertiesService.Efield: @local::data.vdcb_nov21_Efield
36 
37 # bot CRP1
38 vdcb_crp1_bot_services: @local::vdcb_services
39 #vdcb_crp1_bot_services.DetectorPropertiesService.NumberTimeSamples: 8192
40 #vdcb_crp1_bot_services.DetectorPropertiesService.ReadOutWindowSize: 8192
41 
42 # top CRP1
43 vdcb_crp1_top_services: @local::vdcb_services
44 vdcb_crp1_top_services.DetectorPropertiesService.NumberTimeSamples: 10000
45 vdcb_crp1_top_services.DetectorPropertiesService.ReadOutWindowSize: 10000
46 vdcb_crp1_top_services.DetectorClocksService.FramePeriod: 4000
47 vdcb_crp1_top_services.DetectorClocksService.ClockSpeedTPC: 2.5
48 
49 
50 # Default tools for RawDigitPrepService ToolNames: [
51 # "digitReader",
52 # "adcSampleFiller",
53 # "adcKeepAllSignalFinder"
54 # ]
55 vdcb_dataprep_base_services: {
56  RawDigitPrepService: @local::adcprep_with_tools_simwc
57  AdcDeconvolutionService: @local::adcdco_dunefd
58  AdcRoiBuildingService: @local::adcroi_dunefd
59  AdcWireBuildingService: @local::adcwire_std
60 }
61 
62 # data services for Top CRU
63 vdcb_crp1_top_data_services: {
64  @table::vdcb_crp1_top_services
65  @table::vdcb_dataprep_base_services
66  ChannelMapService: {
67  service_provider: VDColdboxTDEChannelMapService
68  MapName : "vdcb1crp"
69  LogLevel : 1
70  }
71 }
72 
73 # data services for Bottom CRU
74 vdcb_crp1_bot_data_services: {
75  @table::vdcb_crp1_bot_services
76  @table::vdcb_dataprep_base_services
77  ChannelMapService: {
78  service_provider: VDColdboxChannelMapService
79  FileName: "vdcbce_chanmap_v2_dcchan3200.txt"
80  LogLevel: 1
81  }
82 }
83 
84 vdcb_sim_base_services: {
85  @table::common_larg4_services
86  LArVoxelCalculator: @local::dunefd_larvoxelcalculator
87  MagneticField: @local::no_mag_larsoft
88  ParticleInventoryService: @local::standard_particleinventoryservice
89  SpaceCharge: @local::dunefd_spacecharge
90  OpDetResponseInterface: @local::dunefd_opdetresponse
91  BackTrackerService: @local::dunefd_backtrackerservice
92  ParticleListAction: @local::dune_particle_list_action
93  PhysicsList: @local::dune_physics_list_fastoptical
94 ## MCTruthEventAction: {}
95  LArG4Parameters: @local::dunefd_largeantparameters
96 }
97 vdcb_sim_base_services.OpDetResponseInterface.QuantumEfficiency: 0.03 # (tkosc) otherwise larsoft complains, manually changed, but should be investigated
98 
99 vdcb_tde_larg4: @local::standard_larg4
100 vdcb_tde_ionandscint:
101 {
102 module_type: "IonAndScint"
103 Instances: "LArG4DetectorServicevolTPCActive" # (tkosc) not sure here
104 ISCalcAlg: "Correlated"
105 }
106 vdcb_tde_ionandscint_external: @local::dunefd_ionandscint_larql
107 vdcb_tde_ionandscint_external.Instances: "LArG4DetectorServicevolExternalActive"
108 vdcb_tde_elecdrift: @local::dunefd_elecdrift
109 vdcb_tde_pdfastsim_par_ar_fastonly: @local::dunevd_pdfastsim_par_ar_fastonly
110 vdcb_tde_pdfastsim_par_ar_external_fastonly: @local::dunevd_pdfastsim_par_ar_external
111 
112 
113 # To complete ...
114 vdcb_top_reco_services: {
115  @table::vdcb_crp1_top_services
116  SpaceCharge: @local::dunefd_spacecharge
117 }
118 
119 vdcb_bot_reco_services: {
120  @table::vdcb_crp1_bot_services
121  SpaceCharge: @local::dunefd_spacecharge
122 }
123 
124 
125 END_PROLOG