-
Notifications
You must be signed in to change notification settings - Fork 69
Changes for pandora PFA #419
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
Merged
atolosadelgado
merged 26 commits into
key4hep:main
from
giovannimarchiori:gmarchio-main-pandora-20250114
Feb 11, 2025
Merged
Changes from 19 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
9259e7c
add detector type, calodata, muon tagger with phi-theta segmentation …
giovannimarchiori a9c89b8
move to phi-theta grid for muon tagger and use volume compatible with…
giovannimarchiori 7a4153d
add extent info to ecal endcap turbine class
giovannimarchiori 60a2e95
fix typo
giovannimarchiori f7294b1
fix bug with endcap building
giovannimarchiori bc87e12
Merge branch 'key4hep:main' into gmarchio-main-pandora-20250114
giovannimarchiori 922e4ce
introduce separate readouts for muon barrel and endcap
giovannimarchiori e8b4d82
remove commented code
giovannimarchiori 1cef8c7
fix xml
giovannimarchiori a8b9b09
use same muon detector for ALLEGRO v03 and v04
giovannimarchiori 689a685
try to add segmentation to simple cylinder
giovannimarchiori 1b4ef34
Merge branch 'key4hep:main' into gmarchio-main-pandora-20250114
giovannimarchiori 55da3a9
improve simple cylinder code
giovannimarchiori 3aa5b60
add possibility of having layers in simple cylinder volume
giovannimarchiori 2651b42
set inner and outer radiation and interaction lenghts otherwise pando…
giovannimarchiori 8d93453
Merge branch 'key4hep:main' into gmarchio-main-pandora-20250114
giovannimarchiori 0cf332b
indentation and add one comment
giovannimarchiori 2050a2a
modify type of sensitive detector for muon tagger for pandora
giovannimarchiori 8682e71
Merge branch 'key4hep:main' into gmarchio-main-pandora-20250114
giovannimarchiori f68a0d2
implement comments by Alvaro
giovannimarchiori 6300299
fix calculation of radiation and interaction lenghts (missing scale f…
giovannimarchiori b56cc5b
comment the code
giovannimarchiori c6aec39
fix comment
giovannimarchiori 8c5bc80
fix comment
giovannimarchiori 31c0393
merge simple cylinder v02 and v03
giovannimarchiori 58e9f9a
update readme
giovannimarchiori File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
67 changes: 67 additions & 0 deletions
67
FCCee/ALLEGRO/compact/ALLEGRO_o1_v03/MuonTaggerPhiTheta.xml
This file contains hidden or 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,67 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<lccdd xmlns:compact="http://www.lcsim.org/schemas/compact/1.0" | ||
xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/compact/1.0/compact.xsd"> | ||
|
||
<info name="FCCeeMuonTagger" | ||
title="Muon Tagger for ALLEGRO, with phi-theta segmentation" | ||
author="Created by A. Duglishvili from MuonTagger.xml, moving from eta to theta segmentation" | ||
url="no" | ||
status="development" | ||
version="1.0"> | ||
<comment> | ||
Simple muon tagger with phi-theta segmentation - barrel and endcaps | ||
</comment> | ||
</info> | ||
|
||
<define> | ||
<constant name="MuonTaggerBarrelLayers" value="2"/> | ||
<constant name="MuonTaggerEndcapLayers" value="2"/> | ||
</define> | ||
|
||
<display> | ||
<vis name="muon_vis" r="1.0" g="0.1" b="0.1" showDaughters="true" visible="true" /> | ||
</display> | ||
|
||
<readouts> | ||
<readout name="MuonTaggerBarrelPhiTheta"> | ||
<segmentation type="FCCSWGridPhiTheta_k4geo" phi_bins="704" offset_phi="-pi+(pi/704.)" grid_size_theta="0.010013373" offset_theta="0.10884388"/> | ||
<id>system:4,subsystem:1,layer:5,theta:10,phi:10</id> | ||
giovannimarchiori marked this conversation as resolved.
Show resolved
Hide resolved
|
||
</readout> | ||
<readout name="MuonTaggerEndcapPhiTheta"> | ||
<segmentation type="FCCSWGridPhiTheta_k4geo" phi_bins="704" offset_phi="-pi+(pi/704.)" grid_size_theta="0.010013373" offset_theta="0.10884388"/> | ||
giovannimarchiori marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<id>system:4,subsystem:1,layer:5,theta:10,phi:10</id> | ||
</readout> | ||
</readouts> | ||
|
||
<detectors> | ||
<!-- barrel --> | ||
<detector id="DetID_Muon_Barrel" name="MuonTaggerBarrel" type="SimpleCylinder_o1_v03" sensitive="true" vis="muon_vis" readout="MuonTaggerBarrelPhiTheta"> | ||
<!-- added for Pandora --> | ||
<type_flags type="DetType_CALORIMETER + DetType_MUON + DetType_BARREL"/> | ||
<!-- end --> | ||
<!-- sensitive type="SimpleTrackerSD"/ --> | ||
<sensitive type="BirksLawCalorimeterSD"/> | ||
<dimensions rmin="MuonTagger_inner_radius" rmax="MuonTagger_outer_radius" | ||
dz="MuonTagger_half_length" z_offset = "0" material="Polystyrene" phi0="0" deltaphi="360*deg" vis="muon_vis"/> | ||
<layers> | ||
<layer thickness="(MuonTagger_outer_radius - MuonTagger_inner_radius)/MuonTaggerBarrelLayers" repeat="MuonTaggerBarrelLayers"/> | ||
</layers> | ||
</detector> | ||
|
||
<!-- endcaps --> | ||
<detector id="DetID_Muon_Endcap_1" name="MuonTaggerEndcap" type="SimpleCylinder_o1_v03" sensitive="true" vis="muon_vis" readout="MuonTaggerEndcapPhiTheta"> | ||
<!-- added for Pandora --> | ||
<type_flags type="DetType_CALORIMETER + DetType_MUON + DetType_ENDCAP"/> | ||
<!-- end --> | ||
<sensitive type="SimpleTrackerSD"/> | ||
<dimensions rmin="MuonTaggerEndcap_inner_radius" rmax="MuonTaggerEndcap_outer_radius" | ||
dz="(MuonTaggerEndcap_max_z - MuonTaggerEndcap_min_z)*0.5" z_offset = "MuonTaggerEndcap_min_z + (MuonTaggerEndcap_max_z - MuonTaggerEndcap_min_z)*0.5" material="Polystyrene" phi0="0" deltaphi="360*deg" vis="muon_vis"/> | ||
<layers> | ||
<layer thickness="(MuonTaggerEndcap_max_z - MuonTaggerEndcap_min_z)/MuonTaggerEndcapLayers" repeat="MuonTaggerEndcapLayers"/> | ||
</layers> | ||
</detector> | ||
|
||
</detectors> | ||
|
||
</lccdd> |
This file contains hidden or 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 hidden or 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 @@ | ||
../ALLEGRO_o1_v03/MuonTaggerPhiTheta.xml |
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.