Software for Liquid Argon time projection chambers
list of LArSoft releases
Download instructions for larsoft v08_59_00
Download instructions for just larsoftobj v08_29_02
contains interface to BxDecay0 generator
New Sim Filter using the sim::SimPhotonsLite data product
This request incorporates a new filter into the SimFilters/ directory. It is a module that replicates the functionality of the FilterSimPhotonTime filter except using sim::SimPhotonsLite instead of sim::SimPhotons as a data product.
I elected to write this as a new module (as opposed to porting FilterSimPhotonTime to handle both cases) because the code is minimal and mostly involves parsing the sim::SimPhotonsLite data product. Thus, porting FilterSimPhotonTime to handle both cases would mostly involve something like:
if (hasSimPhotons)
FilterSimPhotons()
else
FilterSimPhotonsLite()
and so I thought it would be cleaner to just write a new module. In addition, FilterSimPhotonTime requires cutting on the energy of the photons, which is not possible using the sim::SimPhotonsLite data product, and so the filter would have to be reorganized to handle both data products.