What is it you're trying to achieve? If you just want energies of neutrons at a given point you can do that using a UserSteppingAction or UserTrackingAction. If you're looking for something else, such as energy deposition in a Li6 glass from Li6(n,a)T reactions it's a bit different.
If you want to detect neutrons (energy, number etc.) in some volume, you should add multifunctional detector with primitive scorers and appropriate filters in the module 'Geometry' and place it in logical volume of your body. Then derive it through Run and RunAcction. Also you can do it using macros. The best examples are examples/extended/runAndEvent and /examples/extended/hadronic.
There is not a direct defination such as neutron detector or gamma detector. Firstly, you have to know geometry of detector and another features. Once you define the geometric parameters of detector, then you have to define particle type as well as source definition. Once you define the target particle in detector cell, then you will have your neutron detector.