forked from brettviren/wire-cell-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #201 from HaiwangYu/2face
Bridged geom and FD-VD 10kt
- Loading branch information
Showing
6 changed files
with
480 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
// DUNE-VD specific parameters. This file inerets from the | ||
// generic set of parameters and overrides things specific to PDSP. | ||
|
||
local wc = import "wirecell.jsonnet"; | ||
local base = import "pgrapher/common/params.jsonnet"; | ||
|
||
function(params) base { | ||
// This section will be overwritten in simparams.jsonnet | ||
det : { | ||
|
||
// The current DUNE-VD goemetry has only one CRP composed by 36 | ||
// independent CRM with side | ||
// CRP is on y-z while drift is on x | ||
// Only one CRP is defined in this geometry | ||
// CRMs are oneside anodes | ||
|
||
local ncrm = if std.objectHas(params, 'ncrm') then params.ncrm else 36, | ||
|
||
response_plane: params.response_plane, | ||
|
||
local bot_crp_x = -3.97*wc.cm, | ||
local bot_resp_x = bot_crp_x+self.response_plane, | ||
local bot_cathode_x = bot_crp_x+650.06*wc.cm, | ||
local bot_face = { | ||
anode: bot_crp_x, | ||
response: bot_resp_x, | ||
cathode: bot_cathode_x}, | ||
|
||
local top_crp_x = 1300.13*wc.cm, | ||
local top_resp_x = top_crp_x-self.response_plane, | ||
local top_cathode_x = top_crp_x - 650.06*wc.cm, | ||
local top_face = { | ||
anode: top_crp_x, | ||
response: top_resp_x, | ||
cathode: top_cathode_x}, | ||
|
||
volumes: [ | ||
{ | ||
wires: n, // anode number | ||
name: "crm%d"%n, | ||
faces: if n < ncrm/2 then [ bot_face, bot_face ] | ||
else [ top_face, top_face ], | ||
} for n in std.range(0, ncrm-1)], // std.range is inclusive, i.e. [0, crm-1], | ||
}, | ||
|
||
daq: super.daq { | ||
|
||
tick: 0.5*wc.us, // check this in the TDR, LArSoft | ||
nticks: params.nticks, //9375, // 1.6 mm/us per 0.5 us assuming 6000 mm drift leght. | ||
|
||
//readout_time: self.tick*self.nticks, | ||
//nreadouts: 1, | ||
//start_time: 0.0*wc.s, | ||
//stop_time: self.start_time + self.nreadouts*self.readout_time, | ||
//first_frame_number: 0, | ||
}, | ||
|
||
adc: super.adc { | ||
|
||
// Set 0 for now | ||
//baselines: [0*wc.millivolt, 0*wc.millivolt, 0*wc.millivolt], | ||
//resolution: 12, | ||
//fullscale: [0.2*wc.volt, 1.6*wc.volt], | ||
|
||
// Copied from pdsp. induction plane: 2350 ADC, collection plane: 900 ADC | ||
// baselines: [1003.4*wc.millivolt,1003.4*wc.millivolt,507.7*wc.millivolt], | ||
// fullscale: [0.2*wc.volt, 1.6*wc.volt], | ||
|
||
}, | ||
|
||
// Take BNL cold electronics on ProtoDUNE as reference here | ||
elec: super.elec { | ||
|
||
type: "ColdElecResponse", | ||
|
||
// copied from pdsp | ||
gain: 14*wc.mV/wc.fC, | ||
shaping: 2.2 * wc.us, | ||
postgain: 1.1365, | ||
start: 0, | ||
}, | ||
|
||
sim: super.sim { | ||
|
||
// For running in LArSoft, the simulation must be in fixed time mode. | ||
fixed: true, | ||
|
||
}, | ||
|
||
overall_short_padding: 0.2*wc.ms, | ||
sys_status: false, | ||
sys_resp: { | ||
start: 0.0 * wc.us, | ||
magnitude: 1.0, | ||
time_smear: 1.0 * wc.us, | ||
}, | ||
|
||
files: { | ||
|
||
// Standard wire geometry with 2 wire planes and third dummy induction | ||
wires: "dunevd10kt-1x6x6-3view30deg-wires-v1.json.bz2", | ||
|
||
// Based on the simulations made for the 50L prototype | ||
fields: [ | ||
"dunevd-resp-isoc3views-18d92.json.bz2", | ||
], | ||
|
||
// fixme: this is for microboone and probably bogus for | ||
// protodune because (at least) the span of MB wire lengths do | ||
// not cover pdsp's. | ||
noise: "dunevd10kt-1x6x6-3view30deg-noise-spectra-v1.json.bz2", | ||
|
||
chresp: null, | ||
|
||
}, | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.