Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion create_geometry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export COATJAVA=$cdir/geometry_source/coatjava
export PATH=$PATH:$COATJAVA/bin

# CLAS12
all_dets="alert band beamline bst cnd ctof dc ddvcs ec fluxDets ft ftof ftofShield htcc ltcc magnets micromegas pcal rich rtpc targets murt upstream"
all_dets="alert band beamline bst cnd ctof dc ddvcs ec fluxDets ft ftof ftofShield htcc ltcc magnets micromegas pcal rich rtpc targets murt mucal upstream"

function printHelp() {
cat <<EOF
Expand Down
57 changes: 57 additions & 0 deletions experiments/clas12/mucal/mucal.gcard
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<gcard>

<option name="geometry" value="1400x1200"/>

<detector name="experiments/clas12/mucal/mucal" factory="TEXT" variation="default"/>


<!-- you can scale the fields here. Remember torus -1 means e- INBENDING -->
<option name="SCALE_FIELD" value="binary_torus, -1"/>
<option name="SCALE_FIELD" value="binary_solenoid, -1"/>

<!-- hall field -->
<!-- <option name="HALL_FIELD" value="Symm_solenoid_r601_phi1_z1201_13June2018:Full_torus_r251_phi181_z251_25Jan2021"/>-->
<option name="HALL_FIELD" value="Symm_solenoid_r601_phi1_z1201_13June2018:Symm_torus_r2501_phi16_z251_24Apr2018"/>


<!-- don't track particles beyod certain limits -->
<option name="MAX_X_POS" value="8000" />
<option name="MAX_Y_POS" value="8000" />
<option name="MAX_Z_POS" value="9000" />
<!-- <option name="HALL_MATERIAL" value="Vacuum"/>-->


<option name="INTEGRATEDRAW" value="*"/>
<option name="RECORD_PASSBY" value="0"/>
<option name="SAVE_ALL_MOTHERS" value="0"/>
<option name="RECORD_OPTICALPHOTONS" value="1"/>
<option name="SKIPREJECTEDHITS" value="1" />

<option name="BEAM_P" value="mu-, 4*GeV, 20*deg, 0*deg" />
<!-- <option name="SPREAD_P" value="1*GeV, 10*deg, 180*deg" />-->

<!-- Time window defined by LUMI_EVENT -->
<option name="LUMI_EVENT" value="0, 248.5*ns, 4*ns" />
<!-- Uncomment this (and replace the LUMI_EVENT Above) to simulate 10^35 luminosity beam on a 5cm liquid hydrogen target, use 124K e- / event -->
<!-- Scale accordingly for different target / luminosity
<option name="LUMI_EVENT" value="1170000, 248.5*ns, 4*ns" />
<option name="LUMI_P" value="e-, 10.6*GeV, 0*deg, 0*deg" />
<option name="LUMI_V" value="(0.0, 0.0, -10)cm" />
<option name="LUMI_SPREAD_V" value="(0.03, 0.0)cm" />-->

<!-- RF Signal needs event time window defined by LUMI_EVENT -->
<!-- Reference position set as target shift below -->
<option name="RFSETUP" value="clas12_ccdb" />
<option name="RFSTART" value="eventVertex, 0, 0, -30.0" />

<option name="PRINT_EVENT" value="100" />

<option name="OUTPUT" value="hipo, out.hipo"/>
<option name="PHYSICS" value="STD + FTFP_BERT"/>
<option name="RUNNO" value="11" />
<option name="DIGITIZATION_VARIATION" value="rga_fall2018_mc" />

<!-- <option name="SWITCH_MATERIALTO" value="beamline_W, G4_W"/>-->


</gcard>
9 changes: 9 additions & 0 deletions experiments/clas12/mucal/mucal__bank.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
mucal | bankid | mucal bank ID | 2800 | Di
mucal | sector | sector (=1) | 1 | Di
mucal | layer | layer (=1) | 2 | Di
mucal | component | crystal | 3 | Di
mucal | ADC_order | always 0 | 4 | Di
mucal | ADC_ADC | ADC integral from pulse fit | 5 | Di
mucal | ADC_time | time from pulse fit | 6 | Dd
mucal | ADC_ped | pedestal from pulse analysis | 7 | Di
mucal | hitn | hit number | 99 | Di
1,353 changes: 1,353 additions & 0 deletions experiments/clas12/mucal/mucal__geometry_default.txt

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions experiments/clas12/mucal/mucal__hit_default.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mucal |mucal calorimeter hit definition | idx idy | 0.5*MeV | 50*ns | 1*cm | 2*cm | 1*ns | 1*ns | 100 | -20 | 10*ns
3 changes: 3 additions & 0 deletions experiments/clas12/mucal/mucal__materials_default.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
beamline_W |beamline tungsten alloy 17.6 g/cm3 | 17.6 | 2 | G4_Fe 0.08 G4_W 0.92 | none | none | none | none | none | none | none | -1 | -1 | -1 | -1 | -1 | none | -1 | none | -1 | -1 | -1
ddvcs_shield_mat | ddvcs shield material | 11.34 | 1 | G4_Pb 1 | none | none | none | none | none | none | none | -1 | -1 | -1 | -1 | -1 | none | -1 | none | -1 | -1 | -1
rohacell |target rohacell scattering chamber material | 0.1 | 4 | G4_C 0.6465 G4_H 0.0784 G4_N 0.0839 G4_O 0.1912 | none | none | none | none | none | none | none | -1 | -1 | -1 | -1 | -1 | none | -1 | none | -1 | -1 | -1
21 changes: 21 additions & 0 deletions experiments/clas12/mucal/mucal__parameters_default.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
mucalVolume.dimension0 | 0.000 | rad | dimension 0 | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.dimension1 | 6.283 | rad | dimension 1 | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.dimension2 | 4.000 | counts | dimension 2 | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.dimension3 | 30.100 | cm | dimension 3 | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.dimension4 | 7.280 | cm | dimension 4 | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.dimension5 | 8.150 | cm | dimension 5 | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.dimension6 | 9.870 | cm | dimension 6 | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.dimension7 | 30.110 | cm | dimension 7 | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.dimension8 | 36.060 | cm | dimension 8 | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.dimension9 | 40.100 | cm | dimension 9 | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.dimension10 | 9.880 | cm | dimension 10 | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.dimension11 | 52.000 | cm | dimension 11 | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.dimension12 | 62.500 | cm | dimension 12 | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.dimension13 | 69.600 | cm | dimension 13 | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.dimension14 | 83.600 | cm | dimension 14 | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.positionx | 0.000 | cm | position along x axis | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.positiony | 0.000 | cm | position along y axis | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.positionz | 0.000 | cm | position along z axis | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.rotationx | 0.000 | rad | rotation along x axis | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.rotationy | 0.000 | rad | rotation along y axis | cline | ewcline@mit.edu | none | none | none | 3/23/26
mucalVolume.rotationz | 0.000 | rad | rotation along z axis | cline | ewcline@mit.edu | none | none | none | 3/23/26
Loading
Loading