[12gevmoller_sim] [JeffersonLab/remoll] e02bc9: Store detector names and numbers in the tree so yo...
GitHub
noreply at github.com
Mon Nov 5 19:14:14 EST 2018
Branch: refs/heads/develop
Home: https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_remoll&d=DwICaQ&c=lz9TcOasaINaaC3U7FbMev2lsutwpI4--09aP8Lu18s&r=3B3cpV8BW_CcRY44e0IgDNmqzlTXeeJsbWtRdt_HYCM&m=wXZGBl7XJoapiztVmSySNpucZOKLRW1-6hUB_hEVxHg&s=8tfuGnlaiSpof33BEKOe1AQg79d8UJhBOTBEYHjfdng&e=
Commit: e02bc9ee9ee98c6383c5cd22d509b642d2514dcc
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_remoll_commit_e02bc9ee9ee98c6383c5cd22d509b642d2514dcc&d=DwICaQ&c=lz9TcOasaINaaC3U7FbMev2lsutwpI4--09aP8Lu18s&r=3B3cpV8BW_CcRY44e0IgDNmqzlTXeeJsbWtRdt_HYCM&m=wXZGBl7XJoapiztVmSySNpucZOKLRW1-6hUB_hEVxHg&s=5KcB-8PaFLG1vbPq6n1M-SSyGIkky_II6Yb_fQ5QvLU&e=
Author: Wouter Deconinck <wdconinc at gmail.com>
Date: 2018-11-05 (Mon, 05 Nov 2018)
Changed paths:
M include/remollIO.hh
M src/remollDetectorConstruction.cc
M src/remollIO.cc
Log Message:
-----------
Store detector names and numbers in the tree so you can do things
like:
T->Draw("hit.z","hit.det == pionLuciteDet")
What is used as detector name above is what is given as auxvalue
in the SensDet gdml auxiliary tag. Since there hasn't been any
attempt made at making sure these names are unique, your mileage
may vary on actually using this without further changes to the
geometry. We could easily use the logical volume name (instead of
the SensDet value) which will be unique. Preferences? I may enable
them both and risk collisions here too. Or maybe this will be split
into dets.by-lv and dets.by-sd.
Not the most efficient approach but probably as good as we're going
to do without increased user overhead (friended trees, needing to
load TParameters, not allowing TChains). I think since the branches
are constant they should compress very well.
This is what is done for the units as well.
(accomplished in surprisingly little code)
**NOTE:** This service has been marked for deprecation: https://urldefense.proofpoint.com/v2/url?u=https-3A__developer.github.com_changes_2018-2D04-2D25-2Dgithub-2Dservices-2Ddeprecation_&d=DwICaQ&c=lz9TcOasaINaaC3U7FbMev2lsutwpI4--09aP8Lu18s&r=3B3cpV8BW_CcRY44e0IgDNmqzlTXeeJsbWtRdt_HYCM&m=wXZGBl7XJoapiztVmSySNpucZOKLRW1-6hUB_hEVxHg&s=8sAcYa1CvZiLVsnA3Fm_gB5opU_eEUlVRTf9-iK-rLc&e=
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the 12gevmoller_sim
mailing list