Review the data product for LArG4 restructure
Review the data product. SimDriftedElectronCluster.
Note this is phase 2
#1 Updated by Erica Snider almost 2 years ago
Proposed process: First agree on what this data product needs to do, then check that it has the necessary information. For the latter, we might need to talk to the authors. This is less than a day of work. Once we have this information, we can estimate the time required for any changes needed to meet our requirements.
#2 Updated by Hans-Joachim Wenzel almost 2 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
The refactoring splits the old lArG4 into functional blocks. It replaces a monolithic module which does Geant4 simulation, drift of electrons, optical photon lookup and processing of simchannels (photons, wires) with a set of modules and data products. After refactoring there are different modules each of them creating data objects that then can be used in the next processing step.
The increased modularity allows to switch models (e.g. simulation program, electron drift models) and detector configurations (wires vs pads, single vs dual phase etc.). As long as the various modules create the data products modules can easily be interchanged.
e.g in the new scheme the steps for a TPC charged wire read out are:
simulation (the new larg4 module) provides SimEnergyDeposits these are fed into the SimDriftElectrons_module which provides SimDriftedElectronCluster which are input to the simulation of wires, read out pads or serve as starting point to further pass electrons to the gaseous phase in case of a dual phase TPC.
Here the SimDriftedElectronCluster describes an electron cluster that was drifted from the point of creation to a plane. The information stored is the number of electrons, time of production and arrival(after drifting to the plane), position and sigma of transverse and longitudinal shape.
This should be sufficient information to feed into a various modules which take the data product and then
- determine the charge on a wire
- determine the charge on a read out pad
- determine the charge arriving at the border between the liquid and gaseous phase of a dual phase TPC
The SimDriftedElectronCluster data product looks sufficient to serve this purpose but it would be nice to have some additional documentation.