Impl( EventSource& output, const URIHandler& params ) : _output( output ) , _report( params.getConfig().getReportSource( params.getReport( )), brion::MODE_READ, params.getGIDs( )) { const brain::Circuit circuit( params.getConfig( )); const auto morphologies = circuit.loadMorphologies( params.getGIDs(), brain::Circuit::COORDINATES_GLOBAL ); helpers::addCompartmentEvents( morphologies, _report, output ); }
Impl( EventSource& output, const URIHandler& params ) : _output( output ) , _report( params.getConfig().getReportSource( params.getReport( )), brion::MODE_READ, params.getGIDs( )) { const brain::Circuit circuit( params.getConfig( )); const auto morphologies = circuit.loadMorphologies( params.getGIDs(), brain::Circuit::Coordinates::global ); // add soma events only helpers::addCompartmentEvents( morphologies, _report, output, true ); }