public Detector extract(Element detectorElement) throws IOException,
EPQException {
Element secondaryElement = detectorElement.getChild("secondary");
boolean secondary = Boolean.getBoolean(secondaryElement.getText());
return new TrajectoryDetector(secondary);
}