-
Notifications
You must be signed in to change notification settings - Fork 0
/
readouts_IAXOD0.rml
30 lines (26 loc) · 1.47 KB
/
readouts_IAXOD0.rml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" ?>
<readouts>
<globals>
<!-- The pitch value in mm -->
<variable name="PITCH" value="0.50" overwrite="false" />
<!-- The number of modules per axis MxM -->
<variable name="N_MODULES" value="1" overwrite="false" />
<!-- The number of pixels per side PxP -->
<variable name="N_CHANNELS" value="120" overwrite="false" />
<!-- The electronics card ID number -->
<variable name="CARD_ID" value="15" overwrite="false" />
</globals>
<TRestDetectorReadout name="iaxo_readout_15" title="IAXO-D0 readout ${PITCH} mm-Pitch ${N_CHANNELS}+${N_CHANNELS} channels">
<constant name="pitch" value="${PITCH}" overwrite="false" />
<!-- The number of modules per axis MxM -->
<constant name="nModules" value="${N_MODULES}" overwrite="false" />
<!-- The number of pixels per side PxP -->
<constant name="nChannels" value="${N_CHANNELS}" overwrite="false" />
<constant name="pixelSize" value="${PITCH}/sqrt(2.)" />
<parameter name="mappingNodes" value="0" />
<include file="microbulkModule.rml" />
<readoutPlane position="(0,0,-15)mm" planeVector="(0,0,1)" chargeCollection="1" cathodePosition="(0,0,15)mm">
<addReadoutModule id="0" name="module" origin="(-0.5*nChannels*pitch,-0.5*nChannels*pitch)" rotation="0" decodingFile="IAXOD0.dec" firstDaqChannel="${CARD_ID}*72*4" />
</readoutPlane>
</TRestDetectorReadout>
</readouts>