-
Notifications
You must be signed in to change notification settings - Fork 61
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
Changes for pandora PFA #419
Draft
giovannimarchiori
wants to merge
14
commits into
key4hep:main
Choose a base branch
from
giovannimarchiori:gmarchio-main-pandora-20250114
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+679
−39
Draft
Changes from all commits
Commits
Show all changes
14 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 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 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
66 changes: 66 additions & 0 deletions
66
FCCee/ALLEGRO/compact/ALLEGRO_o1_v03/MuonTaggerPhiTheta.xml
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,66 @@ | ||
<?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> | ||
</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"/> | ||
<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"/> | ||
<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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../ALLEGRO_o1_v03/MuonTaggerPhiTheta.xml |
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe it's better to remove the "subsystem" filed? since it is not needed for barrel readout