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

Adding CMS AMELIE #95

Draft
wants to merge 20 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
e137936
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 4, 2024
13e4ddb
TRestAxionField::AxionAbsorptionProbability arguments updated
jgalan Jun 4, 2024
c5b6d69
TRestAxionHelioscopeSignal::GetSignalRate implementing AMELIE convers…
jgalan Jun 4, 2024
901d878
Merge branch 'jgalan_amelie' of github.com:jgalan/axionlib into jgala…
jgalan Jun 4, 2024
bd9837e
TRestAxionHelioscopeSignal minor updates
jgalan Jun 5, 2024
2131212
TRestAxionHelioscopeSignal::GetSignalRate. Adding amelie conversion
jgalan Jun 7, 2024
78f6e9a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 7, 2024
0087711
TRestAxionHelioscopeSignal adding protection if flux is not specified
jgalan Jun 7, 2024
52aded1
Merge branch 'jgalan_amelie' of github.com:jgalan/axionlib into jgala…
jgalan Jun 7, 2024
12abec9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 7, 2024
99fae41
TRestAxionHelioscopeSignal. Added AssignBufferGas and AssignFlux
jgalan Jun 7, 2024
41dcb10
03.IAXO/IAXO.gp fix
jgalan Jun 7, 2024
27b1d66
Adding 04.AMELIE example
jgalan Jun 7, 2024
c68758a
05.RawSensitivity example added
jgalan Jun 7, 2024
58e0e5f
Merge branch 'jgalan_amelie' of github.com:jgalan/axionlib into jgala…
jgalan Jun 7, 2024
d04e6cf
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 7, 2024
8c79a3e
README minor typo
jgalan Jun 7, 2024
521d9b4
Merge branch 'master' into jgalan_amelie
jgalan Jun 11, 2024
bcafb8a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 11, 2024
43d2aa9
Merge branch 'master' into jgalan_amelie
jgalan Jun 16, 2024
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 examples/03.IAXO/limits/IAXO.gp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ set timestamp font "" textcolor lt -1 norotate
set trange [ * : * ] noreverse nowriteback
set urange [ * : * ] noreverse nowriteback
set vrange [ * : * ] noreverse nowriteback
set xlabel ""
set xlabel "m_a [eV]"
set xlabel font ",16" textcolor lt -1 norotate
set x2label ""
set x2label font "" textcolor lt -1 norotate
Expand Down
75 changes: 75 additions & 0 deletions examples/04.AMELIE/CMS.rml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<BabyIAXO>
<globals>
<constant name="NeFraction" value="1.0" />
<constant name="NeonDensity" value="1.207" />
<constant name="HydrogenDensity" value="0.07085" /> <!-- g/cm3 or tonne/m3 -->
<constant name="DataTakingYears" value="5" />
<constant name="MagnetRadius" value="5.7/2" /> <!-- CMS is 6.3m diameter. We allow for 30cm solid Xenon wall -->
<constant name="MagnetLength" value="12" />
<constant name="MagnetStrength" value="4" />
<constant name="Pi" value="3.1415927" />
</globals>

<TRestSensitivity name="CMS" strategy="nodes" >
<TRestExperiment name="Vacuum" exposureTime="DataTakingYears*365*24hr" useAverage="true">
<!-- Background -->
<TRestComponentFormula name="PandaX4T_ER" nature="background" >
<parameter name="formulaUnits" value="keV^-1" />
<cVariable name="energy" range="(0,10)keV" bins="20" />
<!-- 0.25 tonne-1 day-1 from PandaX-4T ER background (I assume in a 20keV range) -->
<formula name="bck" expression="0.25*MagnetRadius*MagnetRadius*Pi*MagnetLength*HydrogenDensity/24/3600/20" />
</TRestComponentFormula>

<!-- Signal -->
<TRestAxionHelioscopeSignal name="amSignal" nature="signal" parameter="ma"
conversionType="AMELIE" bores="1"
magnetRadius="MagnetRadius*1m" magnetLength="MagnetLength m" magnetStrength="MagnetStrength T"
opticsEfficiency="1" windowEfficiency="1">

<cVariable name="energy" range="(0,10)keV" bins="20" />

<parameter name="firstParameterValue" value="0.1" />
<parameter name="lastParameterValue" value="100" />
<parameter name="stepParameterValue" value="1.005" />
<parameter name="exponential" value="true" />

<TRestAxionSolarQCDFlux name="LennertHoofPrimakoff" couplingType="g_ag" couplingStrength="1.e-10"
fluxDataFile="Primakoff_LennertHoof_202203.dat" seed="137" />

<TRestAxionBufferGas name="NeH" >
<gas name="Ne" density="NeFraction*1.207g/cm^3"/>
<gas name="H" density="(1-NeFraction)*0.07085g/cm^3"/>
</TRestAxionBufferGas>
</TRestAxionHelioscopeSignal>
</TRestExperiment>
</TRestSensitivity>

<TRestAxionHelioscopeSignal name="cmsSignal" nature="signal" parameter="ma"
conversionType="AMELIE" bores="1"
magnetRadius="MagnetRadius*1m" magnetLength="MagnetLength m" magnetStrength="MagnetStrength T"
opticsEfficiency="1" windowEfficiency="1">

<cVariable name="energy" range="(0,10)keV" bins="20" />

<parameter name="firstParameterValue" value="0.001" />
<parameter name="lastParameterValue" value="10" />
<parameter name="stepParameterValue" value="1.02" />
<parameter name="exponential" value="true" />

<TRestAxionSolarQCDFlux name="LennertHoofPrimakoff" couplingType="g_ag" couplingStrength="1.e-10"
fluxDataFile="Primakoff_LennertHoof_202203.dat" seed="137" />

<TRestAxionBufferGas name="NeH" >
<gas name="Ne" density="NeFraction*1.207g/cm^3"/>
<gas name="H" density="(1-NeFraction)*0.07085g/cm^3"/>
</TRestAxionBufferGas>

</TRestAxionHelioscopeSignal>

<TRestAxionBufferGas name="NeH" >
<gas name="Ne" density="NeFraction*NeonDensity g/cm^3"/>
<gas name="H" density="(1-NeFraction)*HydrogenDensity g/cm^3"/>
</TRestAxionBufferGas>

</BabyIAXO>
26 changes: 26 additions & 0 deletions examples/04.AMELIE/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
In this example we reproduce the sensitivity of ....

## Quick recipe to reproduce this example

Edit the value of `NeFraction` inside the `CMS.rml` in order to generate curves with a different fraction of Neon inside a Hydrogen-Neon mixture.

Then for each curve, in a new `restRoot` session we do:
```
[0] TRestSensitivity sens("CMS.rml", "CMS");
[1] sens.GenerateCurve()
[2] sens.ExportCurve("limits/CMSLimit.csv", 0 )
```

### Results

The limits directory contains the sensitivity results obtained with each of the TRestSensitivity definition defined in this example, after applying the corresponding `NeonFraction`. It also contains a `.gp` file to reproduce the plot shown here.

![Limits](limits/HydrogenNeon.png)

The `ZeroBck.csv` can be reproduced using the macros provided in example `05.RawSensitivity`.

### Credit

Consider citing any of the following publications:

- Javier Galan, Johanna von Oy, Kresimir Jakovcic, Francisco Rodríguez Candón, Juan Antonio García, Luis Antonio Obis Aparicio, Sebastian Smith, Konrad Altenmüller, Louis Helary, Tomas O'Shea. (2024). rest-for-physics/axionlib: v2.4 (v2.4). Zenodo. https://doi.org/10.5281/zenodo.11110335
Loading
Loading