-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Labels
Description
Hi,
@headunderheels and I are simulating an electromagnetic calorimeter with dd4hep and a compact detector description. Thanks for the very nice code! We have a small question: is it possible to dump all readout elements somehow?
For example, if we simulate a particle passing through the ecal, we can get a collection of readout elements where the particle deposited energy. But is it possible to get a list of all readout elements, without simulating a particle? It would be useful for us to have this info.
Thanks for your help, we're new to this!
Our ecal, for example: https://github.com/madbaron/detector-simulation/blob/KITP_10TeV/geometries/MuColl_10TeV_v0A/ECalEndcap_o2_v01_02.xml
<lccdd>
<readouts>
<readout name="ECalEndcapCollection">
<segmentation type="CartesianGridXY" grid_size_x="ECal_cell_size" grid_size_y="ECal_cell_size" />
<id>${GlobalCalorimeterReadoutID}</id>
</readout>
</readouts>
<detectors>
<detector name="ECalEndcap" type="GenericCalEndcap_o1_v01" id="DetID_ECal_Endcap" readout="ECalEndcapCollection" vis="ECALVis" >
and so on
Reactions are currently unavailable