summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2011-10-07 12:08:12 -0400
committerStan Seibert <stan@mtrr.org>2011-10-07 12:08:12 -0400
commitb264fdd62fc2e641973774dfef99e36d90f21a27 (patch)
tree95a9ecfa1c6661df5e019494f5921c60b36e2bff /bin
parent8c57794e94f9a9321f76946b33dbff6ab1b4d964 (diff)
downloadchroma-b264fdd62fc2e641973774dfef99e36d90f21a27.tar.gz
chroma-b264fdd62fc2e641973774dfef99e36d90f21a27.tar.bz2
chroma-b264fdd62fc2e641973774dfef99e36d90f21a27.zip
Create a Detector class to hold information about the PMTs in a
geometry, like the mapping from solid IDs to channels, and the time and charge distributions. Detector is a subclass of Geometry, so that a Detector can be used wherever a Geometry is used. Only code (like the DAQ stuff) that needs to know how PMT solids map to channels should look for a Detector object. There is a corresponding GPUDetector class as well, with its own device side struct to hold PMT channel information. The GPU code now can sample an arbitrary time and charge PDF, but on the host side, the only interface exposed right now creates a Gaussian distribution.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions