Vector of sensors in geometry can dynamically grow.  Removed all static array sizes and converted arrays to vectors, removed friending of DetectorGeometry