Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev copied to 5.11 #84

Merged
merged 2 commits into from
Jan 23, 2025
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
133 changes: 133 additions & 0 deletions gemc/5.11/clas12-default.gcard
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
<!-- GEMC 5.11 -->
<gcard>




<!-- target. Notice variation give the target type. Can be: lH2, lD2, ND3 -->
<detector name="experiments/clas12/targets/cad/" factory="CAD"/>
<detector name="experiments/clas12/targets/target" factory="TEXT" variation="lH2"/>

<!-- central detectors -->
<detector name="experiments/clas12/bst/bst" factory="TEXT" variation="default"/>
<detector name="experiments/clas12/bstShield/bstShield" factory="TEXT" variation="w51"/>
<detector name="experiments/clas12/micromegas/micromegas" factory="TEXT" variation="michel"/>

<!--ctof, cnd -->
<detector name="experiments/clas12/ctof/ctof" factory="TEXT" variation="default"/>
<detector name="experiments/clas12/ctof/javacad_default/" factory="CAD"/>
<detector name="experiments/clas12/cnd/cnd" factory="TEXT" variation="original"/>

<!--high threshold cherenkov -->
<detector name="experiments/clas12/htcc/htcc" factory="TEXT" variation="original"/>
<detector name="experiments/clas12/htcc/cad/" factory="CAD"/>

<!-- magnets -->
<detector name="experiments/clas12/magnets/solenoid" factory="TEXT" variation="original"/>
<detector name="experiments/clas12/magnets/cad/" factory="CAD" />

<!-- Beamline configuration: FTOn is used -->
<detector name="experiments/clas12/ft/ft" factory="TEXT" variation="FTOn"/>
<detector name="experiments/clas12/beamline/cadBeamline/" factory="CAD"/>
<detector name="experiments/clas12/beamline/beamline" factory="TEXT" variation="FTOn"/>
<detector name="experiments/clas12/beamline/cad_downstream_beamline/" factory="CAD"/>

<!-- Detectors in the forward carriage -->
<detector name="experiments/clas12/dc/dc" factory="TEXT" variation="default"/>
<detector name="experiments/clas12/ftof/ftof" factory="TEXT" variation="default"/>
<detector name="experiments/clas12/ec/ec" factory="TEXT" variation="default"/>
<detector name="experiments/clas12/pcal/pcal" factory="TEXT" variation="default"/>
<detector name="experiments/clas12/ltcc/ltcc" factory="TEXT" variation="default"/>
<detector name="experiments/clas12/ltcc/cad_cone/" factory="CAD"/>
<detector name="experiments/clas12/ltcc/cad/" factory="CAD"/>
<detector name="experiments/clas12/rich/rich" factory="TEXT" variation="default"/>
<detector name="experiments/clas12/rich/cad_default/" factory="CAD"/>


<!-- 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:Symm_torus_r2501_phi16_z251_24Apr2018"/>


<!-- beam conditions -->
<option name="BEAM_P" value="e-, 10.6*GeV, 0.0*deg, 0*deg"/>
<option name="BEAM_V" value="(0, 0, 0)cm"/>
<option name="SPREAD_V" value="(0.0, 2.5)cm"/>

<option name="SAVE_ALL_MOTHERS" value="1"/>
<option name="RECORD_OPTICALPHOTONS" value="1"/>
<option name="SKIPREJECTEDHITS" value="1" />

