Determining "wall", "floor" and "ceiling" based on a slope angle and direction of normals?

To set up a custom trace channel see collision tab in project settings, then you will find it in the collision settings for your actor, and you can choose this custom channel in your line trace node.