Extend magnetic field to full tracker volume - #592
Conversation
|
Hi Andrea,
|
Can you elaborate, @BrieucF ? I'm failing to see the relation to this PR. Are you proposing that GenFit should work with detailed field maps instead of using the simplified field from the XML file?
|
Yes. These are indeed two separated topics, let me explain further what I meant:
Regarding the modification itself, what about modifying its value from DectDimension instead of what is done here? I see two advantages: 1) everything still runs if we remove the calorimeter xml from the master xml 2) with the current modification, the solenoid geometry becomes in-consistent with the magnetic field. If that leads to overlaps, we have to fix them but we should try to keep a "physical" detector where the field is more or less in sync with the solenoid dimension (this is what I meant with "field extent depends on the IDEA design") |
|
Thank you @BrieucF and @s6anloes! According to your comments, I see three possible solutions:
Probably the first option is more conservative, as it does not change the detector dimensions. Am I missing any other solution? |
This is what is done already, no? Maybe you meant the other way around? Mind that this still changes some real geometries (see here). Since this geometry is not the baseline anymore, nothing will be re-optimize here. Given that, I think the easiest is to alter Please run the overlap check for this change, as it does modify geometries. |
|
Yes sorry, I meant the other way around. I will do that and I will also check if there are overlaps. |
|
Just to make sure I understand correctly: why do you think the first solution would also modify the geometry? Wouldn’t it only affect the magnetic field map? I would change only this line: |
mahmoudali2
left a comment
There was a problem hiding this comment.
Hello all,
I would also like to take the opportunity and raise a point regarding the definition of the magnetic field in the endcap region.
Currently, both the calorimeter and the muon system in the endcap are set to 0 T. Until a detailed field map becomes available, I suggest assigning fixed reversed field values in this region as well, to ensure a more realistic configuration.
Please let me know your thoughts.
Here's what I suggest to add:
<field name="CompensatingSolenoidZplus" type="solenoid"
inner_field="-1.7*Tesla"
outer_field="0*Tesla"
zmax="1000*cm"
zmin="Solenoid_Coil_half_length"
outer_radius="1000*cm">
</field>
<field name="CompensatingSolenoidZminus" type="solenoid"
inner_field="-1.7*Tesla"
outer_field="0*Tesla"
zmax="-Solenoid_Coil_half_length"
zmin="-1000*cm"
outer_radius="1000*cm">
</field>
Because the solenoid itself (i.e. the physical cylinder hosting equivalent material budget as per current estimation - probably slightly outdated though) is built using this value see the link in my previous message and it is inside a Steel cassette which may cause overlaps. @mahmoudali2 we can also try to add a more or less realistic field outside of the coil z-extent. But isn't 1.7 way too big (for now we still have 2 T inside the tracking volume)? |
I should have added that changing this just in the field definition ends up in an inconsistent definition between the coil and the field which is not super nice. But yes, you are right that changing it only there won't change any geometry. |
@BrieucF Yes, I agree it should be less, I'll check the new field maps from Samuele and try to put an average value. |
In principle, removing the 20cm space for services would be enough to cover the SiWrapper endcaps. However, I have checked with Samuele, and he said if anything, 20cm is on the low side of volume to account for support/cryostat/auxiliaries. He is expecting more it to be 20–35cm, though this depends on the field strength and moreover, he is only actively investigating Regarding your comment about To me, the most elegant solution would be to use |
Yes, we do need a more realistic description of the field, that is clear. Meanwhile, please proceed with Andreas' suggestion. But I would still propose that we investigate a step by step track extrapolation which fetches the local B-field value. There seem to be tools in Genfit to do that: https://github.com/GenFit/GenFit/blob/6fd68a96ecc61ca11e2635a48611cee2259a8de4/trackReps/include/RKTrackRep.h#L272 |
Done! In the other PR I have also commented the track extrapolation. |
|
Can you confirm that this covers the silicon wrapper? |
I confirm it. I have checked both numerically and with the fitter. |
* Extend magnetic field to full tracker volume * Extend magnetic field in IDEA v4,v3 and o2 * Fix IDEA v3
BEGINRELEASENOTES
Solenoid_Coil_half_lengthto1.2 * Solenoid_Coil_half_lengthENDRELEASENOTES
Hello all!
This pull request extends the magnetic field map currently used in IDEA v3 o1 to cover the full tracker volume. In the current implementation, the magnetic field returns zero in the endcap region of the silicon wrapper.
This modification is necessary to ensure consistent track propagation from the last hit in the tracker to the calorimeter surface. This step is performed by the track fitter, which checks the magnetic field value at the last hit before propagating the track. If the field value is zero or invalid, the propagation is skipped, because it should occur only for tracks outside the tracker, that do not require propagation to the inner calorimeter surface.
Furthermore, the magnetic field value directly affects the estimation of track parameters at the last track state. Ensuring a consistent field in the endcap region therefore improves the reliability of the reconstructed track parameters.
Thank you!
Andrea