Back to home page

EIC code displayed by LXR

 
 

    


Warning, /snippets/Calorimetery/MatchClustersToTrackProjections/README.md is written in an unsupported language. File is not indexed.

0001 # Match Clusters to Track Projections
0002 
0003 A short(ish) ROOT macro illustrating two points:
0004 
0005   - How to match calorimeter clusters to track projections using
0006     distance in eta-phi; and
0007   - How to use the ROOT-based PODIO Frame Reader.
0008 
0009 Reads in EICrecon output (`*.podio.root`, `*.tree.edm4eic.root`). User options can
0010 be set in the `Options` struct defined before the macro body.
0011 
0012 
0013 ## Dependencies
0014 
0015 Needs `PODIO`, `edm4hep`, and `edm4eic` to be compiled. If you're running
0016 in the eic-shell, then the commands below will run it out of the box.
0017 
0018 
0019 ## Usage
0020 
0021 After setting desired parameters at the top of the macro:
0022 
0023 ```
0024 root -b -q MatchProjectionsAndClusters.cxx++
0025 ```