-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from rest-for-physics/jgalan_axion_field
Axion field integration
- Loading branch information
Showing
47 changed files
with
1,139 additions
and
436 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule data
updated
3 files
+58 −58 | optics/XMM.Wolter | |
+58 −58 | optics/XMM.trueWolter | |
+1 −1 | transmission/windows.rml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<TRestManager name="RESTManagerSim" title="Template manager to process a simulation generated by restG4." verboseLevel="info"> | ||
<globals> | ||
<parameter name="verboseLevel" value="essential"/> | ||
<constant name="opticsPosition" value="7000"/> | ||
<constant name="focalPosition" value="7538"/> | ||
<variable name="REST_YAW" value="0"/> | ||
</globals> | ||
<TRestRun name="axionRun" title="BabyIAXO V1.0" verboseLevel="info"> | ||
<parameter name="experimentName" value="BabyIAXO"/> | ||
<parameter name="runType" value="AxionPhotonProbability"/> | ||
<parameter name="runNumber" value="103"/> | ||
<parameter name="runTag" value="FirstTest"/> | ||
<parameter name="runDescription" value=""/> | ||
<parameter name="user" value="${USER}"/> | ||
<parameter name="verboseLevel" value="2"/> | ||
<parameter name="outputFileName" value="AxionPhotonProbabilityWindowOffset.root"/> | ||
<TRestAxionSolarFlux file="fluxes.rml" name="LennertHoofPrimakoff"/> | ||
<TRestAxionMagneticField file="fields.rml" name="babyIAXO"/> | ||
<TRestAxionBufferGas file="bufferGases.rml" name="helium"/> | ||
<TRestAxionWolterOptics file="xmm.rml" name="xmm"/> | ||
<TRestAxionXrayWindow name="magnetBore" material="Vacuum"> | ||
<TRestPatternMask name="mask" maskRadius="35cm" verboseLevel="info"/> | ||
</TRestAxionXrayWindow> | ||
<TRestAxionXrayWindow file="windows.rml" name="cathode"/> | ||
<TRestAxionXrayWindow file="windows.rml" name="strongBack"/> | ||
<TRestAxionXrayWindow file="windows.rml" name="siliconFoil"/> | ||
</TRestRun> | ||
<TRestProcessRunner name="EventProcess" verboseLevel="info"> | ||
<parameter name="eventsToProcess" value="100000"/> | ||
<!-- By default the generator will place the Z-position at 1 A.U. --> | ||
<addProcess type="TRestAxionGeneratorProcess" name="axionGen"> | ||
<parameter name="generatorType" value="solarFlux"/> | ||
<parameter name="targetRadius" value="35cm"/> | ||
<parameter name="seed" value="314"/> | ||
</addProcess> | ||
<addProcess type="TRestAxionAnalysisProcess" name="initial" observables="all"/> | ||
<!-- We do not need to transport the axion. It is just to evaluate the axion at a given Z-position using the analysis process --> | ||
<addProcess type="TRestAxionTransportProcess" zPosition="-10m" name="tom5m"/> | ||
<addProcess type="TRestAxionAnalysisProcess" name="magnetEntrance"> | ||
<observable name="posX"/> | ||
<observable name="posY"/> | ||
<observable name="posZ"/> | ||
<observable name="R"/> | ||
</addProcess> | ||
<addProcess type="TRestAxionFieldPropagationProcess" name="axionPhoton" integrationStep="5cm" center="(0,0,-5)m" bufferGasAdditionalLength="5m" observables="all" verboseLevel="info"/> | ||
<!-- Checking the generator target defined by TRestAxionGeneratorProcess --> | ||
<addProcess type="TRestAxionTransportProcess" zPosition="0" name="origin"/> | ||
<addProcess type="TRestAxionAnalysisProcess" name="magnetExit"> | ||
<observable name="posX"/> | ||
<observable name="posY"/> | ||
<observable name="posZ"/> | ||
<observable name="R"/> | ||
</addProcess> | ||
<addProcess type="TRestAxionTransmissionProcess" name="boreExitGate" center="(0,0,0)m"> | ||
<window name="magnetBore"/> | ||
</addProcess> | ||
<addProcess type="TRestAxionOpticsProcess" name="optics" center="(0,0,opticsPosition)mm"> | ||
<parameter name="yaw" value="${REST_YAW}degrees"/> | ||
<parameter name="opticalAxis" value="false"/> | ||
<observable name="efficiency" value="ON"/> | ||
</addProcess> | ||
<addProcess type="TRestAxionAnalysisProcess" name="afterOptics"> | ||
<observable name="posX"/> | ||
<observable name="posY"/> | ||
<observable name="posZ"/> | ||
<observable name="R"/> | ||
</addProcess> | ||
<addProcess type="TRestAxionTransmissionProcess" name="window" center="(1,1,focalPosition + opticsPosition)mm"> | ||
<window name="cathode"/> | ||
<window name="strongBack"/> | ||
<window name="siliconFoil"/> | ||
</addProcess> | ||
<addProcess type="TRestAxionTransportProcess" zPosition="focalPosition+opticsPosition-500" name="origin"/> | ||
<addProcess type="TRestAxionAnalysisProcess" name="offset"> | ||
<observable name="posX"/> | ||
<observable name="posY"/> | ||
<observable name="posZ"/> | ||
<observable name="R"/> | ||
</addProcess> | ||
<addProcess type="TRestAxionTransportProcess" zPosition="focalPosition+opticsPosition" name="origin"/> | ||
<addProcess type="TRestAxionAnalysisProcess" name="final" observables="all"/> | ||
</TRestProcessRunner> | ||
<addTask command="EventProcess->RunProcess()" value="ON"/> | ||
</TRestManager> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<TRestManager name="SpecPlot" title="Example" verboseLevel="info"> | ||
<TRestRun name="DummyRun"/> | ||
<TRestAnalysisPlot name="restplot" title="Optics Plots" verboseLevel="warning"> | ||
<parameter name="previewPlot" value="false"/> | ||
<canvas size="(4800,4000)" divide="(4,5)" save="axionFieldPlots_[fRunNumber].png"/> | ||
<!--- --> | ||
<plot name="Probability" title="Axion-photon probability" xlabel="Axion-photon probability" ylabel="" value="ON" stats="OFF" option="colz" marginTop="0.1"> | ||
<variable name="axionPhoton_probability" nbins="500" range="(1.e-22,2.e-18)"/> | ||
</plot> | ||
<plot name="FieldAverage" title="Average field" xlabel="Average magnetic field [T]" ylabel="" value="ON" stats="OFF" option="colz" marginTop="0.1"> | ||
<variable name="axionPhoton_fieldAverage" nbins="500" range="(0,2.5)"/> | ||
</plot> | ||
<plot name="Lcoh" title="Coherence length" xlabel="Coherence length [m]" ylabel="" value="ON" stats="OFF" option="colz" marginTop="0.1" logscale="true"> | ||
<variable name="axionPhoton_coherenceLength/1000" nbins="100" range="(0,10.01)"/> | ||
</plot> | ||
<plot name="ProbVsB" title="Axion-photon probability versus average field" xlabel="Average magnetic field [T]" ylabel="Axion-photon probability" value="ON" stats="OFF" option="colz" marginTop="0.1"> | ||
<variable name="axionPhoton_fieldAverage" nbins="500" range="(0,2.5)"/> | ||
<variable name="axionPhoton_probability" nbins="500" range="(1.e-22,2.e-18)"/> | ||
</plot> | ||
<!--- --> | ||
<plot name="ProbVsL" title="Axion-photon probability versus coherence length" xlabel="Coherence length [m]" ylabel="Axion-photon probability" value="ON" stats="OFF" option="colz" marginTop="0.1"> | ||
<variable name="axionPhoton_coherenceLength/1000" nbins="100" range="(0,10.01)"/> | ||
<variable name="axionPhoton_probability" nbins="100" range="(1.e-22,2.e-18)"/> | ||
</plot> | ||
<plot name="BufferGasTransmission" title="Additional buffer gas transmission" xlabel="Energy [keV]" ylabel="Transmission" value="ON" stats="OFF" option="colz" marginTop="0.1"> | ||
<variable name="initial_energy" nbins="100" range="(0,10.01)"/> | ||
<variable name="axionPhoton_transmission" nbins="100" range="(0,1)"/> | ||
</plot> | ||
<plot name="BvsAngle" title="Average field versus theta angle" xlabel="Incident angle [rads]" ylabel="Average magnetic field" value="ON" stats="OFF" option="colz" marginTop="0.1"> | ||
<variable name="initial_thetaAngle" nbins="100" range="(0,0.0035)"/> | ||
<variable name="axionPhoton_fieldAverage" nbins="100" range="(0,2.5)"/> | ||
</plot> | ||
<plot name="InitialVsFinalAngle" title="Incident versus outcoming optics angle" xlabel="Incident angle [rads]" ylabel="Output optics angle [rads]" value="ON" stats="OFF" option="colz" marginTop="0.1"> | ||
<variable name="initial_thetaAngle" nbins="100" range="(0,0.0035)"/> | ||
<variable name="final_thetaAngle" nbins="100" range="(0,0.07)"/> | ||
<cut variable="optics_efficiency" condition=">0" value="ON"/> | ||
</plot> | ||
<plot name="EnergySpectrum" title="Energy Spectrum" xlabel="Energy [keV]" ylabel="Counts per bin" value="ON" stats="OFF" option="colz" marginTop="0.1" legend="ON"> | ||
<histo name="noCuts" lineColor="1"> | ||
<variable name="initial_energy" nbins="500" range="(0,10.0)"/> | ||
<parameter name="lineColor" value="1"/> | ||
</histo> | ||
<histo name="optics" lineColor="2"> | ||
<variable name="initial_energy" nbins="500" range="(0,10.0)"/> | ||
<parameter name="lineColor" value="1"/> | ||
<cut variable="optics_efficiency" condition=">0" value="ON"/> | ||
</histo> | ||
<histo name="opticsWeigth" lineColor="4" weight="optics_efficiency"> | ||
<variable name="initial_energy" nbins="500" range="(0,10.0)"/> | ||
<parameter name="lineColor" value="1"/> | ||
<cut variable="optics_efficiency" condition=">0" value="ON"/> | ||
</histo> | ||
<histo name="opticsAndWindow" lineColor="12" weight="optics_efficiency*window_transmission*boreExitGate_transmission"> | ||
<variable name="initial_energy" nbins="500" range="(0,10.0)"/> | ||
<parameter name="lineColor" value="1"/> | ||
<cut variable="optics_efficiency" condition=">0" value="ON"/> | ||
</histo> | ||
</plot> | ||
<plot name="MagnetEntranceDist" title="Magnet entrance distribution" xlabel="X [mm]" ylabel="Y [mm]" value="ON" stats="OFF" option="colz" marginTop="0.1"> | ||
<variable name="magnetEntrance_posX" nbins="100"/> | ||
<variable name="magnetEntrance_posY" nbins="100"/> | ||
</plot> | ||
<plot name="MagnetExitDist" title="Magnet exit distribution" xlabel="X [mm]" ylabel="Y [mm]" value="ON" stats="OFF" option="colz" marginTop="0.1"> | ||
<variable name="magnetExit_posX" nbins="100"/> | ||
<variable name="magnetExit_posY" nbins="100"/> | ||
<cut variable="boreExitGate_transmission" condition=">0" value="ON"/> | ||
</plot> | ||
<plot name="MagnetEntranceDistOptics" title="Magnet entrance distribution (Optics acceptance)" xlabel="X [mm]" ylabel="Y [mm]" value="ON" stats="OFF" option="colz" marginTop="0.1"> | ||
<variable name="magnetEntrance_posX" nbins="100"/> | ||
<variable name="magnetEntrance_posY" nbins="100"/> | ||
<cut variable="optics_efficiency" condition=">0" value="ON"/> | ||
</plot> | ||
<plot name="SolarDist" title="Solar disk distribution" xlabel="X [m]" ylabel="Y [m]" value="ON" stats="OFF" option="colz" marginTop="0.1"> | ||
<variable name="initial_posX" nbins="100"/> | ||
<variable name="initial_posY" nbins="100"/> | ||
<cut variable="optics_efficiency" condition=">0" value="ON"/> | ||
</plot> | ||
<plot name="OffsetDist" title="Spot at 0.5m focal-offset (only reflected rays)" xlabel="X [mm]" ylabel="Y [mm]" value="ON" stats="OFF" option="colz" marginTop="0.1"> | ||
<variable name="offset_posX" nbins="100"/> | ||
<variable name="offset_posY" nbins="100"/> | ||
<cut variable="optics_efficiency" condition=">0" value="ON"/> | ||
</plot> | ||
<plot name="OffsetDistWindow" title="Spot at 0.5m focal-offset (reflected rays + window transmission)" xlabel="X [mm]" ylabel="Y [mm]" value="ON" stats="OFF" option="colz" marginTop="0.1" weight="window_transmission"> | ||
<variable name="offset_posX" nbins="100"/> | ||
<variable name="offset_posY" nbins="100"/> | ||
<cut variable="optics_efficiency" condition=">0" value="ON"/> | ||
</plot> | ||
<plot name="FocalAllEvents" title="Spot at focal (all events)" xlabel="X [mm]" ylabel="Y [mm]" value="ON" stats="OFF" option="colz" marginTop="0.1"> | ||
<variable name="final_posX" nbins="100"/> | ||
<variable name="final_posY" nbins="100"/> | ||
</plot> | ||
<plot name="FocalOptics" title="Spot at focal (only reflected rays)" xlabel="X [mm]" ylabel="Y [mm]" value="ON" stats="OFF" option="colz" marginTop="0.1"> | ||
<variable name="final_posX" nbins="100"/> | ||
<variable name="final_posY" nbins="100"/> | ||
<cut variable="optics_efficiency" condition=">0" value="ON"/> | ||
</plot> | ||
<plot name="FocalOpticsWindow" title="Spot at focal (only reflected rays. Zoom)" xlabel="X [mm]" ylabel="Y [mm]" value="ON" stats="OFF" option="colz" marginTop="0.1" weight="optics_efficiency"> | ||
<variable name="final_posX" nbins="100" range="(-20,20)"/> | ||
<variable name="final_posY" nbins="100" range="(-20,20)"/> | ||
<cut variable="optics_efficiency" condition="<1" value="ON"/> | ||
</plot> | ||
<plot name="SolarDiskWindow" title="Solar Disk (window_transmission weighted)" xlabel="X [mm]" ylabel="Y [mm]" value="ON" stats="OFF" option="colz" marginTop="0.1" weight="window_transmission"> | ||
<variable name="initial_posX" nbins="100"/> | ||
<variable name="initial_posY" nbins="100"/> | ||
</plot> | ||
<plot name="FocalSpot" title="Spot at focal (all efficiencies)" xlabel="X [mm]" ylabel="Y [mm]" value="ON" stats="OFF" option="colz" marginTop="0.1" weight="optics_efficiency*window_transmission*boreExitGate_transmission*axionPhoton_transmission*axionPhoton_probability"> | ||
<variable name="final_posX" nbins="100"/> | ||
<variable name="final_posY" nbins="100"/> | ||
<cut variable="optics_efficiency" condition=">0" value="ON"/> | ||
</plot> | ||
</TRestAnalysisPlot> | ||
<addTask command="restplot->PlotCombinedCanvas()" value="ON"/> | ||
</TRestManager> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.