REST version : v2.2.17
REST commit : c8f0edcb
Hi I’m trying to run restManager for converting G4events to hits and then to tracks for analyzing a series of simulations. I’m working on sultan.
Normally I use local files for the gas definition or I just define TRestGas inside the rml file. But I wanted to try changing to the server approach for gasFiles.
Originally in my code I had:
<TRestGas name="Argon-Isobutane 2Pct 10-10E3Vcm" title="Argon-Isobutane Mixture (2Pct Isobutane)">
<parameter name="pressure" value="0.5"/>
<parameter name="temperature" value="293.15"/>
<parameter name="maxElectronEnergy" value="400"/>
<parameter name="W_value" value="26.238"/>
<parameter name="nCollisions" value="10"/>
<eField Emin="10" Emax="1000." nodes="20"/>
<gasComponent name="ar" fraction="0.98"/>
<gasComponent name="iC4H10" fraction="0.02"/>
</TRestGas>
Which generated the output:
– Warning : – Warning : No sucess finding local gas file definition.
– Warning : – Warning : Gas file definition does not exist.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|| TRestGas content ||
|| Config file : null ||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|| Name : Argon-Isobutane 2Pct 10-10E3Vcm ||
|| Title : Argon-Isobutane Mixture (2Pct Isobutane) ||
|| REST Version : 2.2.17 ||
|| REST Commit : c8f0edcb ||
|| REST Library version : 0 ||
----------------------------------------------------------------------------------------------------
|| Status : Configuration loaded ||
|| Gas filename : ar_98.0-iC4H10_2.0-E_vs_P_10.0_1000.0_nodes_20-nCol_10-maxE_400.gas ||
|| Pressure : 0.5 atm ||
|| Temperature : 293.15 K ||
|| Electric Field : 0 V/cm ||
|| W-value : 26.238 eV ||
|| Max. Electron energy : 400 eV ||
|| Field grid nodes : 20 ||
|| Efield range : ( 10 , 1000 ) V/cm ||
|| Number of Gases : 2 ||
|| Gas id : 0, Name : ar, Fraction : 0.98 ||
|| Gas id : 1, Name : iC4H10, Fraction : 0.02 ||
****************************************************************************************************
I changed that part of the code to:
<TRestGas name="Argon-Isobutane 2Pct 10-10E3Vcm" pressure="0.5" file="server"/>
(The name for the gas I have just copy-pasted it from the one appearing on https://sultan.unizar.es/gasFiles/gases.rml )
The output I get in this case is:
[== Launching TRestManager... ==]
– Warning : Failed to expand remote rml components for TRestGas
– Warning : Config file for run 0 not found!
– Warning : trying to use default config
– Warning : Failed to expand remote rml components for TRestGas
– Warning : Default config file not found!
Setting default W-value : 21.9
– Error : TRestGas: No gas components added!
– Warning : – Warning : No sucess finding local gas file definition.
– Warning : – Warning : Gas file definition does not exist.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|| TRestGas content ||
|| Config file : null ||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|| Name : Argon-Isobutane 2Pct 10-10E3Vcm ||
|| Title : defaultTitle ||
|| REST Version : 2.2.17 ||
|| REST Commit : c8f0edcb ||
|| REST Library version : 0 ||
----------------------------------------------------------------------------------------------------
|| Status : Configuration loaded ||
|| Gas filename : -E_vs_P_-1.0_-1.0_nodes_-1-nCol_-1-maxE_040.gas ||
|| Pressure : 0.5 atm ||
|| Temperature : -1e+08 K ||
|| Electric Field : 0 V/cm ||
|| W-value : 21.9 eV ||
|| Max. Electron energy : 40 eV ||
|| Field grid nodes : -1 ||
|| Efield range : ( -1 , -1 ) V/cm ||
|| Number of Gases : 0 ||
****************************************************************************************************
The analysis then carries on but with these data for the gas.
Is there something I have to set on the globals part that I’m missing or some path I have to configure?
Thanks in advance,
Cristian.