<!-- Uncomment this line to save the true information (necessary for Truth Matching -->
<!-- <option name="INTEGRATEDRAW" value="*" /> -->


<option name="PHYSICS" value="FTFP_BERT + STD + Optical"/>

<option name="OUTPUT" value="hipo, out.hipo"/>

<!-- Will print message every 10 events -->
<option name="PRINT_EVENT" value="100" />


<!-- Run Number 11, picked up by digitization routines -->
<option name="RUNNO" value="11" />
<option name="DIGITIZATION_VARIATION" value="default" />

<!-- Do not track staff after the downstream shielding -->
<option name="MAX_Z_POS" value="9000"/>

<!-- 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="124000, 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.03)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, 0.0" />

<!-- production threshold for passive volumes -->
<!-- beamline shielding: 2cm-->
<option name="PRODUCTIONCUTFORVOLUMES" value="innerShieldAndFlange, outerFlange, outerMount, nut1, nut2, nut3, nut4, nut5, nut6, nut7, nut8, nut9, taggerInnerShield, main-cone, adjuster1, adjuster2, adjuster3, Apex_Shield_Lead_Fill, Apex_Shield_PCAL_Hub, Downstream_Beam_tube_Segment_1, Downstream_Beam_tube_Segment_2, Torus_Beam_Tube_Reducer_2, Torus_Exit_Shield_Casing, Torus_Exit_Shield_Lead_Fill, 20"/>




<!-- torus magnet: 2cm-->
<option name="PRODUCTIONCUTFORVOLUMES" value="BoreShield, CenterTube, DownstreamShieldingPlate, DownstreamVacuumJacket, WarmBoreTube, apex, Shield1, Shield2, Shield3, Shield4, Shield5, Shield6, Shield7, shell1a, shell1b, shell2a, shell2b, shell3a, shell3b, shell4a, shell4b, shell5a, shell5b, shell6a, shell6b, 20" />






















<detector name="FMT">
<existence exist="no" />
</detector>
</gcard>
83 changes: 83 additions & 0 deletions gemc/5.11/ddvcs.gcard
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<!-- GEMC 5.11 -->
<gcard>

<detector name="experiments/clas12/ddvcs/ddvcs" factory="TEXT" variation="newScattChamber"/>
<!-- <detector name="experiments/clas12/ddvcs/cad/" factory="CAD"/>-->

<detector name="experiments/clas12/beamline/beamline" factory="TEXT" variation="FTOff"/>
<detector name="experiments/clas12/beamline/cad_downstream_beamline/" factory="CAD"/>


<!-- magnets -->
<detector name="experiments/clas12/magnets/solenoid" factory="TEXT" variation="original"/>
<detector name="experiments/clas12/magnets/cad/" factory="CAD" />


<detector name="experiments/clas12/uRwell/uRwell" factory="TEXT" variation="default_1R"/>
<detector name="experiments/clas12/dc/dc" factory="TEXT" variation="default"/>
<detector name="experiments/clas12/ftof/ftof" factory="TEXT" variation="rga_fall2018"/>
<detector name="experiments/clas12/ec/ec" factory="TEXT" variation="rga_fall2018"/>
<detector name="experiments/clas12/pcal/pcal" factory="TEXT" variation="rga_fall2018"/>
<detector name="experiments/clas12/ltcc/ltcc" factory="TEXT" variation="rga_fall2018"/>
<detector name="experiments/clas12/ltcc/cad_cone/" factory="CAD"/>
<detector name="experiments/clas12/ltcc/cad/" factory="CAD"/>
<detector name="experiments/clas12/rich/rich" factory="TEXT" variation="rgc_summer2022"/>
<detector name="experiments/clas12/rich/cad_rgc_summer2022/" factory="CAD"/>


<!-- 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="8000" />
<option name="HALL_MATERIAL" value="Vacuum"/>


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

<option name="SAVE_ALL_MOTHERS" value="1"/>
<option name="RECORD_OPTICALPHOTONS" value="1"/>
<option name="SKIPREJECTEDHITS" value="1" />

<!-- Uncomment this line to save the true information (necessary for Truth Matching -->
<!-- <option name="INTEGRATEDRAW" value="*" /> -->

<!-- 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="124000, 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.03)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="1" />

<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" />


<detector name="airPipe">
<existence exist="no" />
</detector>


</gcard>
131 changes: 131 additions & 0 deletions gemc/5.11/rga_fall2018.gcard
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
<!-- GEMC 5.11 -->
<gcard>




<!-- target. Notice variation give the target type. Can be: lH2, lD2, ND3 -->
<detector name="experiments/clas12/targets/cad/" factory="CAD"/>
<detector name="experiments/clas12/targets/target" factory="TEXT" variation="lH2"/>

<!-- central detectors -->
<detector name="experiments/clas12/bst/bst" factory="TEXT" variation="default"/>
<detector name="experiments/clas12/bstShield/bstShield" factory="TEXT" variation="w51"/>
<detector name="experiments/clas12/micromegas/micromegas" factory="TEXT" variation="michel"/>

<!--ctof, cnd -->
<detector name="experiments/clas12/ctof/ctof" factory="TEXT" variation="rga_fall2018"/>
<detector name="experiments/clas12/ctof/javacad_rga_fall2018/" factory="CAD"/>
<detector name="experiments/clas12/cnd/cnd" factory="TEXT" variation="original"/>

<!--high threshold cherenkov -->
<detector name="experiments/clas12/htcc/htcc" factory="TEXT" variation="original"/>
<detector name="experiments/clas12/htcc/cad_fall18/" factory="CAD"/>

<!-- magnets -->
<detector name="experiments/clas12/magnets/solenoid" factory="TEXT" variation="original"/>
<detector name="experiments/clas12/magnets/cad/" factory="CAD" />

<!-- Beamline configuration: FTOn is used -->
<detector name="experiments/clas12/ft/ft" factory="TEXT" variation="FTOn"/>
<detector name="experiments/clas12/beamline/cadBeamline/" factory="CAD"/>
<detector name="experiments/clas12/beamline/beamline" factory="TEXT" variation="FTOn"/>
<detector name="experiments/clas12/beamline/cad_downstream_beamline/" factory="CAD"/>

<!-- Detectors in the forward carriage -->
<detector name="experiments/clas12/dc/dc" factory="TEXT" variation="default"/>
<detector name="experiments/clas12/ftof/ftof" factory="TEXT" variation="rga_fall2018"/>
<detector name="experiments/clas12/ec/ec" factory="TEXT" variation="rga_fall2018"/>
<detector name="experiments/clas12/pcal/pcal" factory="TEXT" variation="rga_fall2018"/>
<detector name="experiments/clas12/ltcc/ltcc" factory="TEXT" variation="rga_fall2018"/>
<detector name="experiments/clas12/ltcc/cad_cone/" factory="CAD"/>
<detector name="experiments/clas12/ltcc/cad/" factory="CAD"/>
<detector name="experiments/clas12/rich/rich" factory="TEXT" variation="rga_fall2018"/>
<detector name="experiments/clas12/rich/cad_rga_fall2018/" factory="CAD"/>


<!-- 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:Symm_torus_r2501_phi16_z251_24Apr2018"/>


<!-- beam conditions -->
<option name="BEAM_P" value="e-, 10.6*GeV, 0.0*deg, 0*deg"/>
<option name="BEAM_V" value="(0, 0, -3)cm"/>
<option name="SPREAD_V" value="(0.0, 2.5)cm"/>

<option name="SAVE_ALL_MOTHERS" value="1"/>
<option name="RECORD_OPTICALPHOTONS" value="1"/>
<option name="SKIPREJECTEDHITS" value="1" />

<!-- Uncomment this line to save the true information (necessary for Truth Matching -->
<!-- <option name="INTEGRATEDRAW" value="*" /> -->


<option name="PHYSICS" value="FTFP_BERT + STD + Optical"/>

<option name="OUTPUT" value="hipo, out.hipo"/>

<!-- Will print message every 10 events -->
<option name="PRINT_EVENT" value="100" />


<!-- Run Number 11, picked up by digitization routines -->
<option name="RUNNO" value="11" />
<option name="DIGITIZATION_VARIATION" value="rga_fall2018_mc" />

<!-- Do not track staff after the downstream shielding -->
<option name="MAX_Z_POS" value="9000"/>

<!-- 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="124000, 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.03)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" />

<!-- production threshold for passive volumes -->
<!-- beamline shielding: 2cm-->
<option name="PRODUCTIONCUTFORVOLUMES" value="innerShieldAndFlange, outerFlange, outerMount, nut1, nut2, nut3, nut4, nut5, nut6, nut7, nut8, nut9, taggerInnerShield, main-cone, adjuster1, adjuster2, adjuster3, Apex_Shield_Lead_Fill, Apex_Shield_PCAL_Hub, Downstream_Beam_tube_Segment_1, Downstream_Beam_tube_Segment_2, Torus_Beam_Tube_Reducer_2, Torus_Exit_Shield_Casing, Torus_Exit_Shield_Lead_Fill, 20"/>




<!-- torus magnet: 2cm-->
<option name="PRODUCTIONCUTFORVOLUMES" value="BoreShield, CenterTube, DownstreamShieldingPlate, DownstreamVacuumJacket, WarmBoreTube, apex, Shield1, Shield2, Shield3, Shield4, Shield5, Shield6, Shield7, shell1a, shell1b, shell2a, shell2b, shell3a, shell3b, shell4a, shell4b, shell5a, shell5b, shell6a, shell6b, 20" />

<!-- Target and central detectors are all shifted upstream by 30 mm -->
<detector name="target"> <position x="0*cm" y="0*cm" z="-3.00*cm" /> </detector>
<detector name="svt"> <position x="0*cm" y="0*cm" z="-3.00*cm" /> </detector>
<detector name="bstShield"> <position x="0*cm" y="0*cm" z="-3.00*cm" /> </detector>
<detector name="BMT"> <position x="0*cm" y="0*cm" z="-3.00*cm" /> </detector>
<detector name="FMT"> <position x="0*cm" y="0*cm" z="-3.00*cm" /> </detector>
<detector name="ctof"> <position x="0*cm" y="0*cm" z="-3.00*cm" /> </detector>
<detector name="cnd"> <position x="0*cm" y="0*cm" z="-3.00*cm" /> </detector>

<!-- solenoid volume and field map shifted upstream by 30 mm -->
<detector name="solenoid"> <position x="0*cm" y="0*cm" z="-3.00*cm" /> </detector>
<option name="DISPLACE_FIELDMAP" value="binary_solenoid, 0*cm, 0*cm, -3.00*cm" />

<!-- HTCC shifted upstream by 19.4 mm -->
<detector name="htcc"> <position x="0*cm" y="0*cm" z="-1.94*cm" /> </detector>
<detector name="htccEntryWindow"> <position x="0*cm" y="0*cm" z="-1.94*cm" /> </detector>
<detector name="htccExitWindow"> <position x="0*cm" y="0*cm" z="-1.94*cm" /> </detector>


<detector name="FMT">
<existence exist="no" />
</detector>
</gcard>
Loading
Loading