added detectoracceptance.cxx