Skip to content
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

Add detector checksum facility #1028

Merged
merged 22 commits into from
Dec 6, 2022

Conversation

MarkusFrankATcernch
Copy link
Contributor

BEGINRELEASENOTES

  • Add detector checksum facility as plugin: Compare different detector setups
  • Gives identical hash results for TGeo units and G4 units
  • Supports detector dumps with "unified" strings for debugging
Usage: -plugin DD4hepDetectorChecksum -arg [-arg]                             

     -detector <string>     Top level DetElement path. Default: '/world'        
     -readout               also hash the detector's readout properties         
                            (sensitive det, id desc, segmentation)              
                            default: false                                      
                                                                                
   Debugging: Dump individual hash codes (debug>=1)                             
   Debugging: and the hashed string (debug>2)                                   
     -dump_elements         Dump hashes of used elements                        
     -dump_materials        Dump hashes of used materials                       
     -dump_solids           Dump hashes of used solids                          
     -dump_volumes          Dump hashes of used volumes                         
     -dump_placements       Dump hashes of used placements                      
     -dump_detelements      Dump hashes of used detelements                     
     -dump_sensitive        Dump hashes of sensitive detectors                  
     -dump_readout          Dump hashes of readout entities                     
     -dump_iddescriptors    Dump hashes of ID descriptors                       
     -dump_segmentations    Dump hashes of readout segmentations                
                                                                                
   Modify units in the created hash strings (deprecated):                       
     -length_unit  <value>  Unit of length  as literal. default: mm             
     -angle_unit   <value>  Unit of angle   as literal. default: deg            
     -energy_unit  <value>  Unit of energy  as literal. default: GeV            
     -density_unit <value>  Unit of density as literal. default: g/cm3          
     -atomic_unit <value>   Unit of atomic weight as literal. default: g/mole   
                                                                                
     -debug <number>        Enable debug printouts.                             
     -help                  Print this help output

ENDRELEASENOTES

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants